/libcore/luni/src/main/native/ |
H A D | libcore_io_OsConstants.cpp | 41 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); local 42 env->SetStaticIntField(c, field, value);
|
H A D | java_io_ObjectStreamClass.cpp | 32 static jobject ObjectStreamClass_getFieldSignature(JNIEnv* env, jclass, jobject field) { argument 33 return getSignature(env, JniConstants::fieldClass, field);
|
/libcore/luni/src/main/java/java/security/spec/ |
H A D | EllipticCurve.java | 28 // Underlying finite field 29 private final ECField field; field in class:EllipticCurve 45 * Creates a new {@code EllipticCurve} with the specified field, 48 * @param field 49 * the finite field of this elliptic curve. 57 * if the specified coefficients are not in the specified field. 59 public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) { argument 60 this.field = field; 61 if (this.field 114 EllipticCurve(ECField field, BigInteger a, BigInteger b) argument [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | MissingClassesTest.java | 64 loadableClass.getDeclaredField("field"); 71 Unloadable field; field in class:MissingClassesTest.Loadable
|
H A D | AnnotationsTest.java | 48 Field field = Type.class.getField("field"); 49 assertAnnotatedElement(field, AnnotationA.class, AnnotationD.class); 83 @AnnotationA @AnnotationD public String field; field in class:AnnotationsTest.Type
|
H A D | ClassLoaderReflectionTest.java | 71 assertEquals(aClass, aListClass.getDeclaredField("field").getType()); 129 T field; field in class:ClassLoaderReflectionTest.B 147 A field; field in class:ClassLoaderReflectionTest.AList
|
/libcore/luni/src/main/java/java/text/ |
H A D | Format.java | 101 * {@code field} is an input/output parameter. If its {@code field} 102 * member contains an enum value specifying a field on input, then its 104 * text offset of the first occurrence of this field in the formatted text. 110 * @param field 111 * on input: an optional alignment field; on output: the offsets 112 * of the alignment field in the formatted text. 118 FieldPosition field); 238 * Constructs a new instance of {@code Field} with the given field name. 241 * the field nam 117 format(Object object, StringBuffer buffer, FieldPosition field) argument [all...] |
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...] |
H A D | ChoiceFormat.java | 233 * @param field 239 FieldPosition field) { 257 * @param field 263 FieldPosition field) { 264 return format((double) value, buffer, field); 238 format(double value, StringBuffer buffer, FieldPosition field) argument 262 format(long value, StringBuffer buffer, FieldPosition field) argument
|
H A D | MessageFormat.java | 521 // add MessageFormat field attributes and values to the AttributedString 534 * If the {@code field} member of the specified {@code FieldPosition} is 536 * this field position is set to the location of the first occurrence of a 543 * @param field 544 * on input: an optional alignment field; on output: the offsets 545 * of the alignment field in the formatted text. 549 FieldPosition field) { 550 return formatImpl(objects, buffer, field, null); 601 * Adds a new FieldContainer with MessageFormat.Field.ARGUMENT field, 604 * its field attribut 548 format(Object[] objects, StringBuffer buffer, FieldPosition field) argument 700 format(Object object, StringBuffer buffer, FieldPosition field) argument [all...] |
H A D | NumberFormat.java | 115 * pass the {@code FieldPosition} in your format call, with {@code field} = 219 * If the {@code field} member of {@code position} contains a value 220 * specifying a format field, then its {@code beginIndex} and 222 * occurrence of this field in the formatted text. 229 * @param field 230 * on input: an optional alignment field; on output: the offsets 231 * of the alignment field in the formatted text. 234 public abstract StringBuffer format(double value, StringBuffer buffer, FieldPosition field); argument 252 * If the {@code field} member of {@code position} contains a value 253 * specifying a format field, the 267 format(long value, StringBuffer buffer, FieldPosition field) argument 294 format(Object object, StringBuffer buffer, FieldPosition field) argument [all...] |
H A D | SimpleDateFormat.java | 105 * representation of a field were introduced in Android 4.3 (Jelly Bean MR2, API level 18). 111 * parse "1234". In other words, the leftmost field of the run is flexible, 113 * then the leftmost field is shortened by one character, and the entire run is 115 * leftmost field is one character in length. If the parse still fails at that 479 // add DateFormat field attributes to the AttributedString 492 * If the FieldPosition {@code field} is not null, and the field 494 * of the formatted field in the FieldPosition. 504 * @param field 505 * FieldPosition to set begin and end index of the field 514 formatImpl(Date date, StringBuffer buffer, FieldPosition field, List<FieldPosition> fields) argument 1123 parseNumber(int max, String string, int offset, int field, int skew) argument 1133 parseText(String string, int offset, String[] options, int field) argument [all...] |
/libcore/benchmarks/src/benchmarks/ |
H A D | MethodInvocationBenchmark.java | 32 private int field; field in class:MethodInvocationBenchmark.C 35 return field; 49 result = field;
|
/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFields.java | 32 // A slot is a field plus its value 36 ObjectStreamField field; field in class:EmulatedFields.ObjectSlot 38 // Actual value this emulated field holds 41 // If this field has a default value (true) or something has been 46 * Returns the descriptor for this emulated field. 48 * @return the field descriptor 51 return field; 55 * Returns the value held by this emulated field. 57 * @return the field value 87 * field descripto [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 37 String text, Format.Field field, int begin, int end) { 39 FieldPosition pos = new FieldPosition(field); 53 assertEquals("Test " + count + ": incorrect begin index for field " 54 + field, begin, pos.getBeginIndex()); 55 assertEquals("Test " + count + ": incorrect end index for field" 56 + field, end, pos.getEndIndex()); 36 t_FormatWithField(int count, Format format, Object object, String text, Format.Field field, int begin, int end) argument
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | AnnotatedElementBenchmark.java | 29 private Field field; field in class:AnnotatedElementBenchmark 34 field = Type.class.getField("field"); 49 field.getAnnotations(); 73 field.getAnnotation(Marker.class); 91 field.isAnnotationPresent(Marker.class); 153 @Marker public String field; field in class:AnnotatedElementBenchmark.Type
|
/libcore/libart/src/main/java/sun/misc/ |
H A D | Unsafe.java | 59 * the memory used to store the indicated instance field. 61 * @param field non-null; the field in question, which must be an 62 * instance field 63 * @return the offset to the field 65 public long objectFieldOffset(Field field) { argument 66 if (Modifier.isStatic(field.getModifiers())) { 69 return field.getOffset(); 120 * field within the given object. 122 * @param obj non-null; object containing the field [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicMarkableReference.java | 173 String field, Class<?> klazz) { 175 return UNSAFE.objectFieldOffset(klazz.getDeclaredField(field)); 178 NoSuchFieldError error = new NoSuchFieldError(field); 172 objectFieldOffset(sun.misc.Unsafe UNSAFE, String field, Class<?> klazz) argument
|
H A D | AtomicStampedReference.java | 173 String field, Class<?> klazz) { 175 return UNSAFE.objectFieldOffset(klazz.getDeclaredField(field)); 178 NoSuchFieldError error = new NoSuchFieldError(field); 172 objectFieldOffset(sun.misc.Unsafe UNSAFE, String field, Class<?> klazz) argument
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | Duration.java | 35 * minutes, and seconds) plus a sign (+/-) field.</p> 38 * (which represents that the field is not set), 39 * and the seconds field has a non-negative decimal or null. 98 * i.e. {@link #isSet(DatatypeConstants.Field field)} == <code>true</code>.</p> 221 * {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)}.</p> 225 * Use {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)} to avoid possible loss of precision.</p> 227 * @return If the years field is present, return its value as an <code>int</code>, else return <code>0</code>. 234 * Obtains the value of the MONTHS field as an integer value, 238 * that this method works on the MONTHS field. 247 * Obtains the value of the DAYS field a 400 getField(final DatatypeConstants.Field field) argument 412 getFieldValueAsInt(final DatatypeConstants.Field field) argument 435 isSet(final DatatypeConstants.Field field) argument [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldSimpleDateFormatTest.java | 52 public void test(String pattern, Calendar cal, String expected, int field) { argument 54 FieldPosition position = new FieldPosition(field);
|
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | MultiThreadAccessTest.java | 203 String field = "field3"; 212 // assertEquals("Wrong value of field " + field, BigDecimal.valueOf(id), 213 // result.getBigDecimal(field)); 217 threadPool.runTask(createTask7(id, field)); 226 // assertEquals("Wrong value of field " + field, expectedVal, result 227 // .getBigDecimal(field).doubleValue()); 414 * field of one record with identifier id in the first table 418 private static Runnable createTask7(final int id, final String field) { argument [all...] |
/libcore/libdvm/src/main/java/sun/misc/ |
H A D | Unsafe.java | 59 * the memory used to store the indicated instance field. 61 * @param field non-null; the field in question, which must be an 62 * instance field 63 * @return the offset to the field 65 public long objectFieldOffset(Field field) { argument 66 if (Modifier.isStatic(field.getModifiers())) { 71 return objectFieldOffset0(field); 78 * @param field non-null; the instance field 81 objectFieldOffset0(Field field) argument [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | CalendarTest.java | 40 // Test for correct result defined by the last set field 361 // Ensure last date field set is reset after computing 742 public int internal_get(int field) { argument 743 return super.internalGet(field); 754 public void add(int field, int value) { argument 766 public int getGreatestMinimum(int field) { argument 771 public int getLeastMaximum(int field) { argument 776 public int getMaximum(int field) { argument 781 public int getMinimum(int field) { argument 786 public void roll(int field, boolea argument [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | HttpURLConnection.java | 317 * then the value of this field will be {@link Integer#MAX_VALUE}. In that 324 * -1 otherwise. Prefer this field over the {@code int}-valued {@code 496 * using the HTTP proxy named by the response's Location header field. 731 * corresponding to the header field {@code field}. The {@code defaultValue} 732 * will be returned if no such field can be found in the response header. 734 * @param field 735 * the header field name. 737 * the default value to use if the specified header field wont be 739 * @return the header field represente 743 getHeaderFieldDate(String field, long defaultValue) argument [all...] |