/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | FieldTest.java | 87 Class<?> c, String fieldName, Class<? extends Annotation> annotationType, in checkDeclaredAnnotation() argument 89 Field field = c.getDeclaredField(fieldName); in checkDeclaredAnnotation() 123 Class<?> c, Class<? extends Annotation> annotationType, String fieldName, in assertGetDeclaredAnnotationsByType() argument 125 Field field = c.getDeclaredField(fieldName); in assertGetDeclaredAnnotationsByType() 156 String fieldName, String... expectedAnnotationStrings) throws Exception { in assertGetAnnotationsByType() argument 157 Field field = c.getDeclaredField(fieldName); in assertGetAnnotationsByType()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | FieldTest.java | 361 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/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongFieldUpdater.java | 85 String fieldName) { in newUpdater() argument 88 return new CASUpdater<U>(tclass, fieldName, caller); in newUpdater() 90 return new LockedUpdater<U>(tclass, fieldName, caller); in newUpdater() 379 CASUpdater(final Class<T> tclass, final String fieldName, in CASUpdater() argument 393 field = tclass.getDeclaredField(fieldName); in CASUpdater() 520 LockedUpdater(final Class<T> tclass, final String fieldName, in LockedUpdater() argument 534 field = tclass.getDeclaredField(fieldName); in LockedUpdater()
|
D | AtomicReferenceFieldUpdater.java | 107 String fieldName) { in newUpdater() argument 109 (tclass, vclass, fieldName, Reflection.getCallerClass()); in newUpdater() 313 final String fieldName, in AtomicReferenceFieldUpdaterImpl() argument 328 field = tclass.getDeclaredField(fieldName); in AtomicReferenceFieldUpdaterImpl()
|
D | AtomicIntegerFieldUpdater.java | 85 String fieldName) { in newUpdater() argument 87 (tclass, fieldName, Reflection.getCallerClass()); in newUpdater() 381 final String fieldName, in AtomicIntegerFieldUpdaterImpl() argument 395 field = tclass.getDeclaredField(fieldName); in AtomicIntegerFieldUpdaterImpl()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | CpuFeatures.java | 148 private static boolean cpuFieldContainsAes(String fieldName) { in cpuFieldContainsAes() argument 150 String regex = "^" + fieldName + "\\s*:.*\\baes\\b.*"; in cpuFieldContainsAes()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DataFormatFieldTest.java | 57 protected MyField(String fieldName, int calendarField) { in MyField() argument 58 super(fieldName, calendarField); in MyField()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicReferenceFieldUpdaterTest.java | 85 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument 87 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
|
D | AtomicLongFieldUpdaterTest.java | 83 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 85 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
|
D | AtomicIntegerFieldUpdaterTest.java | 83 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 85 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AtomicReferenceFieldUpdaterTest.java | 108 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument 110 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
|
D | AtomicLongFieldUpdaterTest.java | 106 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 108 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
|
D | AtomicIntegerFieldUpdaterTest.java | 106 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 108 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 254 private static Field getUrlField(String fieldName) throws Exception { in getUrlField() argument 255 Field result = URL.class.getDeclaredField(fieldName); in getUrlField()
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 61 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() argument 62 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); in initConstant()
|