Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 146) sorted by relevance

123456

/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
DAttributeListImplTest.java76 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 …]
DAttributesImplTest.java134 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 …]
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidChecksumTest.java45 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/luni/src/main/java/java/util/
DAbstractMap.java65 value = copyFrom.getValue(); in SimpleImmutableEntry()
72 public V getValue() { in getValue() method in AbstractMap.SimpleImmutableEntry
92 && (value == null ? entry.getValue() == null : value in equals()
93 .equals(entry.getValue())); in equals()
130 value = copyFrom.getValue(); in SimpleEntry()
137 public V getValue() { in getValue() method in AbstractMap.SimpleEntry
155 && (value == null ? entry.getValue() == null : value in equals()
156 .equals(entry.getValue())); in equals()
217 if (value.equals(it.next().getValue())) { in containsValue()
223 if (it.next().getValue() == null) { in containsValue()
[all …]
DMapEntry.java59 && (value == null ? entry.getValue() == null : value in equals()
60 .equals(entry.getValue())); in equals()
69 public V getValue() { in getValue() method in MapEntry
/libcore/support/src/test/java/tests/util/
DCallVerificationStack.java212 Boolean value = (Boolean) wrapper.getValue(); in popBoolean()
223 Character value = (Character) wrapper.getValue(); in popChar()
234 Double value = (Double) wrapper.getValue(); in popDouble()
245 Float value = (Float) wrapper.getValue(); in popFloat()
256 Integer value = (Integer) wrapper.getValue(); in popInt()
267 Long value = (Long) wrapper.getValue(); in popLong()
278 Short value = (Short) wrapper.getValue(); in popShort()
349 public Object getValue() { in getValue() method in CallVerificationStack.BaseTypeWrapper
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPSourceTest.java51 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/luni/src/main/java/org/xml/sax/
DAttributes.java166 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
DAttributeList.java150 public abstract String getValue (int i); in getValue() method
190 public abstract String getValue (String name); in getValue() method
/libcore/luni/src/test/java/tests/api/org/xml/sax/ext/
DAttributes2ImplTest.java78 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/main/java/org/apache/harmony/xml/
DExpatAttributes.java71 public String getValue(int index) { in getValue() method in ExpatAttributes
116 public String getValue(String uri, String localName) { in getValue() method in ExpatAttributes
127 return getValue(pointer, uri, localName); in getValue()
130 public String getValue(String qName) { in getValue() method in ExpatAttributes
147 private static native String getValue(int attributePointer, String uri, String localName); in getValue() method in ExpatAttributes
/libcore/luni/src/main/java/org/xml/sax/helpers/
DAttributeListImpl.java121 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()
DXMLReaderAdapter.java502 public String getValue (int i) in getValue() method in XMLReaderAdapter.AttributesAdapter
504 return attributes.getValue(i); in getValue()
526 public String getValue (String qName) in getValue() method in XMLReaderAdapter.AttributesAdapter
528 return attributes.getValue(qName); in getValue()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldAttributesTest.java38 a.getValue("IllegalArgumentException expected"); in test_getLjava_lang_Object()
63 .getValue(new Attributes.Name("1"))); in test_getValueLjava_util_jar_Attributes_Name()
65 .getValue(new Attributes.Name("0"))); in test_getValueLjava_util_jar_Attributes_Name()
/libcore/luni/src/test/java/libcore/net/http/
DRawHeadersTest.java50 assertEquals("value1", h2.getValue(0)); in test_copyConstructor()
52 assertEquals("value2", h2.getValue(1)); in test_copyConstructor()
/libcore/support/src/test/java/tests/resources/
Dhyts_checkInput.txt3 //System.out.print("value of crc"+crc.getValue());
/libcore/luni/src/main/java/java/util/zip/
DChecksum.java30 public long getValue(); in getValue() method
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigest2Test.java81 for (String algorithm : e.getValue()) { in test_clone()
243 for (String algorithm : e.getValue()) { in test_digest$B()
256 for (String algorithm : e.getValue()) { in test_digest$BII()
288 for (String algorithm : e.getValue()) { in test_getAlgorithm()
300 for (String algorithm : e.getValue()) { in test_getDigestLength()
312 for (String algorithm : e.getValue()) { in test_getInstanceLjava_lang_String()
331 for (String algorithm : e.getValue()) { in test_getInstanceLjava_lang_StringLjava_lang_String()
376 for (String algorithm : e.getValue()) { in test_getInstanceLjava_lang_StringLjava_security_Provider()
406 for (String algorithm : e.getValue()) { in test_getProvider()
/libcore/luni/src/main/java/org/w3c/dom/
DAttr.java190 public String getValue(); in getValue() method
/libcore/luni/src/main/java/java/text/
DAnnotation.java56 public Object getValue() { in getValue() method in Annotation
/libcore/luni/src/main/java/java/util/jar/
DJarVerifier.java179 HashMap<String, Attributes> hm = entry.getValue(); in initEntry()
193 String algorithms = attributes.getValue("Digest-Algorithms"); in initEntry()
200 String hash = attributes.getValue(algorithm + "-Digest"); in initEntry()
319 String createdBy = attributes.getValue("Created-By"); in verifyCertificate()
348 if (!verify(entry.getValue(), "-Digest", manifest, in verifyCertificate()
381 String algorithms = attributes.getValue("Digest-Algorithms"); in verify()
388 String hash = attributes.getValue(algorithm + entry); in verify()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DAttrImpl.java85 return getValue(); in getNodeValue()
101 public String getValue() { in getValue() method in AttrImpl
/libcore/luni/src/test/java/libcore/java/util/
DTreeMapTest.java45 assertEquals("x", entryA.getValue()); in testEntrySetSetValue()
51 assertEquals("y", entryB.getValue()); in testEntrySetSetValue()
53 assertEquals("z", entryC.getValue()); in testEntrySetSetValue()
72 assertEquals("x", entryA.getValue()); in testSubMapEntrySetSetValue()
79 assertEquals("y", entryB.getValue()); in testSubMapEntrySetSetValue()
82 assertEquals("z", entryC.getValue()); in testSubMapEntrySetSetValue()
128 String initialValue = entry.getValue(); in assertImmutable()
134 assertEquals(initialValue, entry.getValue()); in assertImmutable()
/libcore/dom/src/test/java/org/w3c/domts/
DXercesHTMLDocumentBuilderFactory.java185 public String getValue(int i) { in getValue() method in XercesHTMLDocumentBuilderFactory.HTMLHandler
186 return currentAttributes.getValue(i); in getValue()
193 public String getValue(String name) { in getValue() method in XercesHTMLDocumentBuilderFactory.HTMLHandler
194 return currentAttributes.getValue(name); in getValue()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java46 entry.setValue(new HashSet<String>(entry.getValue())); in test_Provider_getServices()
148 Object v = entry.getValue(); in test_Provider_Properties()
176 String className = entry.getValue(); in test_Provider_Properties()
192 String actual = entry.getValue(); in test_Provider_Properties()

123456