/libcore/ojluni/src/main/java/java/text/ |
CharacterIteratorFieldDelegate.java | 56 public void formatted(Format.Field attr, Object value, int start, int end, 95 public void formatted(int fieldID, Format.Field attr, Object value,
|
SimpleDateFormat.java | 415 // - 1 for version from JDK 1.1.4, which includes a new field 1086 int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; local 1819 int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
Field.java | 30 * This class provides description of class field. 33 public final class Field { 50 public Field() { 59 * Constructor initializing all members of the Field instance. 62 * field id 66 * field name 68 * signature signature of the field class 70 * field modifiers 72 public Field(long id, long classID, String name, String signature, 85 * signature of the field clas 292 Field field = (Field) obj; local [all...] |
/external/jcommander/src/main/java/com/beust/jcommander/ |
Parameterized.java | 6 import java.lang.reflect.Field; 14 * Encapsulate a field or a method annotated with @Parameter or @DynamicParameter 18 // Either a method or a field 19 private Field m_field; 28 Field field, Method method) { 31 m_field = field; 43 for (Field f : cls.getDeclaredFields()) { 120 // Try to find a field 125 Field field = m_method.getDeclaringClass().getDeclaredField(fieldName) local [all...] |
/libcore/ojluni/src/main/java/java/lang/reflect/ |
Method.java | 331 sb.append(Field.getTypeName(getReturnType())).append(' '); 332 sb.append(Field.getTypeName(getDeclaringClass())).append('.'); 336 sb.append(Field.getTypeName(params[j])); 418 Field.getTypeName((Class<?>)genRetType):genRetType.toString())) 421 sb.append(Field.getTypeName(getDeclaringClass())).append('.'); 426 Field.getTypeName((Class)params[j]):
|
Field.java | 39 * A {@code Field} provides information about, and dynamic access to, a 40 * single field of a class or an interface. The reflected field may 41 * be a class (static) field or an instance field. 43 * <p>A {@code Field} permits widening conversions to occur during a get or 58 class Field extends AccessibleObject implements Member { 66 private Field() { 71 * that declares the field represented by this {@code Field} object [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
ClassPool.java | 62 TypeListPool.Key<? extends Collection<? extends CharSequence>>, PoolClassDef, Field, PoolMethod, 101 for (Field field: poolClassDef.getFields()) { 102 String fieldDescriptor = ReferenceUtil.getShortFieldDescriptor(field); 104 throw new ExceptionWithContext("Multiple definitions for field %s->%s", 107 fieldPool.intern(field); 109 EncodedValue initialValue = field.getInitialValue(); 114 annotationSetPool.intern(field.getAnnotations()); 154 case ReferenceType.FIELD: 261 private static final Predicate<Field> HAS_INITIALIZER = new Predicate<Field>() [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 29 import java.lang.reflect.Field; 388 Field field; local 389 field = CLASS_BUILDER.getDeclaredField("mSelectionArgsBackReferences"); 390 field.setAccessible(true); 391 field.set(builder, selArgsBackRef); 397 Field field; local 398 field = CLASS_BUILDER.getDeclaredField("mValuesBackReferences"); 399 field.setAccessible(true) 406 Field field; local 415 Field field; local 424 Field field; local 433 Field field; local 441 final Field field = CLASS_OPERATION.getDeclaredField("mType"); local 448 final Field field = CLASS_OPERATION.getDeclaredField("mUri"); local 455 final Field field = CLASS_OPERATION.getDeclaredField("mSelection"); local 462 final Field field = CLASS_OPERATION.getDeclaredField("mSelectionArgs"); local 469 final Field field = CLASS_OPERATION.getDeclaredField("mValues"); local 476 final Field field = CLASS_OPERATION.getDeclaredField("mExpectedCount"); local 483 final Field field = CLASS_OPERATION.getDeclaredField("mValuesBackReferences"); local 491 final Field field = CLASS_OPERATION.getDeclaredField("mSelectionArgsBackReferences"); local [all...] |
/external/smali/smali/src/test/java/ |
ImplicitReferenceTest.java | 39 import org.jf.dexlib2.iface.Field; 58 * Tests for method/field references that use an implicit type 114 ".field public static field1:Ljava/lang/reflect/Method; = toString()V\n" + 115 ".field public static field2:Ljava/lang/reflect/Method; = V()V\n" + 116 ".field public static field3:Ljava/lang/reflect/Method; = I()V\n" + 117 ".field public static field4:Ljava/lang/Class; = I"); 119 Map<String, Field> fields = Maps.newHashMap(); 120 for (Field field: classDef.getFields()) { 121 fields.put(field.getName(), field) local 124 Field field = fields.get("field1"); local 185 FieldReference field = (FieldReference)instruction.getReference(); local 215 fields.put(field.getName(), field); local 218 Field field = fields.get("field1"); local [all...] |
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliPositionManagerTest.java | 191 @Override public List<Field> allFields() { return null; } 205 @Override public List<Field> fields() { return null; } 206 @Override public List<Field> visibleFields() { return null; } 207 @Override public Field fieldByName(String s) { return null; } 214 @Override public Value getValue(Field field) { return null; } 215 @Override public Map<Field, Value> getValues(List<? extends Field> list) { return null; }
|
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | 61 void AppendField(const FieldDecl *Field, uint64_t FieldOffset, 66 void AppendBitField(const FieldDecl *Field, uint64_t FieldOffset, 95 AppendField(const FieldDecl *Field, uint64_t FieldOffset, 108 && "Field offset mismatch!"); 112 // Round up the field offset to the alignment of the field type. 144 // Add the field. 156 void ConstStructBuilder::AppendBitField(const FieldDecl *Field, 171 uint64_t FieldSize = Field->getBitWidthValue(Context); 182 // Truncate the size of FieldValue to the bit field size [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ClassProto.java | 44 import org.jf.dexlib2.iface.Field; 119 * If any interface couldn't be resolved, then the interfacesFullyResolved field will be set to false upon return. 387 //arrange fields, so that we end up with the same field offsets (which is needed for deodexing). 390 ArrayList<Field> fields = getSortedInstanceFields(getClassDef()); 392 //the "type" for each field in fields. 0=reference,1=wide,2=other 399 //non-reference field, then find the last reference field, swap them and repeat 436 //8-byte aligned. If we're on an odd field index, we need to insert a 32-bit field. If the next field [all...] |
/art/test/004-UnsafeTest/src/ |
Main.java | 17 import java.lang.reflect.Field; 44 Field f = unsafeClass.getDeclaredField("theUnsafe"); 89 Field intField = TestClass.class.getDeclaredField("intVar"); 97 Field longField = TestClass.class.getDeclaredField("longVar"); 105 Field objectField = TestClass.class.getDeclaredField("objectVar");
|
/art/test/004-checker-UnsafeTest18/src/ |
Main.java | 17 import java.lang.reflect.Field; 167 Field intField = Main.class.getDeclaredField("i"); 168 Field longField = Main.class.getDeclaredField("l"); 169 Field objField = Main.class.getDeclaredField("o"); 346 Field f = unsafeClass.getDeclaredField("theUnsafe");
|
/external/guava/guava-tests/test/com/google/common/base/ |
FinalizableReferenceQueueClassLoaderUnloadingTest.java | 26 import java.lang.reflect.Field; 99 // our test by setting a static field. We are changing the field in the parallel version of FRQ 103 Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled"); 193 // If you have a FinalizableReferenceQueue that is a static field of one of the classes of your 202 // gc'd even if there is a still a FinalizableReferenceQueue in a static field. (Setting the field 215 Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled"); 229 Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized"); 234 Field sepFrqUserFrqF = sepFrqUserC.getField("frq") [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 20 import java.lang.reflect.Field; 71 assertEquals(aClass, aListClass.getDeclaredField("field").getType()); 101 Field bString = fClass.getDeclaredField("bString"); 103 Field listA = fClass.getDeclaredField("listA"); 144 Field f1 = B.class.getDeclaredField("field"); 145 Field f2 = bClass.getDeclaredField("field"); 151 T field; field in class:ClassLoaderReflectionTest.B 169 A field; field in class:ClassLoaderReflectionTest.AList [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatTest.java | 40 import android.icu.text.ChineseDateFormat.Field; 304 * So it need to add the timezone offset on hour field. 338 * Verify that returned field position indices are correct. 374 // Expected output field values for above DateFormats on aug13 375 // Fields are given in order of DateFormat field number 400 final DateFormat.Field[] DTFMT_FIELDS = { 401 DateFormat.Field.AM_PM, 402 DateFormat.Field.DAY_OF_MONTH, 403 DateFormat.Field.DAY_OF_WEEK, 404 DateFormat.Field.DAY_OF_WEEK_IN_MONTH 472 String field; local 3501 DateFormat.Field field = DateFormat.Field.ofCalendarField(calField); local 4015 String field = DATA[i][0]; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatTest.java | 39 import com.ibm.icu.text.ChineseDateFormat.Field; 300 * So it need to add the timezone offset on hour field. 334 * Verify that returned field position indices are correct. 370 // Expected output field values for above DateFormats on aug13 371 // Fields are given in order of DateFormat field number 396 final DateFormat.Field[] DTFMT_FIELDS = { 397 DateFormat.Field.AM_PM, 398 DateFormat.Field.DAY_OF_MONTH, 399 DateFormat.Field.DAY_OF_WEEK, 400 DateFormat.Field.DAY_OF_WEEK_IN_MONTH 468 String field; local 3497 DateFormat.Field field = DateFormat.Field.ofCalendarField(calField); local 4011 String field = DATA[i][0]; local [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
CreateAndManageUserTest.java | 35 import java.lang.reflect.Field; 204 Field field = DevicePolicyManager.class.getField("MAKE_USER_EPHEMERAL"); local 205 int makeEphemeralFlag = field.getInt(null); 226 Field field = DevicePolicyManager.class.getField("MAKE_USER_EPHEMERAL"); local 227 int makeEphemeralFlag = field.getInt(null);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlClientCompat.java | 24 import java.lang.reflect.Field; 56 for (Field field : RemoteControlClientCompat.class.getFields()) { 58 Field realField = sRemoteControlClientClass.getField(field.getName()); 60 field.set(null, realValue); 62 Log.w(TAG, "Could not get real field: " + field.getName()); 64 Log.w(TAG, "Error trying to pull field value for: " + field.getName( [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
SparseFieldMatrix.java | 19 import org.apache.commons.math.Field; 26 * @param <T> the type of the field elements 49 * @param field field to which the elements belong 51 public SparseFieldMatrix(final Field<T> field) { 52 super(field); 55 entries = new OpenIntToFieldHashMap<T>(field); 61 * @param field field to which the elements belon [all...] |
/external/junit/src/org/junit/experimental/theories/internal/ |
AllMembersSupplier.java | 7 import java.lang.reflect.Field; 96 for (final Field field : fClass.getJavaClass().getFields()) { 97 if (Modifier.isStatic(field.getModifiers())) { 98 Class<?> type= field.getType(); 100 && field.getAnnotation(DataPoints.class) != null) { 101 addArrayValues(field.getName(), list, getStaticFieldValue(field)); 103 && field.getAnnotation(DataPoint.class) != null) { 105 .forValue(field.getName(), getStaticFieldValue(field))) [all...] |
/external/nist-sip/java/gov/nist/core/ |
GenericObject.java | 94 * field of a sip message, set the match expression in the match template 227 Field[] fields = myclass.getDeclaredFields(); 229 Field f = fields[i]; 283 continue; // we are accessing a private field... 416 Field[] fields = myclass.getDeclaredFields(); 417 Field[] hisfields = hisclass.getDeclaredFields(); 419 Field f = fields[i]; 420 Field g = hisfields[i]; 489 * Null in any field matches anything. Some book-keeping fields 500 Field[] fields = myclass.getDeclaredFields() [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AllElementValueVisitor.java | 85 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Field field, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) 88 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, field, this); 106 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Field field, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) 109 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, field, this); 142 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation)
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatPopupWindow.java | 35 import java.lang.reflect.Field; 118 final Field fieldAnchor = PopupWindow.class.getDeclaredField("mAnchor"); 121 final Field fieldListener = PopupWindow.class
|