/libcore/luni/src/main/java/java/math/ |
H A D | BigInteger.java | 88 /** absolute value field, used for serialization */ 101 BigInteger(int sign, long value) { argument 103 bigInt.putULongInt(value, (sign < 0)); 205 * Constructs a new {@code BigInteger} by parsing {@code value}. The string 210 * @param value string representation of the new {@code BigInteger}. 211 * @throws NullPointerException if {@code value == null}. 212 * @throws NumberFormatException if {@code value} is not a valid 215 public BigInteger(String value) { argument 217 bigInt.putDecString(value); 222 * Constructs a new {@code BigInteger} instance by parsing {@code value} 234 BigInteger(String value, int radix) argument 299 BigInteger(byte[] value) argument 364 valueOf(long value) argument 416 add(BigInteger value) argument 431 subtract(BigInteger value) argument 686 and(BigInteger value) argument 701 or(BigInteger value) argument 716 xor(BigInteger value) argument 733 andNot(BigInteger value) argument 802 compareTo(BigInteger value) argument 812 min(BigInteger value) argument 822 max(BigInteger value) argument 885 gcd(BigInteger value) argument 894 multiply(BigInteger value) argument 1158 parseFromString(BigInteger bi, String value, int radix) argument [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
H A D | ZipEntry.java | 213 * @param value 216 public void setCompressedSize(long value) { argument 217 compressedSize = value; 223 * @param value 226 * if {@code value} is < 0 or > 0xFFFFFFFFL. 228 public void setCrc(long value) { argument 229 if (value >= 0 && value <= 0xFFFFFFFFL) { 230 crc = value; 232 throw new IllegalArgumentException("Bad CRC32: " + value); 258 setMethod(int value) argument 273 setSize(long value) argument 288 setTime(long value) argument 307 setDataOffset(long value) argument [all...] |
/libcore/libart/src/main/java/java/lang/reflect/ |
H A D | Field.java | 45 * and the field's value can be accessed dynamically. 253 * Returns the value of the field in the specified object. This reproduces 256 * <p>If the type of this field is a primitive type, the field value is 270 * @return the field value, possibly boxed 286 * Returns the value of the field in the specified object as a {@code 300 * @return the field value 317 * Returns the value of the field in the specified object as a {@code byte}. 331 * @return the field value 347 * Returns the value of the field in the specified object as a {@code char}. 361 * @return the field value 555 set(Object object, Object value) argument 560 set(Object object, Object value, boolean accessible) argument 591 setBoolean(Object object, boolean value) argument 596 setBoolean(Object object, boolean value, boolean accessible) argument 626 setByte(Object object, byte value) argument 631 setByte(Object object, byte value, boolean accessible) argument 661 setChar(Object object, char value) argument 666 setChar(Object object, char value, boolean accessible) argument 696 setDouble(Object object, double value) argument 701 setDouble(Object object, double value, boolean accessible) argument 731 setFloat(Object object, float value) argument 736 setFloat(Object object, float value, boolean accessible) argument 766 setInt(Object object, int value) argument 771 setInt(Object object, int value, boolean accessible) argument 801 setLong(Object object, long value) argument 806 setLong(Object object, long value, boolean accessible) argument 836 setShort(Object object, short value) argument 841 setShort(Object object, short value, boolean accessible) argument [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | AbstractMap.java | 43 * An immutable key-value mapping. Despite the name, this class is non-final 53 private final V value; field in class:AbstractMap.SimpleImmutableEntry 57 value = theValue; 61 * Constructs an instance with the key and value of {@code copyFrom}. 65 value = copyFrom.getValue(); 73 return value; 92 && (value == null ? entry.getValue() == null : value 100 ^ (value == null ? 0 : value 118 private V value; field in class:AbstractMap.SimpleEntry 213 containsValue(Object value) argument 369 put(K key, V value) argument [all...] |
/libcore/luni/src/main/java/java/text/ |
H A D | DecimalFormat.java | 82 * then the value is multiplied by 100 before being displayed. 323 * {@link DecimalFormatSymbols} object. This is the only value for which the 544 * @param value 549 public DecimalFormat(String pattern, DecimalFormatSymbols value) { argument 550 this.symbols = (DecimalFormatSymbols) value.clone(); 678 public StringBuffer format(double value, StringBuffer buffer, FieldPosition position) { argument 680 buffer.append(ndf.formatDouble(value, position)); 685 public StringBuffer format(long value, StringBuffer buffer, FieldPosition position) { argument 687 buffer.append(ndf.formatLong(value, position)); 793 * This value indicate 818 setParseIntegerOnly(boolean value) argument 889 setDecimalFormatSymbols(DecimalFormatSymbols value) argument 912 setDecimalSeparatorAlwaysShown(boolean value) argument 921 setGroupingSize(int value) argument 930 setGroupingUsed(boolean value) argument 949 setMaximumFractionDigits(int value) argument 962 setMaximumIntegerDigits(int value) argument 973 setMinimumFractionDigits(int value) argument 984 setMinimumIntegerDigits(int value) argument 1005 setMultiplier(int value) argument 1012 setNegativePrefix(String value) argument 1019 setNegativeSuffix(String value) argument 1026 setPositivePrefix(String value) argument 1033 setPositiveSuffix(String value) argument [all...] |
H A D | StringCharacterIterator.java | 34 * @param value 37 public StringCharacterIterator(String value) { argument 38 string = value; 45 * with the current index set to the specified value. The begin index is set 49 * @param value 57 public StringCharacterIterator(String value, int location) { argument 58 string = value; 71 * @param value 82 * than the length of {@code value}. 84 public StringCharacterIterator(String value, in argument 264 setText(String value) argument [all...] |
/libcore/luni/src/test/java/libcore/util/ |
H A D | SerializationTester.java | 31 private final T value; field in class:SerializationTester 33 public SerializationTester(T value, String golden) { argument 35 this.value = value; 41 * value type. 56 fail("No golden value supplied! Consider using this: " 57 + hexEncode(serialize(value))); 62 assertTrue("User-constructed value doesn't equal deserialized golden value", 63 equals(value, deserialize [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | attrcreatetextnode.java | 35 * string to its value attribute. This value is not yet 71 String value; 78 value = streetAttr.getValue(); 79 assertEquals("value", "Y&ent1;", value); 80 value = streetAttr.getNodeValue(); 81 assertEquals("nodeValue", "Y&ent1;", value);
|
H A D | attrcreatetextnode2.java | 35 * string to its value attribute. This value is not yet 70 String value; 77 value = streetAttr.getValue(); 78 assertEquals("value", "Y&ent1;", value); 79 value = streetAttr.getNodeValue(); 80 assertEquals("nodeValue", "Y&ent1;", value);
|
H A D | hc_attrchildnodes2.java | 63 String value; 77 value = textNode.getNodeValue(); 78 assertEquals("child1IsYes", "Yes", value); 80 value = textNode.getNodeValue(); 81 assertEquals("child2IsTerday", "terday", value);
|
H A D | hc_attrcreatetextnode.java | 35 * string to its value attribute. This value is not yet 70 String value; 77 value = streetAttr.getValue(); 78 assertEquals("value", "Y&ent1;", value); 79 value = streetAttr.getNodeValue(); 80 assertEquals("nodeValue", "Y&ent1;", value);
|
H A D | hc_attrcreatetextnode2.java | 35 * string to its value attribute. This value is not yet 70 String value; 77 value = streetAttr.getValue(); 78 assertEquals("value", "Y&ent1;", value); 79 value = streetAttr.getNodeValue(); 80 assertEquals("nodeValue", "Y&ent1;", value);
|
H A D | hc_attrnormalize.java | 64 String value; 79 value = titleAttr.getNodeValue(); 80 assertEquals("attrNodeValue", "Yesterday", value); 82 value = firstChild.getNodeValue(); 83 assertEquals("firstChildValue", "Yesterday", value);
|
H A D | attreffectivevalue.java | 31 * If an Attr is explicitly assigned any value, then that value is the attributes effective value. 67 String value; 73 value = domesticAttr.getNodeValue(); 74 assertEquals("attrEffectiveValueAssert", "Yes", value);
|
H A D | attrentityreplacement.java | 31 * The "getValue()" method will return the value of the 36 * returned by the "getValue()" method. The value should 38 * replaced with its value. This test uses the 72 String value; 78 value = streetAttr.getValue(); 79 assertEquals("streetYes", "Yes", value);
|
H A D | documentcreateentityreferenceknown.java | 73 String value; 82 value = child.getNodeValue(); 83 assertEquals("value", "Texas", value);
|
H A D | elementreplaceexistingattributegevalue.java | 71 String value; 77 value = streetAttr.getValue(); 78 assertEquals("streetNo", "No", value);
|
H A D | hc_attreffectivevalue.java | 31 * If an Attr is explicitly assigned any value, then that value is the attributes effective value. 66 String value; 72 value = domesticAttr.getNodeValue(); 73 assertEquals("attrEffectiveValueAssert", "Yes", value);
|
H A D | hc_attrgetvalue1.java | 31 * Checks the value of an attribute that contains entity references. 62 String value; 71 value = titleAttr.getValue(); 72 assertEquals("attrValue1", "Y\u03b1", value); // android-changed: GREEK LOWER CASE ALPHA
|
H A D | hc_elementreplaceexistingattributegevalue.java | 70 String value; 77 value = streetAttr.getValue(); 78 assertEquals("previousAttrValue", "No", value);
|
H A D | hc_nodedocumentfragmentnodevalue.java | 69 String value; 74 value = docFragment.getNodeValue(); 75 assertNull("initiallyNull", value);
|
/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFields.java | 32 // A slot is a field plus its value 38 // Actual value this emulated field holds 41 // If this field has a default value (true) or something has been 55 * Returns the value held by this emulated field. 57 * @return the field value 87 * field descriptor (ObjectStreamField) plus the actual value it holds. 105 * a value explicitly assigned and that it still holds a default value for 107 * assigned a value explicitly. 111 * @return {@code true} if {@code name} still holds its default value, 385 put(String name, byte value) argument 403 put(String name, char value) argument 421 put(String name, double value) argument 439 put(String name, float value) argument 457 put(String name, int value) argument 475 put(String name, long value) argument 493 put(String name, Object value) argument 515 put(String name, short value) argument 533 put(String name, boolean value) argument [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | AddressCache.java | 74 final Object value; field in class:AddressCache.AddressCacheEntry 84 AddressCacheEntry(Object value) { argument 85 this.value = value; 106 return entry.value;
|
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | SelectFunctionalityTest.java | 137 assertEquals("expected value doesn't equal actual", 140 assertEquals("expected value doesn't equal actual", 145 // assertEquals("expected value doesn't equal actual", BigDecimal 147 // assertEquals("expected value doesn't equal actual", BigDecimal 149 // assertEquals("expected value doesn't equal actual", id, result 151 assertEquals("expected value doesn't equal actual", BigDecimal 153 assertEquals("expected value doesn't equal actual", BigDecimal 155 assertEquals("expected value doesn't equal actual", BigDecimal 158 assertEquals("expected value doesn't equal actual", 160 assertEquals("expected value does [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 772 char value; 781 value = charBuffer.get(); 782 assertEquals(bytes2char(bytes, buf.order()), value); 792 value = charBuffer.get(); 793 assertEquals(bytes2char(bytes, buf.order()), value); 803 value = (char) charBuffer.remaining(); 804 charBuffer.put(value); 806 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order()))); 815 value = (char) charBuffer.remaining(); 816 charBuffer.put(value); 2109 int2bytes(int value, ByteOrder order) argument 2128 long2bytes(long value, ByteOrder order) argument 2147 short2bytes(short value, ByteOrder order) argument 2166 char2bytes(char value, ByteOrder order) argument 2170 float2bytes(float value, ByteOrder order) argument 2174 double2bytes(double value, ByteOrder order) argument [all...] |