/libcore/luni/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._getChars(0, count, value, 0); 94 int newCount = ((value.length >> 1) + value [all...] |
H A D | Float.java | 40 * The value which the receiver represents. 42 private final float value; field in class:Float 45 * Constant for the maximum {@code float} value, (2 - 2<sup>-23</sup>) * 2<sup>127</sup>. 50 * Constant for the minimum {@code float} value, 2<sup>-149</sup>. 55 * Constant for the Not-a-Number (NaN) value of the {@code float} type. 60 * Constant for the positive infinity value of the {@code float} type. 65 * Constant for the negative infinity value of the {@code float} type. 70 * Constant for the smallest positive normal value of the {@code float} type. 77 * Maximum base-2 exponent that a finite value of the {@code float} type may have. 85 * Minimum base-2 exponent that a normal value o 118 Float(float value) argument 128 Float(double value) argument 202 floatToIntBits(float value) argument 216 floatToRawIntBits(float value) argument [all...] |
H A D | Byte.java | 31 * The value which the receiver represents. 33 private final byte value; field in class:Byte 36 * The maximum {@code Byte} value, 2<sup>7</sup>-1. 41 * The minimum {@code Byte} value, -2<sup>7</sup>. 46 * The number of bits needed to represent a {@code Byte} value in two's 63 * Constructs a new {@code Byte} with the specified primitive byte value. 65 * @param value 66 * the primitive byte value to store in the new instance. 68 public Byte(byte value) { argument 69 this.value 247 toString(byte value) argument [all...] |
H A D | Short.java | 32 * The value which the receiver represents. 34 private final short value; field in class:Short 37 * Constant for the maximum {@code short} value, 2<sup>15</sup>-1. 42 * Constant for the minimum {@code short} value, -2<sup>15</sup>. 68 * the string representation of a short value. 70 * if {@code string} cannot be parsed as a short value. 78 * Constructs a new {@code Short} with the specified primitive short value. 80 * @param value 81 * the primitive short value to store in the new instance. 83 public Short(short value) { argument 243 toString(short value) argument [all...] |
H A D | Double.java | 40 * The value which the receiver represents. 42 private final double value; field in class:Double 45 * Constant for the maximum {@code double} value, (2 - 2<sup>-52</sup>) * 51 * Constant for the minimum {@code double} value, 2<sup>-1074</sup>. 58 * Constant for the Not-a-Number (NaN) value of the {@code double} type. 63 * Constant for the positive infinity value of the {@code double} type. 68 * Constant for the negative infinity value of the {@code double} type. 73 * Constant for the smallest positive normal value of the {@code double} type. 80 * Maximum base-2 exponent that a finite value of the {@code double} type may have. 88 * Minimum base-2 exponent that a normal value o 122 Double(double value) argument 174 doubleToLongBits(double value) argument 188 doubleToRawLongBits(double value) argument [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFieldsForDumping.java | 60 * Find and set the byte value of a given field named <code>name</code> in 65 * @param value 66 * New value for the field. 69 public void put(String name, byte value) { argument 70 emulatedFields.put(name, value); 74 * Find and set the char value of a given field named <code>name</code> in 79 * @param value 80 * New value for the field. 83 public void put(String name, char value) { argument 84 emulatedFields.put(name, value); 97 put(String name, double value) argument 111 put(String name, float value) argument 125 put(String name, int value) argument 139 put(String name, long value) argument 153 put(String name, Object value) argument 167 put(String name, short value) argument 181 put(String name, boolean value) argument [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | MapEntry.java | 26 V value; field in class:MapEntry 38 value = theValue; 59 && (value == null ? entry.getValue() == null : value 70 return value; 76 ^ (value == null ? 0 : value.hashCode()); 80 V result = value; 81 value = object; 87 return key + "=" + value; [all...] |
/libcore/luni/src/main/native/ |
H A D | valueOf.cpp | 24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { argument 26 return env->CallStaticObjectMethod(c, valueOfMethod, value); 29 jobject booleanValueOf(JNIEnv* env, jboolean value) { argument 30 return valueOf(env, JniConstants::booleanClass, "(Z)Ljava/lang/Boolean;", value); 33 jobject doubleValueOf(JNIEnv* env, jdouble value) { argument 34 return valueOf(env, JniConstants::doubleClass, "(D)Ljava/lang/Double;", value); 37 jobject integerValueOf(JNIEnv* env, jint value) { argument 38 return valueOf(env, JniConstants::integerClass, "(I)Ljava/lang/Integer;", value); 41 jobject longValueOf(JNIEnv* env, jlong value) { argument 42 return valueOf(env, JniConstants::longClass, "(J)Ljava/lang/Long;", value); [all...] |
/libcore/support/src/test/java/tests/util/ |
H A D | CallVerificationStack.java | 128 * the value to push 138 * the value to push 148 * the value to push 158 * the value to push 168 * the value to push 178 * the value to push 188 * the value to push 208 * @return the value 212 Boolean value = (Boolean) wrapper.getValue(); 213 return value 288 private Object value; field in class:CallVerificationStack.BaseTypeWrapper [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 20 * {@code ConcurrentMap} as a key or value 33 * with a value, associate it with the given value. 37 * return map.put(key, value); 43 * @param key key with which the specified value is to be associated 44 * @param value value to be associated with the specified key 45 * @return the previous value associated with the specified key, or 52 * @throws ClassCastException if the class of the specified key or value 54 * @throws NullPointerException if the specified key or value i 59 putIfAbsent(K key, V value) argument 85 remove(Object key, Object value) argument 141 replace(K key, V value) argument [all...] |
H A D | RecursiveTask.java | 56 protected final void setRawResult(V value) { argument 57 result = value;
|
/libcore/luni/src/main/java/java/lang/annotation/ |
H A D | Retention.java | 31 RetentionPolicy value(); method in interface:Retention
|
H A D | Target.java | 30 ElementType[] value(); method in interface:Target
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | hc_attrappendchild1.java | 31 * Appends a text node to an attribute and checks if the value of 64 String value; 75 value = titleAttr.getValue(); 76 assertEquals("attrValue", "Yesterday", value); 77 value = titleAttr.getNodeValue(); 78 assertEquals("attrNodeValue", "Yesterday", value); 79 value = retval.getNodeValue(); 80 assertEquals("retvalValue", "terday", value); 82 value = lastChild.getNodeValue(); 83 assertEquals("lastChildValue", "terday", value); [all...] |
H A D | hc_attrappendchild3.java | 31 * Appends a document fragment to an attribute and checks if the value of 64 String value; 81 value = titleAttr.getValue(); 82 assertEquals("attrValue", "Yesterday", value); 83 value = titleAttr.getNodeValue(); 84 assertEquals("attrNodeValue", "Yesterday", value); 85 value = retval.getNodeValue(); 86 assertNull("retvalValue", value); 88 value = lastChild.getNodeValue(); 89 assertEquals("lastChildValue", "day", value); [all...] |
H A D | hc_attrappendchild6.java | 63 String value; 71 value = titleAttr.getValue(); 72 assertEquals("attrValue", "Yesterday", value); 73 value = titleAttr.getNodeValue(); 74 assertEquals("attrNodeValue", "Yesterday", value); 75 value = retval.getNodeValue(); 76 assertEquals("retvalValue", "Yesterday", value); 78 value = lastChild.getNodeValue(); 79 assertEquals("lastChildValue", "Yesterday", value);
|
H A D | hc_attrreplacechild1.java | 31 * Replaces a text node of an attribute and checks if the value of 64 String value; 77 value = titleAttr.getValue(); 78 assertEquals("attrValue", "terday", value); 79 value = titleAttr.getNodeValue(); 80 assertEquals("attrNodeValue", "terday", value); 81 value = retval.getNodeValue(); 82 assertEquals("retvalValue", "Yes", value); 84 value = firstChild.getNodeValue(); 85 assertEquals("firstChildValue", "terday", value); [all...] |
H A D | hc_attrinsertbefore3.java | 31 * Appends a document fragment to an attribute and checks if the value of 64 String value; 84 value = titleAttr.getValue(); 85 assertEquals("attrValue", "Yesterday", value); 86 value = titleAttr.getNodeValue(); 87 assertEquals("attrNodeValue", "Yesterday", value); 88 value = retval.getNodeValue(); 89 assertNull("retvalValue", value); 91 value = firstChild.getNodeValue(); 92 assertEquals("firstChildValue", "Yes", value); [all...] |
H A D | hc_attrinsertbefore4.java | 31 * Prepends a document fragment to an attribute and checks if the value of 64 String value; 84 value = titleAttr.getValue(); 85 assertEquals("attrValue", "terdayYes", value); 86 value = titleAttr.getNodeValue(); 87 assertEquals("attrNodeValue", "terdayYes", value); 88 value = retval.getNodeValue(); 89 assertNull("retvalValue", value); 91 value = firstChild.getNodeValue(); 92 assertEquals("firstChildValue", "ter", value); [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | Memory.java | 91 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { argument 93 dst[offset++] = (byte) ((value >> 24) & 0xff); 94 dst[offset++] = (byte) ((value >> 16) & 0xff); 95 dst[offset++] = (byte) ((value >> 8) & 0xff); 96 dst[offset ] = (byte) ((value >> 0) & 0xff); 98 dst[offset++] = (byte) ((value >> 0) & 0xff); 99 dst[offset++] = (byte) ((value >> 8) & 0xff); 100 dst[offset++] = (byte) ((value >> 16) & 0xff); 101 dst[offset ] = (byte) ((value >> 24) & 0xff); 105 public static void pokeLong(byte[] dst, int offset, long value, ByteOrde argument 131 pokeShort(byte[] dst, int offset, short value, ByteOrder order) argument 190 pokeByte(long address, byte value) argument 192 pokeInt(long address, int value, boolean swap) argument 198 pokeIntNative(long address, int value) argument 200 pokeLong(long address, long value, boolean swap) argument 206 pokeLongNative(long address, long value) argument 208 pokeShort(long address, short value, boolean swap) argument 214 pokeShortNative(long address, short value) argument [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | MutableIntBenchmark.java | 28 int[] value = new int[1]; 32 value = new int[] { 5 }; 37 value[0]++; 43 sum += value[0]; 49 AtomicInteger value = new AtomicInteger(); 53 value = new AtomicInteger(5); 58 value.incrementAndGet(); 64 sum += value.intValue();
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | OtherName.java | 44 * value [0] EXPLICIT ANY DEFINED BY type-id 49 /** the value of typeID field of the structure */ 51 /** the value of value field of the structure */ 52 private byte[] value; field in class:OtherName 56 public OtherName(String typeID, byte[] value) { argument 57 this(typeID, value, null); 60 private OtherName(String typeID, byte[] value, byte[] encoding) { argument 62 this.value = value; [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | DOMConfiguration.java | 35 * value must be supported or not. 106 * processing, this parameter does not apply to attribute value 225 * unless the "schema-type" parameter value is set. It is strongly 233 * URI. If this parameter is not set, a default value may be provided by 235 * schema language used at load time. If no value is provided, this 238 * , applications must use the value 240 * applications must use the value 276 * <li> The value of the 280 * <li> The value of the attribute 361 * Set the value o 376 setParameter(String name, Object value) argument 402 canSetParameter(String name, Object value) argument [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
H A D | EncodedValueCodec.java | 32 public static void writeSignedIntegralValue(ByteOutput out, int type, long value) { argument 34 * Figure out how many bits are needed to represent the value, 42 int requiredBits = 65 - Long.numberOfLeadingZeros(value ^ (value >> 63)); 53 // Write the value, per se. 55 out.writeByte((byte) value); 56 value >>= 8; 64 public static void writeUnsignedIntegralValue(ByteOutput out, int type, long value) { argument 65 // Figure out how many bits are needed to represent the value. 66 int requiredBits = 64 - Long.numberOfLeadingZeros(value); 91 writeRightZeroExtendedValue(ByteOutput out, int type, long value) argument [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HttpDate.java | 68 * Returns the date for {@code value}. Returns null if the value couldn't be 71 public static Date parse(String value) { argument 73 return STANDARD_DATE_FORMAT.get().parse(value); 78 return new SimpleDateFormat(formatString, Locale.US).parse(value); 86 * Returns the string for {@code value}. 88 public static String format(Date value) { argument 89 return STANDARD_DATE_FORMAT.get().format(value);
|