/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 847 char value; in testAsCharBuffer() local 857 assertEquals(bytes2char(bytes, buf.order()), value); in testAsCharBuffer() local 868 assertEquals(bytes2char(bytes, buf.order()), value); in testAsCharBuffer() local 903 double value; in testAsDoubleBuffer() local 915 assertEquals(bytes2double(bytes, buf.order()), value, 0.00); in testAsDoubleBuffer() local 929 assertEquals(bytes2double(bytes, buf.order()), value, 0.00); in testAsDoubleBuffer() local 966 float value; in testAsFloatBuffer() local 978 assertEquals(bytes2float(bytes, buf.order()), value, 0.00); in testAsFloatBuffer() local 992 assertEquals(bytes2float(bytes, buf.order()), value, 0.00); in testAsFloatBuffer() local 1029 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 | 123 void setReadOnly(boolean value) throws IOException; in setReadOnly() 143 void setHidden(boolean value) throws IOException; in setHidden() 163 void setSystem(boolean value) throws IOException; in setSystem() 183 void setArchive(boolean value) throws IOException; in setArchive()
|
/libcore/json/src/main/java/org/json/ |
D | JSONStringer.java | 236 public JSONStringer value(Object value) throws JSONException { in value() argument 272 public JSONStringer value(boolean value) throws JSONException { in value() method in JSONStringer 288 public JSONStringer value(double value) throws JSONException { in value() method in JSONStringer 302 public JSONStringer value(long value) throws JSONException { in value() argument 312 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()
|
D | JSONArray.java | 139 public JSONArray put(boolean value) { in put() 151 public JSONArray put(double value) throws JSONException { in put() 161 public JSONArray put(int value) { in put() 171 public JSONArray put(long value) { in put() 186 public JSONArray put(Object value) { in put() 194 void checkedPut(Object value) throws JSONException { in checkedPut() 209 public JSONArray put(int index, boolean value) throws JSONException { in put() 222 public JSONArray put(int index, double value) throws JSONException { in put() 233 public JSONArray put(int index, int value) throws JSONException { in put() 244 public JSONArray put(int index, long value) throws JSONException { in put() [all …]
|
D | JSONObject.java | 196 Object value = copyFrom.opt(name); in JSONObject() local 216 @NonNull public JSONObject put(@NonNull String name, boolean value) throws JSONException { in put() 217 nameValuePairs.put(checkName(name), value); in put() local 229 @NonNull public JSONObject put(@NonNull String name, double value) throws JSONException { in put() 240 @NonNull public JSONObject put(@NonNull String name, int value) throws JSONException { in put() 241 nameValuePairs.put(checkName(name), value); in put() local 251 @NonNull public JSONObject put(@NonNull String name, long value) throws JSONException { in put() 252 nameValuePairs.put(checkName(name), value); in put() local 267 …@NonNull public JSONObject put(@NonNull String name, @Nullable Object value) throws JSONException { in put() 276 nameValuePairs.put(checkName(name), value); in put() local [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringLatin1.java | 45 public static char charAt(byte[] value, int index) { in charAt() 56 public static int length(byte[] value) { in length() 60 public static int codePointAt(byte[] value, int index, int end) { in codePointAt() 64 public static int codePointBefore(byte[] value, int index) { in codePointBefore() 68 public static int codePointCount(byte[] value, int beginIndex, int endIndex) { in codePointCount() 72 public static char[] toChars(byte[] value) { in toChars() 78 public static byte[] inflate(byte[] value, int off, int len) { in inflate() 84 public static void getChars(byte[] value, int srcBegin, int srcEnd, char dst[], int dstBegin) { in getChars() 88 public static void getBytes(byte[] value, int srcBegin, int srcEnd, byte dst[], int dstBegin) { in getBytes() 93 public static boolean equals(byte[] value, byte[] other) { in equals() [all …]
|
D | LiveStackFrameInfo.java | 80 static PrimitiveSlot asPrimitive(int value) { in asPrimitive() 84 static PrimitiveSlot asPrimitive(long value) { in asPrimitive() 89 final int value; field in LiveStackFrameInfo.PrimitiveSlot32 90 PrimitiveSlot32(int value) { in PrimitiveSlot32() 111 final long value; field in LiveStackFrameInfo.PrimitiveSlot64 112 PrimitiveSlot64(long value) { in PrimitiveSlot64()
|
/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 | 246 public void put(String key, String value) { in put() 366 public void putInt(String key, int value) { in putInt() 395 String value = get(key, null); in getInt() local 421 public void putLong(String key, long value) { in putLong() 450 String value = get(key, null); in getLong() local 476 public void putBoolean(String key, boolean value) { in putBoolean() 507 String value = get(key, null); in getBoolean() local 534 public void putFloat(String key, float value) { in putFloat() 563 String value = get(key, null); in getFloat() local 589 public void putDouble(String key, double value) { in putDouble() [all …]
|
/libcore/luni/src/main/native/ |
D | valueOf.cpp | 26 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf() 38 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf() 42 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf() 46 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf() 50 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | Clamp.java | 70 long value = test[0]; in testIntClamp() local 78 long value = test[0]; in testIntClamp() local 110 long value = test[0]; in testLongClamp() local 118 long value = test[0]; in testLongClamp() local 174 double value = test[0]; in testDoubleClamp() local 182 double value = test[0]; in testDoubleClamp() local 238 float value = test[0]; in testFloatClamp() local 246 float value = test[0]; in testFloatClamp() local
|
/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/ojluni/src/test/java/math/BigInteger/ |
D | TestValueExact.java | 60 long value = bi.longValueExact(); in testLongValueExact() local 90 int value = bi.intValueExact(); in testIntValueExact() local 124 int value = bi.shortValueExact(); in testShortValueExact() local 162 int value = bi.byteValueExact(); in testByteValueExact() local
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 94 public abstract java.nio.ByteBuffer putChar(char value); in putChar() 98 public abstract java.nio.ByteBuffer putChar(int index, char value); in putChar() 104 public abstract java.nio.ByteBuffer putShort(short value); in putShort() 108 public abstract java.nio.ByteBuffer putShort(int index, short value); in putShort() 114 public abstract java.nio.ByteBuffer putInt(int value); in putInt() 118 public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt() 124 public abstract java.nio.ByteBuffer putLong(long value); in putLong() 128 public abstract java.nio.ByteBuffer putLong(int index, long value); in putLong() 134 public abstract java.nio.ByteBuffer putFloat(float value); in putFloat() 138 public abstract java.nio.ByteBuffer putFloat(int index, float value); in putFloat() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestFractionPrinterParser.java | 183 …public void test_print_nanos(int minWidth, int maxWidth, int value, String result) throws Exceptio… in test_print_nanos() 192 …public void test_print_nanos_noDecimalPoint(int minWidth, int maxWidth, int value, String result) … in test_print_nanos_noDecimalPoint() 225 …public void test_print_seconds(int minWidth, int maxWidth, int value, String result) throws Except… in test_print_seconds() 234 …public void test_print_seconds_noDecimalPoint(int minWidth, int maxWidth, int value, String result… in test_print_seconds_noDecimalPoint() 246 …public void test_reverseParse(int minWidth, int maxWidth, int value, String result) throws Excepti… in test_reverseParse() 255 …public void test_reverseParse_noDecimalPoint(int minWidth, int maxWidth, int value, String result)… in test_reverseParse_noDecimalPoint() 264 …public void test_reverseParse_followedByNonDigit(int minWidth, int maxWidth, int value, String res… in test_reverseParse_followedByNonDigit() 282 …public void test_reverseParse_preceededByNonDigit(int minWidth, int maxWidth, int value, String re… in test_reverseParse_preceededByNonDigit() 290 private int fixParsedValue(int maxWidth, int value) { in fixParsedValue() 299 …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/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/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/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/android/system/ |
D | Int32Ref.java | 29 public int value; field in Int32Ref 31 public Int32Ref(int value) { in Int32Ref()
|
D | Int64Ref.java | 25 public long value; field in Int64Ref 27 public Int64Ref(long value) { in Int64Ref()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 189 final void putByte(int offset, byte value) { in putByte() 216 final void putShort(int offset, short value) { in putShort() 243 final void putChar(int offset, char value) { in putChar() 270 final void putInt(int offset, int value) { in putInt() 297 final void putLong(int offset, long value) { in putLong() 324 final void putFloat(int offset, float value) { in putFloat() 351 final void putDouble(int offset, double value) { in putDouble()
|