/libcore/luni/src/main/java/android/util/ |
H A D | MutableBoolean.java | 22 public boolean value; field in class:MutableBoolean 24 public MutableBoolean(boolean value) { argument 25 this.value = value;
|
H A D | MutableByte.java | 22 public byte value; field in class:MutableByte 24 public MutableByte(byte value) { argument 25 this.value = value;
|
H A D | MutableChar.java | 22 public char value; field in class:MutableChar 24 public MutableChar(char value) { argument 25 this.value = value;
|
H A D | MutableDouble.java | 22 public double value; field in class:MutableDouble 24 public MutableDouble(double value) { argument 25 this.value = value;
|
H A D | MutableFloat.java | 22 public float value; field in class:MutableFloat 24 public MutableFloat(float value) { argument 25 this.value = value;
|
H A D | MutableInt.java | 22 public int value; field in class:MutableInt 24 public MutableInt(int value) { argument 25 this.value = value;
|
H A D | MutableLong.java | 22 public long value; field in class:MutableLong 24 public MutableLong(long value) { argument 25 this.value = value;
|
H A D | MutableShort.java | 22 public short value; field in class:MutableShort 24 public MutableShort(short value) { argument 25 this.value = value;
|
/libcore/luni/src/main/java/java/text/ |
H A D | Annotation.java | 21 * Wrapper for a text attribute value which represents an annotation. An 27 * value is the same.</li> 39 private Object value; field in class:Annotation 48 value = attribute; 52 * Returns the value of this annotation. The value may be {@code null}. 54 * @return the value of this annotation or {@code null}. 57 return value; 67 return getClass().getName() + "[value=" + value [all...] |
/libcore/json/src/main/java/org/json/ |
H A D | JSON.java | 21 * Returns the input if it is a JSON-permissible value; throws otherwise. 25 throw new JSONException("Forbidden numeric value: " + d); 30 static Boolean toBoolean(Object value) { argument 31 if (value instanceof Boolean) { 32 return (Boolean) value; 33 } else if (value instanceof String) { 34 String stringValue = (String) value; 44 static Double toDouble(Object value) { argument 45 if (value instanceof Double) { 46 return (Double) value; 58 toInteger(Object value) argument 72 toLong(Object value) argument 86 toString(Object value) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
H A D | PKIFailureInfo.java | 50 The value of PKIFailureInfo can take only one of the values, 95 private final int value; field in class:PKIFailureInfo 99 PKIFailureInfo(int value) { argument 100 this.value = value; 104 * @return int value of the failure 107 return value; 116 if (cur.value > maxValue) { 117 maxValue = cur.value; 124 * @param value 127 getInstance(int value) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerToStringTest.java | 36 String value = "442429234853876401"; 38 BigInteger aNumber = new BigInteger(value, radix); 40 assertTrue(result.equals(value)); 47 String value = "-101001100010010001001010101110000101010110001010010101010101010101010101010101010101010101010010101"; 49 BigInteger aNumber = new BigInteger(value, radix); 51 assertTrue(result.equals(value)); 58 String value = "101000011111000000110101010101010101010001001010101010101010010101010101010000100010010"; 60 BigInteger aNumber = new BigInteger(value, radix); 62 assertTrue(result.equals(value)); 69 String value [all...] |
/libcore/luni/src/main/java/libcore/util/ |
H A D | Objects.java | 38 * Returns a string reporting the value of each declared field, via reflection. 53 Object value = f.get(o); 62 if (value.getClass().isArray()) { 63 if (value.getClass() == boolean[].class) { 64 sb.append(Arrays.toString((boolean[]) value)); 65 } else if (value.getClass() == byte[].class) { 66 sb.append(Arrays.toString((byte[]) value)); 67 } else if (value.getClass() == char[].class) { 68 sb.append(Arrays.toString((char[]) value)); 69 } else if (value [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | DriverPropertyInfo.java | 29 * If the value member can be chosen from a set of possible values, they are 45 * {@code true} when the value member must be provided during {@code 51 * The current value associated with this property. It is depending on the 55 public String value; field in class:DriverPropertyInfo 59 * value. Other class members take their default values. 63 * @param value 64 * The property value. 66 public DriverPropertyInfo(String name, String value) { argument 68 this.value = value; [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Leb128.java | 32 * given value. 34 * @param value the value in question 37 public static int unsignedLeb128Size(int value) { argument 40 int remaining = value >> 7; 53 * given value. 55 * @param value the value in question 58 public static int signedLeb128Size(int value) { argument 61 int remaining = value >> 131 writeUnsignedLeb128(ByteOutput out, int value) argument 147 writeSignedLeb128(ByteOutput out, int value) argument [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationMember.java | 32 * It consists of name and value, supplemented with element 34 * <br>The value may be one of the following types: 43 * The last type is specific for this implementation; a Throwable value 46 * is requested for value. 57 * Tag description of a Throwable value type. 62 * Tag description of an array value type. 67 * Tag description of all value types except arrays and Throwables. 86 * Singleton representing missing element value. 91 protected final Object value; // a primitive value i field in class:AnnotationMember [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | EnumTest.java | 27 Roshambo value = Roshambo.PAPER; 28 assertTrue(value.getClass() == Roshambo.class); 29 new SerializationTester<Roshambo>(value, s).test(); 36 Roshambo value = Roshambo.ROCK; 37 assertTrue(value.getClass() != Roshambo.class); 38 new SerializationTester<Roshambo>(value, s).test();
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Boolean.java | 32 * The boolean value of the receiver. 34 private final boolean value; field in class:Boolean 47 * The {@code Boolean} object that represents the primitive value 53 * The {@code Boolean} object that represents the primitive value 59 * Constructs a new {@code Boolean} with its boolean value specified by 62 * Boolean representing the primitive value {@code true}, otherwise it will 63 * be a Boolean representing the primitive value {@code false}. 66 * the string representing a boolean value. 74 * value. 76 * @param value 79 Boolean(boolean value) argument 199 toString(boolean value) argument [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | StringBenchmark.java | 28 final String value; field in class:StringBenchmark.StringLengths 29 private StringLengths(String value) { this.value = value; } argument 43 s.value.hashCode();
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | hc_attrinsertbefore1.java | 31 * Appends a text node to an attribute and checks if the value of 64 String value; 78 value = titleAttr.getValue(); 79 assertEquals("attrValue", "Yesterday", value); 80 value = titleAttr.getNodeValue(); 81 assertEquals("attrNodeValue", "Yesterday", value); 82 value = retval.getNodeValue(); 83 assertEquals("retvalValue", "terday", value); 85 value = firstChild.getNodeValue(); 86 assertEquals("firstChildValue", "Yes", value); [all...] |
H A D | hc_attrinsertbefore2.java | 31 * Prepends a text node to an attribute and checks if the value of 64 String value; 78 value = titleAttr.getValue(); 79 assertEquals("attrValue", "terdayYes", value); 80 value = titleAttr.getNodeValue(); 81 assertEquals("attrNodeValue", "terdayYes", value); 82 value = retval.getNodeValue(); 83 assertEquals("retvalValue", "terday", value); 85 value = firstChild.getNodeValue(); 86 assertEquals("firstChildValue", "terday", value); [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 383 * Sets the element of the array at the specified index to the value. 384 * Equivalent to {@code array[index] = value}. If the array 385 * component is a primitive type, the value is automatically unboxed. 389 * if {@code array} is not an array or the value cannot be 394 public static void set(Object array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { argument 400 if (value != null && !array.getClass().getComponentType().isInstance(value)) { 403 ((Object[]) array)[index] = value; 405 if (value == null) { 408 if (value instanceo 438 setBoolean(Object array, int index, boolean value) argument 456 setByte(Object array, int index, byte value) argument 484 setChar(Object array, int index, char value) argument 510 setDouble(Object array, int index, double value) argument 528 setFloat(Object array, int index, float value) argument 548 setInt(Object array, int index, int value) argument 572 setLong(Object array, int index, long value) argument 594 setShort(Object array, int index, short value) argument [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DocumentBuilderSettingStrategy.java | 39 boolean value) throws DOMTestIncompatibleException; 45 public void applySetting(DocumentBuilderFactory factory, boolean value) 47 factory.setCoalescing(value); 59 public void applySetting(DocumentBuilderFactory factory, boolean value) 61 factory.setExpandEntityReferences(value); 72 public void applySetting(DocumentBuilderFactory factory, boolean value) 74 factory.setIgnoringElementContentWhitespace(value); 84 public void applySetting(DocumentBuilderFactory factory, boolean value) 86 if (value) { 100 public void applySetting(DocumentBuilderFactory factory, boolean value) throw 37 applySetting( DocumentBuilderFactory factory, boolean value) argument [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DocumentBuilderSettingStrategy.java | 20 boolean value); 26 boolean value) { 27 factory.setCoalescing(value); 37 public void applySetting(DocumentBuilderFactory factory, boolean value) { 38 factory.setExpandEntityReferences(value); 47 public void applySetting(DocumentBuilderFactory factory, boolean value) { 48 factory.setIgnoringElementContentWhitespace(value); 57 public void applySetting(DocumentBuilderFactory factory, boolean value) { 58 if (value) { 69 public void applySetting(DocumentBuilderFactory factory, boolean value) 19 applySetting(DocumentBuilderFactory factory, boolean value) argument [all...] |
/libcore/libart/src/main/java/java/lang/ |
H A D | AbstractStringBuilder.java | 38 private char[] value; field in class:AbstractStringBuilder 48 return value; 56 return value; 71 value = val; 76 value = new char[INITIAL_CAPACITY]; 83 value = new char[capacity]; 89 value = new char[count + INITIAL_CAPACITY]; 90 string.getCharsNoCheck(0, count, value, 0); 94 int newCount = ((value.length >> 1) + value [all...] |