/dalvik/tests/035-enum/src/ |
H A D | Main.java | 12 Field field; 14 field = Shubbery.class.getDeclaredField("CRAWLING"); 19 System.out.println("found field " + field.getName()); 20 System.out.println(" synthetic? " + field.isSynthetic()); 21 System.out.println(" enum? " + field.isEnumConstant());
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | FieldAnnotationStruct.java | 26 * Association of a field and its annotations. 30 /** {@code non-null;} the field in question */ 31 private final CstFieldRef field; field in class:FieldAnnotationStruct 39 * @param field {@code non-null;} the field in question 42 public FieldAnnotationStruct(CstFieldRef field, argument 44 if (field == null) { 45 throw new NullPointerException("field == null"); 52 this.field = field; [all...] |
H A D | EncodedField.java | 29 * Representation of a field of a class, of any sort. 33 /** {@code non-null;} constant for the field */ 34 private final CstFieldRef field; field in class:EncodedField 39 * @param field {@code non-null;} constant for the field 42 public EncodedField(CstFieldRef field, int accessFlags) { argument 45 if (field == null) { 46 throw new NullPointerException("field == null"); 54 this.field = field; [all...] |
H A D | FieldIdItem.java | 22 * Representation of a field reference inside a Dalvik file. 28 * @param field {@code non-null;} the constant for the field 30 public FieldIdItem(CstFieldRef field) { argument 31 super(field); 50 * Gets the field constant.
|
H A D | FieldIdsSection.java | 32 * {@code non-null;} map from field constants to {@link 95 * @param field {@code non-null;} the reference to intern 98 public FieldIdItem intern(CstFieldRef field) { argument 99 if (field == null) { 100 throw new NullPointerException("field == null"); 105 FieldIdItem result = fieldIds.get(field); 108 result = new FieldIdItem(field); 109 fieldIds.put(field, result);
|
H A D | ClassDataItem.java | 118 * Adds a static field. 120 * @param field {@code non-null;} the field to add 121 * @param value {@code null-ok;} initial value for the field, if any 123 public void addStaticField(EncodedField field, Constant value) { argument 124 if (field == null) { 125 throw new NullPointerException("field == null"); 133 staticFields.add(field); 134 staticValues.put(field, value); 138 * Adds an instance field 142 addInstanceField(EncodedField field) argument [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
H A D | RuleBasedNumberFormat.java | 142 public StringBuffer format(long value, StringBuffer buffer, FieldPosition field) { argument 150 if(field != null) { 151 fieldType = getFieldType(field.getFieldAttribute()); 154 String result = formatRBNFImpl(this.addr, value, field, 163 FieldPosition field, String fieldType, StringBuffer buffer); 166 public StringBuffer format(double value, StringBuffer buffer, FieldPosition field) { argument 174 if(field != null) { 175 fieldType = getFieldType(field.getFieldAttribute()); 178 String result = formatRBNFImpl(this.addr, value, field, 187 FieldPosition field, Strin 162 formatRBNFImpl(int addr, long value, FieldPosition field, String fieldType, StringBuffer buffer) argument 186 formatRBNFImpl(int addr, double value, FieldPosition field, String fieldType, StringBuffer buffer) argument 219 getFieldType(Format.Field field) argument [all...] |
/dalvik/tests/046-reflect/src/ |
H A D | Main.java | 30 void printFieldInfo(Field field) { argument 31 System.out.println("Field name is " + field.getName()); 33 + field.getDeclaringClass().getName()); 34 System.out.println(" Field type is " + field.getType().getName()); 36 + Integer.toHexString(field.getModifiers())); 44 Field field = null; 46 field = target.getField("string1"); 47 one = (String) field.get(instance); 49 field = target.getField("string2"); 50 two = (String) field [all...] |
/dalvik/libcore/security/src/main/java/java/security/spec/ |
H A D | EllipticCurve.java | 30 // Underlying finite field 31 private final ECField field; field in class:EllipticCurve 47 * Creates a new {@code EllipticCurve} with the specified field, 50 * @param field 51 * the finite field of this elliptic curve. 59 * if the specified coefficients are not in the specified field. 61 public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) { argument 62 this.field = field; 63 if (this.field 116 EllipticCurve(ECField field, BigInteger a, BigInteger b) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
H A D | StdFieldList.java | 41 * Sets the field at the given index. 43 * @param n {@code >= 0, < size();} which field 44 * @param field {@code null-ok;} the field object 46 public void set(int n, Field field) { argument 47 set0(n, field);
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Calendar.java | 52 * A {@code Calendar} object can produce all the time field values needed 59 * and {@code YEAR}. See individual field documentation and subclass 64 * range of field values than it produces. For example, a lenient 68 * out-of-range field settings. When calendars recompute field values for return 103 * Gregorian calendar, the default for a field is the same as that of the start 111 * most recently set single field, will be used. 161 * <strong>{@code set(f, value)}</strong> changes field {@code f} 163 * indicate that field {@code f} has been changed. Although field 709 add(int field, int value) argument 767 clear(int field) argument 868 get(int field) argument 880 getActualMaximum(int field) argument 905 getActualMinimum(int field) argument 950 getGreatestMinimum(int field) argument 1013 getLeastMaximum(int field) argument 1023 getMaximum(int field) argument 1042 getMinimum(int field) argument 1104 internalGet(int field) argument 1125 isSet(int field) argument 1140 roll(int field, int value) argument 1159 roll(int field, boolean increment) argument 1169 set(int field, int value) argument [all...] |
H A D | GregorianCalendar.java | 64 * Values calculated for the {@code WEEK_OF_YEAR} field range from 1 to 84 * Values calculated for the {@code WEEK_OF_MONTH} field range from 0 or 349 * Adds the specified amount to a {@code Calendar} field. 351 * @param field 352 * the {@code Calendar} field to modify. 354 * the amount to add to the field. 357 * if the specified field is DST_OFFSET or ZONE_OFFSET. 360 public void add(int field, int value) { argument 364 if (field < 0 || field > 1008 getActualMaximum(int field) argument 1079 getActualMinimum(int field) argument 1092 getGreatestMinimum(int field) argument 1115 getLeastMaximum(int field) argument 1138 getMaximum(int field) argument 1150 getMinimum(int field) argument 1268 roll(int field, int value) argument 1386 roll(int field, boolean increment) argument [all...] |
/dalvik/vm/mterp/armv6t2/ |
H A D | OP_IGET_QUICK.S | 6 FETCH(r1, 1) @ r1<- field byte offset 11 ldr r0, [r3, r1] @ r0<- obj.field (always 32 bits)
|
H A D | OP_IGET_WIDE_QUICK.S | 5 FETCH(r1, 1) @ r1<- field byte offset 10 ldrd r0, [r3, r1] @ r0<- obj.field (64 bits, aligned)
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | MessageFormatFieldTest.java | 48 MyMessageFormat field = new MyMessageFormat(name); 49 assertEquals("field has wrong name", name, field.getName()); 51 field = new MyMessageFormat(null); 52 assertEquals("field has wrong name", null, field.getName()); 77 MyMessageFormat field; 81 field = new MyMessageFormat(null); 84 out.writeObject(field);
|
H A D | NumberFormatFieldTest.java | 47 MyNumberFormat field = new MyNumberFormat(name); 48 assertEquals("field has wrong name", name, field.getName()); 50 field = new MyNumberFormat(null); 51 assertEquals("field has wrong name", null, field.getName()); 77 MyNumberFormat field; 81 field = new MyNumberFormat(null); 84 out.writeObject(field);
|
/dalvik/tests/064-field-access/src/ |
H A D | Main.java | 22 * Test field access through reflection. 41 * Get the field specified by "field" from "obj". 44 * field.getByte(). 51 public Object getValue(Field field, Object obj, char type, argument 58 result = new Boolean(field.getBoolean(obj)); 61 result = new Byte(field.getByte(obj)); 64 result = new Short(field.getShort(obj)); 67 result = new Character(field.getChar(obj)); 70 result = new Integer(field 283 getValue(Field field, Object obj, char type, Class expectedException) argument [all...] |
/dalvik/vm/native/ |
H A D | java_lang_reflect_Field.c | 25 * Get the address of a field from an object. This can be used with "get" 28 * "declaringClass" is the class in which the field was declared. For an 29 * instance field, "obj" is the object that holds the field data; for a 30 * static field its value is ignored. 32 * "If the underlying field is static, the class that declared the 33 * field is initialized if it has not already been initialized." 40 * attempting to set a protected field from an unrelated class causes an 42 * the field causes an IllegalArgumentException. If code does both at the 47 * (2) Make sure the object actually has the field 62 Field* field; local 151 Field* field; local 372 Field* field; local 393 Field* field; local [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
H A D | ReflectionAccessImpl.java | 41 public Field clone(Field field) { argument 42 return new Field(field);
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | FieldPosition.java | 23 * the start and end indices of the field in the formatted string. 29 * If more than one field information is needed, the method 39 * Constructs a new {@code FieldPosition} for the specified field. 41 * @param field 42 * the field to identify. 44 public FieldPosition(int field) { argument 45 myField = field; 53 * the field attribute to identify. 62 * attribute and field id. 65 * the field attribut 69 FieldPosition(Format.Field attribute, int field) argument [all...] |
/dalvik/vm/oo/ |
H A D | AccessCheck.h | 34 * Determine whether the "accessFrom" class is allowed to get at "field". 36 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field);
|
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
H A D | JavaLangReflectAccessibleObjectTest.java | 39 private int field; field in class:JavaLangReflectAccessibleObjectTest.TestClass 64 Field field = TestClass.class.getDeclaredField("field"); 65 field.setAccessible(true); 94 Field field = TestClass.class.getDeclaredField("field"); 95 field.setAccessible(TestClass.class.getDeclaredFields(), true);
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | GenericArrayTypeTest.java | 48 Field field = clazz.getDeclaredField("array"); 49 Type genericType = field.getGenericType(); 71 Field field = clazz.getDeclaredField("array"); 72 Type genericType = field.getGenericType();
|
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/ |
H A D | ReflectionAccess.java | 39 * Gets a clone of the given field. 41 * @param field non-null; the field to clone 44 public Field clone(Field field); argument
|
/dalvik/vm/mterp/armv5te/ |
H A D | OP_IPUT_QUICK.S | 7 FETCH(r1, 1) @ r1<- field byte offset 14 str r0, [r3, r1] @ obj.field (always 32 bits)<- r0
|