Home
last modified time | relevance | path

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

12345678910>>...27

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java847 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/
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.java236 public JSONStringer value(Object value) throws JSONException { in value() method in JSONStringer
272 public JSONStringer value(boolean value) throws JSONException { in value() method in JSONStringer
288 public JSONStringer value(double value) throws JSONException { in value() argument
302 public JSONStringer value(long value) throws JSONException { in value() argument
312 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()
DJSONArray.java139 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 …]
/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.java246 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/
DvalueOf.cpp26 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/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/ojluni/annotations/mmodule/java/nio/
DByteBuffer.annotated.java94 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/
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/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/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java105 @libcore.util.NonNull public abstract java.nio.ByteBuffer putChar(char value); in putChar()
109 @libcore.util.NonNull public abstract java.nio.ByteBuffer putChar(int index, char value); in putChar()
115 @libcore.util.NonNull public abstract java.nio.ByteBuffer putShort(short value); in putShort()
119 @libcore.util.NonNull public abstract java.nio.ByteBuffer putShort(int index, short value); in putShort()
125 @libcore.util.NonNull public abstract java.nio.ByteBuffer putInt(int value); in putInt()
129 @libcore.util.NonNull public abstract java.nio.ByteBuffer putInt(int index, int value); in putInt()
135 @libcore.util.NonNull public abstract java.nio.ByteBuffer putLong(long value); in putLong()
139 @libcore.util.NonNull public abstract java.nio.ByteBuffer putLong(int index, long value); in putLong()
145 @libcore.util.NonNull public abstract java.nio.ByteBuffer putFloat(float value); in putFloat()
149 @libcore.util.NonNull public abstract java.nio.ByteBuffer putFloat(int index, float value); in putFloat()
[all …]
/libcore/luni/src/main/java/android/system/
DInt64Ref.java25 public long value; field in Int64Ref
27 public Int64Ref(long value) { in Int64Ref()
DInt32Ref.java31 public int value; field in Int32Ref
34 public Int32Ref(int value) { in Int32Ref()
/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.java103 BigInteger(int sign, long value) { in BigInteger()
217 public BigInteger(@NonNull String value) { in BigInteger()
236 public BigInteger(@NonNull String value, int radix) { in BigInteger()
301 public BigInteger(byte @NonNull [] value) { in BigInteger()
366 @NonNull public static BigInteger valueOf(long value) { in valueOf()
418 @NonNull public BigInteger add(@NonNull BigInteger value) { in add()
433 @NonNull public BigInteger subtract(@NonNull BigInteger value) { in subtract()
688 @NonNull public BigInteger and(@NonNull BigInteger value) { in and()
703 @NonNull public BigInteger or(@NonNull BigInteger value) { in or()
718 @NonNull public BigInteger xor(@NonNull BigInteger value) { in xor()
[all …]
/libcore/ojluni/src/main/java/java/util/
DAbstractMap.java111 public boolean containsValue(Object value) { in containsValue()
208 public V put(K key, V value) { in put()
490 V value = e.getValue(); in equals() local
556 V value = e.getValue(); in toString() local
613 private V value; field in AbstractMap.SimpleEntry
622 public SimpleEntry(K key, V value) { in SimpleEntry()
663 public V setValue(V value) { in setValue()
743 private final V value; field in AbstractMap.SimpleImmutableEntry
752 public SimpleImmutableEntry(K key, V value) { in SimpleImmutableEntry()
796 public V setValue(V value) { in setValue()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeObject.java189 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()
/libcore/luni/src/main/java/libcore/net/http/
DHttpDate.java73 public static Date parse(String value) { in parse()
91 public static String format(Date value) { in format()
/libcore/ojluni/src/main/java/java/util/stream/
DSink.java160 default void accept(int value) { in accept()
171 default void accept(long value) { in accept()
182 default void accept(double value) { in accept()
193 void accept(int value); in accept()
210 void accept(long value); in accept()
227 void accept(double value); in accept()

12345678910>>...27