/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | Adler32Test.java | 30 assertEquals("Constructor of adl32 failed", 1, adl.getValue()); in test_Constructor() 40 1, adl.getValue()); in test_getValue() 47 131074, adl.getValue()); in test_getValue() 50 .getValue()); in test_getValue() 57 65537L, adl.getValue()); in test_getValue() 70 131074, adl.getValue()); in test_reset() 73 .getValue()); in test_reset() 85 131074, adl.getValue()); in test_updateI() 92 16777472L, adl.getValue()); in test_updateI() 99 65537L, adl.getValue()); in test_updateI() [all …]
|
D | CRC32Test.java | 30 assertEquals("Constructor of CRC32 failed", 0, crc.getValue()); in test_Constructor() 40 0, crc.getValue()); in test_getValue() 48 4278190080L, crc.getValue()); in test_getValue() 57 1295764014L, crc.getValue()); in test_getValue() 68 .getValue()); in test_getValue() 82 2768625435L, crc.getValue()); in test_reset() 85 .getValue()); in test_reset() 100 2768625435L, crc.getValue()); in test_updateI() 108 4278190080L, crc.getValue()); in test_updateI() 116 3523407757L, crc.getValue()); in test_updateI() [all …]
|
D | CheckedOutputStreamTest.java | 40 .getChecksum().getValue()); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Checksum() 66 .getChecksum().getValue()); in test_getChecksum() 73 .getChecksum().getValue()); in test_getChecksum() 99 chkOut.getChecksum().getValue() != 0); in test_writeI() 122 chkOut.getChecksum().getValue() != 0); in test_write$BII()
|
D | CheckedInputStreamTest.java | 38 .getValue()); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Checksum() 53 .getChecksum().getValue()); in test_getChecksum() 64 .getValue()); in test_getChecksum() 73 .getValue()); in test_getChecksum() 91 .getValue()); in test_skipJ()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | AttributesImplTest.java | 134 assertEquals("abc", multi.getValue(0)); in testGetValueInt() 135 assertEquals("xyz", multi.getValue(1)); in testGetValueInt() 136 assertEquals("42", multi.getValue(2)); in testGetValueInt() 137 assertEquals("1-2-3-4", multi.getValue(3)); in testGetValueInt() 138 assertEquals("1-2-3-4", multi.getValue(4)); in testGetValueInt() 141 assertEquals(null, multi.getValue(-1)); in testGetValueInt() 142 assertEquals(null, multi.getValue(5)); in testGetValueInt() 203 assertEquals("abc", multi.getValue("http://some.uri", "foo")); in testGetValueStringString() 204 assertEquals("xyz", multi.getValue("http://some.uri", "bar")); in testGetValueStringString() 205 assertEquals("42", multi.getValue("http://some.other.uri", "answer")); in testGetValueStringString() [all …]
|
D | AttributeListImplTest.java | 76 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributeList() 95 assertEquals("false", multi.getValue(3)); in testAddAttribute() 102 assertEquals("false", multi.getValue(4)); in testAddAttribute() 108 assertEquals(null, multi.getValue(5)); in testAddAttribute() 116 assertEquals("xyz", multi.getValue(0)); in testRemoveAttribute() 170 assertEquals("abc", multi.getValue(0)); in testGetValueInt() 171 assertEquals("xyz", multi.getValue(1)); in testGetValueInt() 172 assertEquals("42", multi.getValue(2)); in testGetValueInt() 175 assertEquals(null, multi.getValue(-1)); in testGetValueInt() 176 assertEquals(null, multi.getValue(5)); in testGetValueInt() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidChecksumTest.java | 45 assertEquals(adler.getValue(), expected); in adler32Test() 52 assertEquals(adler.getValue(), expected); in adler32Test() 60 assertEquals(crc.getValue(), expected); in cRC32Test() 67 assertEquals(crc.getValue(), expected); in cRC32Test() 86 long arrayChecksum = adler.getValue(); in wrongChecksumWithAdler32Test() 92 " actual: " + adler.getValue(), arrayChecksum, adler.getValue()); in wrongChecksumWithAdler32Test()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SimpleImmutableEntryTest.java | 41 public Object getValue() { in getValue() method in SimpleImmutableEntryTest.NullEntry 56 assertEquals("test", testEntry.getValue()); in test_SimpleImmutableEntry_Constructor_LEntry() 61 assertNull(testEntry.getValue()); in test_SimpleImmutableEntry_Constructor_LEntry() 80 assertEquals("test", entry.getValue()); in test_SimpleImmutableEntry_getValue() 82 assertNull(entry.getValue()); in test_SimpleImmutableEntry_getValue() 87 assertEquals("test", entry.getValue()); in test_SimpleImmutableEntry_setValue() 94 assertEquals("test", entry.getValue()); in test_SimpleImmutableEntry_setValue() 115 ^ (e.getValue() == null ? 0 : e.getValue().hashCode()), e in test_SimpleImmutableEntry_hashCode() 121 assertEquals(e.getKey() + "=" + e.getValue(), e.toString()); in test_SimpleImmutableEntry_toString()
|
D | SimpleEntryTest.java | 40 public Object getValue() { in getValue() method in SimpleEntryTest.NullEntry 55 assertEquals("test", testEntry.getValue()); in test_SimpleEntry_Constructor_LEntry() 60 assertNull(testEntry.getValue()); in test_SimpleEntry_Constructor_LEntry() 79 assertEquals("test", entry.getValue()); in test_SimpleEntry_getValue() 81 assertNull(entry.getValue()); in test_SimpleEntry_getValue() 86 assertEquals("test", entry.getValue()); in test_SimpleEntry_setValue() 88 assertEquals("Another String", entry.getValue()); in test_SimpleEntry_setValue() 107 ^ (e.getValue() == null ? 0 : e.getValue().hashCode()), e in test_SimpleEntry_hashCode() 113 assertEquals(e.getKey() + "=" + e.getValue(), e.toString()); in test_SimpleEntry_toString()
|
D | TreeMapExtendTest.java | 1570 key).getValue()); in test_AscendingSubMap_ceilingEntry() 1572 key).getValue()); in test_AscendingSubMap_ceilingEntry() 1574 key).getValue()); in test_AscendingSubMap_ceilingEntry() 1576 key).getValue()); in test_AscendingSubMap_ceilingEntry() 1581 .ceilingEntry(key).getValue()); in test_AscendingSubMap_ceilingEntry() 1583 .ceilingEntry(key).getValue()); in test_AscendingSubMap_ceilingEntry() 1585 .ceilingEntry(key).getValue()); in test_AscendingSubMap_ceilingEntry() 1587 .ceilingEntry(key).getValue()); in test_AscendingSubMap_ceilingEntry() 1594 key).getValue()); in test_AscendingSubMap_ceilingEntry() 1597 key).getValue()); in test_AscendingSubMap_ceilingEntry() [all …]
|
D | RefSortedMap.java | 55 public V getValue() { in getValue() method in RefSortedMap.MapEntry 67 ^ (getValue() == null ? 0 : getValue().hashCode()); in hashCode() 78 && (getValue() == null ? entry.getValue() == null : getValue() in equals() 79 .equals(entry.getValue())); in equals() 322 return idx >= 0 ? entries.get(idx).getValue() : null; 341 put(e.getKey(), e.getValue()); 352 return entries.remove(idx).getValue(); 385 stream.writeObject(e.getValue());
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractMap.java | 116 if (e.getValue()==null) in containsValue() 122 if (value.equals(e.getValue())) in containsValue() 181 return e.getValue(); in get() 187 return e.getValue(); in get() 253 oldValue = correctEntry.getValue(); in remove() 281 put(e.getKey(), e.getValue()); in putAll() 418 return i.next().getValue(); in values() 490 V value = e.getValue(); in equals() 556 V value = e.getValue(); in toString() 635 this.value = entry.getValue(); in SimpleEntry() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
D | Attributes2ImplTest.java | 78 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributes() 95 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributes() 128 assertEquals("abc", attrs.getValue(0)); in testAddAttribute() 143 assertEquals("abc", attrs.getValue(1)); in testAddAttribute() 161 assertEquals(multi.getValue(0), attrs.getValue(0)); in testRemoveAttribute() 169 assertEquals(multi.getValue(2), attrs.getValue(1)); in testRemoveAttribute() 203 assertEquals(multi.getValue(i), attrs.getValue(i)); in testAttributes2ImplAttributes() 220 assertEquals(multi.getValue(i), attrs.getValue(i)); in testAttributes2ImplAttributes()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | PSourceTest.java | 51 0, PSource.PSpecified.DEFAULT.getValue().length); in testPSpecified() 58 .getValue()[0]); in testPSpecified() 70 byte[] result = ps.getValue(); in testGetValue() 78 result[0] == ps.getValue()[0]); in testGetValue()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | EntryTest.java | 37 assertEquals(v1, e.getValue()); in testConstructor1() 46 assertEquals(v1, s.getValue()); in testConstructor2() 56 assertEquals(v1, e.getValue()); in testConstructor3() 66 assertEquals(v1, s.getValue()); in testConstructor4() 116 assertEquals(v1, e.getValue()); in testSetValue1() 118 assertEquals(k2, e.getValue()); in testSetValue1() 129 assertEquals(v1, s.getValue()); in testSetValue2()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | PKCS12AttributeTest.java | 109 assertEquals(EXAMPLE_EMAIL_ADDRESS, att.getValue()); in test_Constructor_String_String_success() 140 assertEquals(EXAMPLE_EMAIL_ADDRESS, att.getValue()); in test_Constructor_byteArray_success() 163 assertEquals(EXAMPLE_SEQUENCE_OF_EMAILS, att.getValue()); in test_Constructor_String_String_sequenceValue() 172 assertEquals(EXAMPLE_EMAIL_AS_HEX_BYTES, att.getValue()); in test_Constructor_String_String_hexValues() 195 assertEquals(PKCS7_SIGNED_DATA_OID, att.getValue()); in test_encoding_ObjectIdValue()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | Attributes.java | 166 public abstract String getValue (int index); in getValue() method 239 public abstract String getValue (String uri, String localName); in getValue() method 253 public abstract String getValue (String qName); in getValue() method
|
D | AttributeList.java | 150 public abstract String getValue (int i); in getValue() method 190 public abstract String getValue (String name); in getValue() method
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 503 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in Package() 504 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in Package() 505 specVendor = attr.getValue(Name.SPECIFICATION_VENDOR); in Package() 506 implTitle = attr.getValue(Name.IMPLEMENTATION_TITLE); in Package() 507 implVersion = attr.getValue(Name.IMPLEMENTATION_VERSION); in Package() 508 implVendor = attr.getValue(Name.IMPLEMENTATION_VENDOR); in Package() 509 sealed = attr.getValue(Name.SEALED); in Package() 514 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in Package() 517 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in Package() 520 specVendor = attr.getValue(Name.SPECIFICATION_VENDOR); in Package() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 499 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in definePackage() 500 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in definePackage() 501 specVendor = attr.getValue(Name.SPECIFICATION_VENDOR); in definePackage() 502 implTitle = attr.getValue(Name.IMPLEMENTATION_TITLE); in definePackage() 503 implVersion = attr.getValue(Name.IMPLEMENTATION_VERSION); in definePackage() 504 implVendor = attr.getValue(Name.IMPLEMENTATION_VENDOR); in definePackage() 505 sealed = attr.getValue(Name.SEALED); in definePackage() 510 specTitle = attr.getValue(Name.SPECIFICATION_TITLE); in definePackage() 513 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in definePackage() 516 specVendor = attr.getValue(Name.SPECIFICATION_VENDOR); in definePackage() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatAttributes.java | 77 public String getValue(int index) { in getValue() method in ExpatAttributes 122 public String getValue(String uri, String localName) { in getValue() method in ExpatAttributes 133 return getValue(pointer, uri, localName); in getValue() 136 public String getValue(String qName) { in getValue() method in ExpatAttributes 153 private static native String getValue(long attributePointer, String uri, String localName); in getValue() method in ExpatAttributes
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | AttributesTest.java | 94 valueSet.add(e.getValue()); in test_entrySet() 110 assertEquals("a) Incorrect value returned", "one", a.getValue("1")); in test_getLjava_lang_Object() 111 assertNull("b) Incorrect value returned", a.getValue("0")); in test_getLjava_lang_Object() 147 assertEquals("Should not have been replaced", "one", a.getValue("1")); in test_putAllLjava_util_Map() 148 assertEquals("Should have been replaced", "san", a.getValue("3")); in test_putAllLjava_util_Map() 149 assertEquals("Should have been added", "go", a.getValue("5")); in test_putAllLjava_util_Map() 171 assertNull("Should have been removed", a.getValue("1")); in test_removeLjava_lang_Object() 172 assertEquals("Should not have been removed", "four", a.getValue("4")); in test_removeLjava_lang_Object() 229 assertEquals("Assert 1: ", "tools.jar", atts.getValue(Attributes.Name.CLASS_PATH)); in test_putLjava_lang_ObjectLjava_lang_Object()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LinkedHashMapTest.java | 56 assertEquals("value1", newest.getValue()); in test_getOrDefault() 77 assertEquals("value2", newest.getValue()); in test_putIfAbsent() 85 assertEquals("value1", newest.getValue()); in test_putIfAbsent() 109 assertEquals("value2", newest.getValue()); in test_replace$K$V$V() 118 assertEquals("value2", newest.getValue()); in test_replace$K$V$V() 136 assertEquals("value2", newest.getValue()); in test_replace$K$V() 154 assertEquals("value1", newest.getValue()); in test_computeIfAbsent() 163 assertEquals("value3", newest.getValue()); in test_computeIfAbsent() 180 assertEquals("value3", newest.getValue()); in test_computeIfPresent() 197 assertEquals("value3", newest.getValue()); in test_compute() [all …]
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Era.java | 122 int getValue(); in getValue() method 210 return getValue(); in get() 240 return getValue(); in getLong() 301 return temporal.with(ERA, getValue()); in adjustInto()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | AttributeListImpl.java | 121 addAttribute(atts.getName(i), atts.getType(i), atts.getValue(i)); in setAttributeList() 246 public String getValue(int i) { in getValue() method in AttributeListImpl 276 public String getValue(String name) { in getValue() method in AttributeListImpl 277 return getValue(names.indexOf(name)); in getValue()
|