Home
last modified time | relevance | path

Searched refs:fieldId (Results 1 – 13 of 13) sorted by relevance

/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId);
225 int getStaticFieldValue<int> (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() argument
227 DE_ASSERT(cls && fieldId); in getStaticFieldValue()
228 return env->GetStaticIntField(cls, fieldId); in getStaticFieldValue()
232 string getStaticFieldValue<string> (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() argument
234 const jstring jniStr = (jstring)env->GetStaticObjectField(cls, fieldId); in getStaticFieldValue()
243 vector<string> getStaticFieldValue<vector<string> > (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() argument
245 const jobjectArray array = (jobjectArray)env->GetStaticObjectField(cls, fieldId); in getStaticFieldValue()
272 const jfieldID fieldId = env->GetStaticFieldID(cls, fieldName, getJNITypeStr<FieldType>()); in getStaticField() local
276 if (fieldId) in getStaticField()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.cpp342 ENumberFormatTestTupleField fieldId, in setField() argument
348 if (fieldId == kNumberFormatTestTupleFieldCount) { in setField()
352 gFieldData[fieldId].ops->toValue( in setField()
353 fieldValue, getMutableFieldAddress(fieldId), status); in setField()
357 setFlag(fieldId, TRUE); in setField()
363 ENumberFormatTestTupleField fieldId, in clearField() argument
368 if (fieldId == kNumberFormatTestTupleFieldCount) { in clearField()
372 setFlag(fieldId, FALSE); in clearField()
427 NumberFormatTestTuple::getFieldAddress(int32_t fieldId) const { in getFieldAddress()
428 return reinterpret_cast<const char *>(this) + gFieldData[fieldId].offset; in getFieldAddress()
[all …]
Dnumberformattesttuple.h228 const void *getFieldAddress(int32_t fieldId) const;
229 void *getMutableFieldAddress(int32_t fieldId);
230 void setFlag(int32_t fieldId, UBool value);
231 UBool isFlag(int32_t fieldId) const;
/external/autotest/frontend/client/src/autotest/moblab/wizard/
DFlexWizardCard.java42 protected Widget createValueFieldWidget(String fieldId, String value) { in createValueFieldWidget() argument
43 return createStringValueFieldWidget(fieldId, value, false); in createValueFieldWidget()
46 protected Widget createStringValueFieldWidget(String fieldId, String value, in createStringValueFieldWidget() argument
51 fieldMap.put(fieldId, textBox); in createStringValueFieldWidget()
85 protected TextBox getValueFieldEditor(String fieldId) { in getValueFieldEditor() argument
86 return fieldMap.get(fieldId); in getValueFieldEditor()
DWifiCard.java71 protected String getStringValueFieldValue(String fieldId) { in getStringValueFieldValue() argument
72 TextBox textBox = getValueFieldEditor(fieldId); in getStringValueFieldValue()
DCloudStorageCard.java179 protected String getStringValueFieldValue(String fieldId) { in getStringValueFieldValue() argument
180 TextBox textBox = getValueFieldEditor(fieldId); in getStringValueFieldValue()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DConfigurator.java164 …protected static Method getSetter(Class clazz, final String fieldId) throws NoSuchMethodException { in getSetter() argument
167 String methodName = "set" + fieldId; in getSetter()
178 …protected static Method getGetter(Class clazz, final String fieldId) throws NoSuchMethodException { in getGetter() argument
179 Log.d(TAG, "Attempting to find getter for " + fieldId + " in class " + clazz.getName()); in getGetter()
180 String firstLetter = fieldId.substring(0, 1); in getGetter()
181 … String methodName = "get" + firstLetter.toUpperCase() + fieldId.substring(1, fieldId.length()); in getGetter()
310 String fieldId = idx > 0 ? key.substring(idx + 1, key.length()) : key; in configure() local
312 Method m = getSetter(o.getClass(), fieldId); in configure()
332 fieldId + "\"."); in configure()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java301 public void declare(FieldId<?, ?> fieldId, int flags, Object staticValue) { in declare() argument
302 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType); in declare()
303 if (typeDeclaration.fields.containsKey(fieldId)) { in declare()
304 throw new IllegalStateException("already declared: " + fieldId); in declare()
319 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue); in declare()
320 typeDeclaration.fields.put(fieldId, fieldDeclaration); in declare()
606 final FieldId<?, ?> fieldId; field in DexMaker.FieldDeclaration
610 FieldDeclaration(FieldId<?, ?> fieldId, int accessFlags, Object staticValue) { in FieldDeclaration() argument
614 this.fieldId = fieldId; in FieldDeclaration()
620 return new EncodedField(fieldId.constant, accessFlags); in toEncodedField()
DCode.java590 public <D, V> void iget(FieldId<D, ? extends V> fieldId, Local<V> target, Local<D> instance) { in iget() argument
592 RegisterSpecList.make(instance.spec()), catches, fieldId.constant)); in iget()
600 …public <D, V> void iput(FieldId<D, V> fieldId, Local<? extends D> instance, Local<? extends V> sou… in iput() argument
602 RegisterSpecList.make(source.spec(), instance.spec()), catches, fieldId.constant)); in iput()
608 public <V> void sget(FieldId<?, ? extends V> fieldId, Local<V> target) { in sget() argument
610 RegisterSpecList.EMPTY, catches, fieldId.constant)); in sget()
617 public <V> void sput(FieldId<?, V> fieldId, Local<? extends V> source) { in sput() argument
619 RegisterSpecList.make(source.spec()), catches, fieldId.constant)); in sput()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DFieldWithLocationTest.java39 private long fieldId = -1; field in FieldWithLocationTest
84 if (fieldId == -1) { in createEventBuilder()
85 fieldId = debuggeeWrapper.vmMirror.getFieldID(debuggeeClassId, FIELD_NAME); in createEventBuilder()
87 builder.setFieldOnly(debuggeeClassId, fieldId); in createEventBuilder()
DClassPrepare002Test.java74 long fieldId = checkField(classIDOfA, "field"); in testClassPrepareCausedByDebugger() local
80 getValuesCommand.setNextValueAsFieldID(fieldId); in testClassPrepareCausedByDebugger()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceStringTest.java302 long fieldId = checkField(classId, fieldName); in getStaticFieldValue() local
303 return debuggeeWrapper.vmMirror.getReferenceTypeValue(classId, fieldId); in getStaticFieldValue()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java467 FieldId<G, Integer> fieldId = generated.getField(TypeId.INT, "a"); in testDeclareConstructor() local
468 dexMaker.declare(fieldId, PUBLIC | FINAL, null); in testDeclareConstructor()
474 code.iput(fieldId, thisRef, parameter); in testDeclareConstructor()
1086 FieldId<Instance, V> fieldId = objectType.getField(valueType, fieldName); in instanceSwapMethod() local
1092 code.iget(fieldId, localOldValue, localInstance); in instanceSwapMethod()
1093 code.iput(fieldId, localInstance, localNewValue); in instanceSwapMethod()
1170 FieldId<Static, V> fieldId = objectType.getField(valueType, fieldName); in staticSwapMethod() local
1175 code.sget(fieldId, localOldValue); in staticSwapMethod()
1176 code.sput(fieldId, localNewValue); in staticSwapMethod()
1224 FieldId<?, T> fieldId; field in DexMakerTest.StaticFieldSpec
[all …]