/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 821 char value; in testAsCharBuffer() local 831 assertEquals(bytes2char(bytes, buf.order()), value); in testAsCharBuffer() local 842 assertEquals(bytes2char(bytes, buf.order()), value); in testAsCharBuffer() local 877 double value; in testAsDoubleBuffer() local 889 assertEquals(bytes2double(bytes, buf.order()), value, 0.00); in testAsDoubleBuffer() local 903 assertEquals(bytes2double(bytes, buf.order()), value, 0.00); in testAsDoubleBuffer() local 940 float value; in testAsFloatBuffer() local 952 assertEquals(bytes2float(bytes, buf.order()), value, 0.00); in testAsFloatBuffer() local 966 assertEquals(bytes2float(bytes, buf.order()), value, 0.00); in testAsFloatBuffer() local 1003 int value; in testAsIntBuffer() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerToStringTest.java | 36 String value = "442429234853876401"; in testRadixOutOfRange() local 47 …String value = "-101001100010010001001010101110000101010110001010010101010101010101010101010101010… in testRadix2Neg() local 58 …String value = "1010000111110000001101010101010101010100010010101010101010100101010101010100001000… in testRadix2Pos() local 69 String value = "-2489756308572364789878394872984"; in testRadix10Neg() local 80 String value = "2387627892347567398736473476"; in testRadix10Pos() local 91 String value = "-287628a883451b800865c67e8d7ff20"; in testRadix16Neg() local 102 String value = "287628a883451b800865c67e8d7ff20"; in testRadix16Pos() local 113 String value = "-287628a88gmn3451b8ijk00865c67e8d7ff20"; in testRadix24Neg() local 124 String value = "287628a883451bg80ijhk0865c67e8d7ff20"; in testRadix24Pos() local 135 … String value = "-uhguweut98iu4h3478tq3985pq98yeiuth33485yq4aiuhalai485yiaehasdkr8tywi5uhslei8"; in testRadix36Neg() local [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | DosFileAttributeView.java | 118 void setReadOnly(boolean value) throws IOException; in setReadOnly() 138 void setHidden(boolean value) throws IOException; in setHidden() 158 void setSystem(boolean value) throws IOException; in setSystem() 178 void setArchive(boolean value) throws IOException; in setArchive()
|
/libcore/json/src/main/java/org/json/ |
D | JSONStringer.java | 227 public JSONStringer value(Object value) throws JSONException { in value() method in JSONStringer 263 public JSONStringer value(boolean value) throws JSONException { in value() method in JSONStringer 279 public JSONStringer value(double value) throws JSONException { in value() argument 293 public JSONStringer value(long value) throws JSONException { in value() argument 302 private void string(String value) { in string()
|
D | JSON.java | 30 static Boolean toBoolean(Object value) { in toBoolean() 44 static Double toDouble(Object value) { in toDouble() 58 static Integer toInteger(Object value) { in toInteger() 72 static Long toLong(Object value) { in toLong() 86 static String toString(Object value) { in toString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 754 public void add(int field, int value) { in add() 799 String value = null; in test_getDisplayNameIILjava_util_Locale() local 805 locale), value); in test_getDisplayNameIILjava_util_Locale() local 807 locale), value); in test_getDisplayNameIILjava_util_Locale() local 811 locale), value); in test_getDisplayNameIILjava_util_Locale() local 813 locale), value); in test_getDisplayNameIILjava_util_Locale() local 819 locale), value); in test_getDisplayNameIILjava_util_Locale() local 821 locale), value); in test_getDisplayNameIILjava_util_Locale() local 825 locale), value); in test_getDisplayNameIILjava_util_Locale() local 827 locale), value); in test_getDisplayNameIILjava_util_Locale() local [all …]
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 239 public void put(String key, String value) { in put() 359 public void putInt(String key, int value) { in putInt() 388 String value = get(key, null); in getInt() local 414 public void putLong(String key, long value) { in putLong() 443 String value = get(key, null); in getLong() local 469 public void putBoolean(String key, boolean value) { in putBoolean() 500 String value = get(key, null); in getBoolean() local 527 public void putFloat(String key, float value) { in putFloat() 556 String value = get(key, null); in getFloat() local 582 public void putDouble(String key, double value) { in putDouble() [all …]
|
/libcore/luni/src/main/native/ |
D | valueOf.cpp | 24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf() 36 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf() 40 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf() 44 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf() 48 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf()
|
/libcore/ojluni/src/main/java/java/text/ |
D | EntryPair.java | 49 public int value; field in EntryPair 52 public EntryPair(String name, int value) { in EntryPair() 55 public EntryPair(String name, int value, boolean fwd) { in EntryPair()
|
D | Annotation.java | 65 public Annotation(Object value) { in Annotation() 87 private Object value; field in Annotation
|
/libcore/luni/src/main/java/android/util/ |
D | MutableDouble.java | 22 public double value; field in MutableDouble 24 public MutableDouble(double value) { in MutableDouble()
|
D | MutableBoolean.java | 22 public boolean value; field in MutableBoolean 24 public MutableBoolean(boolean value) { in MutableBoolean()
|
D | MutableChar.java | 22 public char value; field in MutableChar 24 public MutableChar(char value) { in MutableChar()
|
D | MutableLong.java | 22 public long value; field in MutableLong 24 public MutableLong(long value) { in MutableLong()
|
D | MutableShort.java | 22 public short value; field in MutableShort 24 public MutableShort(short value) { in MutableShort()
|
D | MutableByte.java | 22 public byte value; field in MutableByte 24 public MutableByte(byte value) { in MutableByte()
|
D | MutableInt.java | 22 public int value; field in MutableInt 24 public MutableInt(int value) { in MutableInt()
|
D | MutableFloat.java | 22 public float value; field in MutableFloat 24 public MutableFloat(float value) { in MutableFloat()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestFractionPrinterParser.java | 180 …public void test_print_nanos(int minWidth, int maxWidth, int value, String result) throws Exceptio… in test_print_nanos() 189 …public void test_print_nanos_noDecimalPoint(int minWidth, int maxWidth, int value, String result) … in test_print_nanos_noDecimalPoint() 222 …public void test_print_seconds(int minWidth, int maxWidth, int value, String result) throws Except… in test_print_seconds() 231 …public void test_print_seconds_noDecimalPoint(int minWidth, int maxWidth, int value, String result… in test_print_seconds_noDecimalPoint() 243 …public void test_reverseParse(int minWidth, int maxWidth, int value, String result) throws Excepti… in test_reverseParse() 252 …public void test_reverseParse_noDecimalPoint(int minWidth, int maxWidth, int value, String result)… in test_reverseParse_noDecimalPoint() 261 …public void test_reverseParse_followedByNonDigit(int minWidth, int maxWidth, int value, String res… in test_reverseParse_followedByNonDigit() 279 …public void test_reverseParse_preceededByNonDigit(int minWidth, int maxWidth, int value, String re… in test_reverseParse_preceededByNonDigit() 287 private int fixParsedValue(int maxWidth, int value) { in fixParsedValue() 296 …public void test_reverseParse_seconds(int minWidth, int maxWidth, int value, String result) throws… in test_reverseParse_seconds() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DOMConfigurationImpl.java | 301 void set(DOMConfigurationImpl config, Object value); in set() 302 boolean canSet(DOMConfigurationImpl config, Object value); in canSet() 313 public void set(DOMConfigurationImpl config, Object value) { in set() 319 public boolean canSet(DOMConfigurationImpl config, Object value) { in canSet() 325 public boolean canSet(DOMConfigurationImpl config, Object value) { in canSet() 330 public boolean canSetParameter(String name, Object value) { in canSetParameter() 335 public void setParameter(String name, Object value) throws DOMException { in setParameter()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | Extension.java | 37 private String value, id; field in Extension 43 Extension(char key, String value) { in Extension() 48 protected void setValue(String value) { in setValue()
|
/libcore/support/src/test/java/tests/util/ |
D | CallVerificationStack.java | 212 Boolean value = (Boolean) wrapper.getValue(); in popBoolean() local 223 Character value = (Character) wrapper.getValue(); in popChar() local 234 Double value = (Double) wrapper.getValue(); in popDouble() local 245 Float value = (Float) wrapper.getValue(); in popFloat() local 256 Integer value = (Integer) wrapper.getValue(); in popInt() local 267 Long value = (Long) wrapper.getValue(); in popLong() local 278 Short value = (Short) wrapper.getValue(); in popShort() local 288 private Object value; field in CallVerificationStack.BaseTypeWrapper
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | FormatterBenchmark.java | 41 Integer value = Integer.valueOf(1024); // We're not trying to benchmark boxing here. in timeFormatter_OneInt() local 50 Integer value = Integer.valueOf(1024); // We're not trying to benchmark boxing here. in timeFormatter_OneIntArabic() local 67 Integer value = Integer.valueOf(1024); // We're not trying to benchmark boxing here. in timeFormatter_OneHexInt() local 84 Float value = Float.valueOf(10.24f); // We're not trying to benchmark boxing here. in timeFormatter_OneFloat() local 92 Float value = Float.valueOf(10.24f); // We're not trying to benchmark boxing here. in timeFormatter_OneFloat_dot2f() local 100 Float value = Float.valueOf(10.24f); // We're not trying to benchmark boxing here. in timeFormatter_TwoFloats() local
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | SAXParserFactoryImpl.java | 87 public void setFeature(String name, boolean value) throws SAXNotRecognizedException { in setFeature() 105 public void setNamespaceAware(boolean value) { in setNamespaceAware() 114 public void setValidating(boolean value) { in setValidating()
|
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 101 BigInteger(int sign, long value) { in BigInteger() 215 public BigInteger(String value) { in BigInteger() 234 public BigInteger(String value, int radix) { in BigInteger() 299 public BigInteger(byte[] value) { in BigInteger() 364 public static BigInteger valueOf(long value) { in valueOf() 416 public BigInteger add(BigInteger value) { in add() 431 public BigInteger subtract(BigInteger value) { in subtract() 686 public BigInteger and(BigInteger value) { in and() 701 public BigInteger or(BigInteger value) { in or() 716 public BigInteger xor(BigInteger value) { in xor() [all …]
|