Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 573) sorted by relevance

12345678910>>...23

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java821 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/
DBigIntegerToStringTest.java36 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/
DDosFileAttributeView.java118 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/
DJSONStringer.java227 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()
DJSON.java30 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/
DCalendarTest.java754 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/
DAbstractPreferences.java239 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/
DvalueOf.cpp24 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/
DEntryPair.java49 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()
DAnnotation.java65 public Annotation(Object value) { in Annotation()
87 private Object value; field in Annotation
/libcore/luni/src/main/java/android/util/
DMutableDouble.java22 public double value; field in MutableDouble
24 public MutableDouble(double value) { in MutableDouble()
DMutableBoolean.java22 public boolean value; field in MutableBoolean
24 public MutableBoolean(boolean value) { in MutableBoolean()
DMutableChar.java22 public char value; field in MutableChar
24 public MutableChar(char value) { in MutableChar()
DMutableLong.java22 public long value; field in MutableLong
24 public MutableLong(long value) { in MutableLong()
DMutableShort.java22 public short value; field in MutableShort
24 public MutableShort(short value) { in MutableShort()
DMutableByte.java22 public byte value; field in MutableByte
24 public MutableByte(byte value) { in MutableByte()
DMutableInt.java22 public int value; field in MutableInt
24 public MutableInt(int value) { in MutableInt()
DMutableFloat.java22 public float value; field in MutableFloat
24 public MutableFloat(float value) { in MutableFloat()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestFractionPrinterParser.java180 …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/
DDOMConfigurationImpl.java301 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/
DExtension.java37 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/
DCallVerificationStack.java212 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/
DFormatterBenchmark.java41 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/
DSAXParserFactoryImpl.java87 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/
DBigInteger.java101 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 …]

12345678910>>...23