Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java48 public static <U> AtomicLongFieldUpdater<U> newUpdater(Class<U> tclass, String fieldName) { in newUpdater() argument
50 return new CASUpdater<U>(tclass, fieldName); in newUpdater()
52 return new LockedUpdater<U>(tclass, fieldName); in newUpdater()
246 CASUpdater(final Class<T> tclass, final String fieldName) { in CASUpdater() argument
251 field = tclass.getDeclaredField(fieldName); // android-changed in CASUpdater()
340 LockedUpdater(final Class<T> tclass, final String fieldName) { in LockedUpdater() argument
345 field = tclass.getDeclaredField(fieldName); // android-changed in LockedUpdater()
DAtomicIntegerFieldUpdater.java51 public static <U> AtomicIntegerFieldUpdater<U> newUpdater(Class<U> tclass, String fieldName) { in newUpdater() argument
52 return new AtomicIntegerFieldUpdaterImpl<U>(tclass, fieldName); in newUpdater()
249 AtomicIntegerFieldUpdaterImpl(final Class<T> tclass, final String fieldName) { in AtomicIntegerFieldUpdaterImpl() argument
254 field = tclass.getDeclaredField(fieldName); // android-changed in AtomicIntegerFieldUpdaterImpl()
DAtomicReferenceFieldUpdater.java69 String fieldName) { in newUpdater() argument
71 (tclass, vclass, fieldName); in newUpdater()
179 final String fieldName) { in AtomicReferenceFieldUpdaterImpl() argument
185 field = tclass.getDeclaredField(fieldName); // android-changed in AtomicReferenceFieldUpdaterImpl()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DFieldTest.java361 String fieldName = null; in testProtectedFieldAccess() local
372 fieldName = "objectField"; in testProtectedFieldAccess()
373 objectField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
375 fieldName = "booleanField"; in testProtectedFieldAccess()
376 booleanField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
378 fieldName = "byteField"; in testProtectedFieldAccess()
379 byteField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
381 fieldName = "charField"; in testProtectedFieldAccess()
382 charField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
384 fieldName = "shortField"; in testProtectedFieldAccess()
[all …]
/libcore/luni/src/main/java/java/text/
DFormat.java246 protected Field(String fieldName) { in Field() argument
247 super(fieldName); in Field()
DDateFormat.java803 protected Field(String fieldName, int calendarField) { in Field() argument
804 super(fieldName); in Field()
DNumberFormat.java833 protected Field(String fieldName) {
834 super(fieldName);
DMessageFormat.java1300 protected Field(String fieldName) { in Field() argument
1301 super(fieldName); in Field()
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp323 static void setIntegerField(JNIEnv* env, jobject obj, const char* fieldName, int value) { in setIntegerField() argument
325 jfieldID fid = env->GetFieldID(JniConstants::localeDataClass, fieldName, "Ljava/lang/Integer;"); in setIntegerField()
329 static void setStringField(JNIEnv* env, jobject obj, const char* fieldName, jstring value) { in setStringField() argument
330 jfieldID fid = env->GetFieldID(JniConstants::localeDataClass, fieldName, "Ljava/lang/String;"); in setStringField()
335 static void setStringArrayField(JNIEnv* env, jobject obj, const char* fieldName, jobjectArray value… in setStringArrayField() argument
336 jfieldID fid = env->GetFieldID(JniConstants::localeDataClass, fieldName, "[Ljava/lang/String;"); in setStringArrayField()
340 static void setStringArrayField(JNIEnv* env, jobject obj, const char* fieldName, const icu::Unicode… in setStringArrayField() argument
352 setStringArrayField(env, obj, fieldName, result.get()); in setStringArrayField()
355 static void setStringField(JNIEnv* env, jobject obj, const char* fieldName, UResourceBundle* bundle… in setStringField() argument
360 setStringField(env, obj, fieldName, env->NewString(chars, charCount)); in setStringField()
[all …]
Dandroid_system_OsConstants.cpp57 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() argument
58 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); in initConstant()
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicReferenceFieldUpdaterTest.java32 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument
34 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
DAtomicLongFieldUpdaterTest.java31 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument
33 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
DAtomicIntegerFieldUpdaterTest.java30 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument
32 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
/libcore/luni/src/main/java/java/io/
DEmulatedFields.java144 private ObjectSlot findSlot(String fieldName, Class<?> fieldType) { in findSlot() argument
148 if (slot.field.getName().equals(fieldName)) { in findSlot()
171 if (field.getName().equals(fieldName)) { in findSlot()
DObjectInputStream.java894 String fieldName = input.readUTF(); in readFieldDescriptors() local
916 ObjectStreamField f = new ObjectStreamField(classSig, fieldName); in readFieldDescriptors()
1119 String fieldName = fieldDesc.getName(); in readFieldValues() local
1120 ObjectStreamField localFieldDesc = classDesc.getField(fieldName); in readFieldValues()
1124 …throw new ClassCastException(classDesc.getName() + "." + fieldName + " - " + fieldType + " not com… in readFieldValues()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java57 protected MyField(String fieldName, int calendarField) { in MyField() argument
58 super(fieldName, calendarField); in MyField()
/libcore/luni/src/main/java/javax/crypto/
DSealedObject.java73 private static byte[] getSafeCopy(ObjectInputStream.GetField fields, String fieldName) in getSafeCopy() argument
75 byte[] fieldValue = (byte[]) fields.get(fieldName, null); in getSafeCopy()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java682 String fieldName = dex.strings().get(fieldId.getNameIndex()); in decodeValue() local
685 field = type.getDeclaredField(fieldName); in decodeValue()