Home
last modified time | relevance | path

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

12345678910>>...16

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java772 char value; in testAsCharBuffer() local
782 assertEquals(bytes2char(bytes, buf.order()), value); in testAsCharBuffer() local
793 assertEquals(bytes2char(bytes, buf.order()), value); in testAsCharBuffer() local
828 double value; in testAsDoubleBuffer() local
840 assertEquals(bytes2double(bytes, buf.order()), value, 0.00); in testAsDoubleBuffer() local
854 assertEquals(bytes2double(bytes, buf.order()), value, 0.00); in testAsDoubleBuffer() local
891 float value; in testAsFloatBuffer() local
903 assertEquals(bytes2float(bytes, buf.order()), value, 0.00); in testAsFloatBuffer() local
917 assertEquals(bytes2float(bytes, buf.order()), value, 0.00); in testAsFloatBuffer() local
954 int value; in testAsIntBuffer() local
[all …]
/libcore/luni/src/main/java/java/io/
DEmulatedFieldsForDumping.java69 public void put(String name, byte value) { in put()
83 public void put(String name, char value) { in put()
97 public void put(String name, double value) { in put()
111 public void put(String name, float value) { in put()
125 public void put(String name, int value) { in put()
139 public void put(String name, long value) { in put()
153 public void put(String name, Object value) { in put()
167 public void put(String name, short value) { in put()
181 public void put(String name, boolean value) { in put()
/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/json/src/main/java/org/json/
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()
DJSONStringer.java227 public JSONStringer value(Object value) throws JSONException { in value() method in JSONStringer
263 public JSONStringer value(boolean value) throws JSONException { in value() argument
279 public JSONStringer value(double value) throws JSONException { in value() argument
293 public JSONStringer value(long value) throws JSONException { in value() method in JSONStringer
302 private void string(String value) { in string()
/libcore/luni/src/main/java/java/text/
DDecimalFormatSymbols.java447 public void setInternationalCurrencySymbol(String value) { in setInternationalCurrencySymbol()
473 public void setCurrencySymbol(String value) { in setCurrencySymbol()
483 public void setDecimalSeparator(char value) { in setDecimalSeparator()
493 public void setDigit(char value) { in setDigit()
503 public void setGroupingSeparator(char value) { in setGroupingSeparator()
513 public void setInfinity(String value) { in setInfinity()
523 public void setMinusSign(char value) { in setMinusSign()
534 public void setMonetaryDecimalSeparator(char value) { in setMonetaryDecimalSeparator()
544 public void setNaN(String value) { in setNaN()
555 public void setPatternSeparator(char value) { in setPatternSeparator()
[all …]
DDecimalFormat.java549 public DecimalFormat(String pattern, DecimalFormatSymbols value) { in DecimalFormat()
678 public StringBuffer format(double value, StringBuffer buffer, FieldPosition position) { in format()
685 public StringBuffer format(long value, StringBuffer buffer, FieldPosition position) { in format()
818 public void setParseIntegerOnly(boolean value) { in setParseIntegerOnly()
889 public void setDecimalFormatSymbols(DecimalFormatSymbols value) { in setDecimalFormatSymbols()
912 public void setDecimalSeparatorAlwaysShown(boolean value) { in setDecimalSeparatorAlwaysShown()
921 public void setGroupingSize(int value) { in setGroupingSize()
930 public void setGroupingUsed(boolean value) { in setGroupingUsed()
949 public void setMaximumFractionDigits(int value) { in setMaximumFractionDigits()
962 public void setMaximumIntegerDigits(int value) { in setMaximumIntegerDigits()
[all …]
/libcore/luni/src/main/native/
DvalueOf.cpp24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { in valueOf()
29 jobject booleanValueOf(JNIEnv* env, jboolean value) { in booleanValueOf()
33 jobject doubleValueOf(JNIEnv* env, jdouble value) { in doubleValueOf()
37 jobject integerValueOf(JNIEnv* env, jint value) { in integerValueOf()
41 jobject longValueOf(JNIEnv* env, jlong value) { in longValueOf()
/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/luni/src/main/java/android/util/
DMutableDouble.java22 public double value; field in MutableDouble
24 public MutableDouble(double value) { in MutableDouble()
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()
DMutableFloat.java22 public float value; field in MutableFloat
24 public MutableFloat(float value) { in MutableFloat()
DMutableShort.java22 public short value; field in MutableShort
24 public MutableShort(short value) { in MutableShort()
DMutableInt.java22 public int value; field in MutableInt
24 public MutableInt(int value) { in MutableInt()
DMutableByte.java22 public byte value; field in MutableByte
24 public MutableByte(byte value) { in MutableByte()
DMutableBoolean.java22 public boolean value; field in MutableBoolean
24 public MutableBoolean(boolean value) { in MutableBoolean()
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentMap.java60 V putIfAbsent(K key, V value); in putIfAbsent()
86 boolean remove(Object key, Object value); in remove()
142 V replace(K key, V value); in replace()
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DOtherName.java52 private byte[] value; field in OtherName
56 public OtherName(String typeID, byte[] value) { in OtherName()
60 private OtherName(String typeID, byte[] value, byte[] encoding) { in OtherName()
/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/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/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.java43 Integer value = Integer.valueOf(1024); // We're not trying to benchmark boxing here. in timeFormatter_OneInt() local
52 Integer value = Integer.valueOf(1024); // We're not trying to benchmark boxing here. in timeFormatter_OneIntArabic() local
69 Integer value = Integer.valueOf(1024); // We're not trying to benchmark boxing here. in timeFormatter_OneHexInt() local
86 Float value = Float.valueOf(10.24f); // We're not trying to benchmark boxing here. in timeFormatter_OneFloat() local
94 Float value = Float.valueOf(10.24f); // We're not trying to benchmark boxing here. in timeFormatter_OneFloat_dot2f() local
102 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/security/x509/tsp/
DPKIFailureInfo.java95 private final int value; field in PKIFailureInfo
99 PKIFailureInfo(int value) { in PKIFailureInfo()
127 public static PKIFailureInfo getInstance(int value) { in getInstance()
/libcore/luni/src/main/java/libcore/net/http/
DHttpDate.java71 public static Date parse(String value) { in parse()
88 public static String format(Date value) { in format()

12345678910>>...16