Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 155) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributeListImplTest.java39 assertEquals(0, empty.getLength()); in testAttributeListImpl()
40 assertEquals(3, multi.getLength()); in testAttributeListImpl()
46 assertEquals(0, ai.getLength()); in testAttributeListImplAttributeList()
50 assertEquals(3, ai.getLength()); in testAttributeListImplAttributeList()
55 assertEquals(0, ai.getLength()); in testAttributeListImplAttributeList()
68 assertEquals(0, attrs.getLength()); in testSetAttributeList()
71 assertEquals(multi.getLength(), attrs.getLength()); in testSetAttributeList()
73 for (int i = 0; i < multi.getLength(); i++) { in testSetAttributeList()
85 assertEquals(3, attrs.getLength()); in testSetAttributeList()
120 assertEquals(2, multi.getLength()); in testRemoveAttribute()
[all …]
DAttributesImplTest.java44 assertEquals(0, empty.getLength()); in testAttributesImpl()
45 assertEquals(5, multi.getLength()); in testAttributesImpl()
51 assertEquals(0, ai.getLength()); in testAttributesImplAttributes()
55 assertEquals(5, ai.getLength()); in testAttributesImplAttributes()
60 assertEquals(0, ai.getLength()); in testAttributesImplAttributes()
69 assertEquals(0, ai.getLength()); in testGetLength()
72 assertEquals(5, ai.getLength()); in testGetLength()
76 assertEquals(i, ai.getLength()); in testGetLength()
230 assertEquals(5, multi.getLength()); in testClear()
232 assertEquals(0, multi.getLength()); in testClear()
[all …]
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeNormalize.java167 assertEquals("nodeNormalize01_1Bef", 6, elementList.getLength()); in testNormalize()
169 assertEquals("nodeNormalize01_2Bef", 3, elementList.getLength()); in testNormalize()
171 assertEquals("nodeNormalize01_3Bef", 3, elementList.getLength()); in testNormalize()
173 assertEquals("nodeNormalize01_4Bef", 3, elementList.getLength()); in testNormalize()
175 assertEquals("nodeNormalize01_5Bef", 3, elementList.getLength()); in testNormalize()
177 assertEquals("nodeNormalize01_6Bef", 3, elementList.getLength()); in testNormalize()
179 assertEquals("nodeNormalize01_7Bef", 4, elementList.getLength()); in testNormalize()
182 assertEquals("nodeNormalize01_1Aft", 6, elementList.getLength()); in testNormalize()
184 assertEquals("nodeNormalize01_2Aft", 1, elementList.getLength()); in testNormalize()
186 assertEquals("nodeNormalize01_3Aft", 2, elementList.getLength()); in testNormalize()
[all …]
DGetElementsByTagNameNS.java77 assertEquals("throw_Size", 36, newList.getLength()); in testGetElementsByTagNameNS1()
88 assertEquals("employeeCount", 5, newList.getLength()); in testGetElementsByTagNameNS2()
120 for (int indexN10076 = 0; indexN10076 < elementList.getLength(); indexN10076++) { in testGetElementsByTagNameNS3()
143 for (int indexN10059 = 0; indexN10059 < elementList.getLength(); indexN10059++) { in testGetElementsByTagNameNS4()
157 assertEquals("throw_Size", 0, elementList.getLength()); in testGetElementsByTagNameNS5()
165 assertEquals("matchSize", 0, elementList.getLength()); in testGetElementsByTagNameNS6()
173 assertEquals("addresses", 3, elementList.getLength()); in testGetElementsByTagNameNS7()
182 assertEquals("listSize", 35, newList.getLength()); in testGetElementsByTagNameNS8()
194 assertEquals("employeeCount", 5, newList.getLength()); in testGetElementsByTagNameNS9()
229 for (int indexN1007E = 0; indexN1007E < elementList.getLength(); indexN1007E++) { in testGetElementsByTagNameNS10()
[all …]
DDocumentGetElementsByTagnameNS.java72 .getLength()); in testGetElementsByTagNameNS1()
86 .getLength()); in testGetElementsByTagNameNS2()
94 .getLength()); in testGetElementsByTagNameNS3()
104 .getLength()); in testGetElementsByTagNameNS4()
112 .getLength()); in testGetElementsByTagNameNS5()
DElementGetElementsByTagNameNS.java58 .getLength()); in testGetElementsByTagNameNS1()
82 .getLength()); in testGetElementsByTagNameNS4()
85 .getLength()); in testGetElementsByTagNameNS4()
96 .getLength()); in testGetElementsByTagNameNS5()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
DAttributes2ImplTest.java70 assertEquals(0, attrs.getLength()); in testSetAttributes()
73 for (int i = 0; i < multi.getLength(); i++) { in testSetAttributes()
84 assertEquals(0, attrs.getLength()); in testSetAttributes()
88 assertEquals(multi.getLength(), attrs.getLength()); in testSetAttributes()
90 for (int i = 0; i < multi.getLength(); i++) { in testSetAttributes()
102 assertEquals(1, attrs.getLength()); in testSetAttributes()
122 assertEquals(1, attrs.getLength()); in testAddAttribute()
137 assertEquals(2, attrs.getLength()); in testAddAttribute()
155 assertEquals(3, attrs.getLength()); in testRemoveAttribute()
190 assertEquals(0, empty.getLength()); in testAttributes2Impl()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatAttributes.java34 public abstract int getLength(); in getLength() method in ExpatAttributes
49 if (index < 0 || index >= getLength()) { in getURI()
56 return (index < 0 || index >= getLength()) in getLocalName()
62 return (index < 0 || index >= getLength()) in getQName()
68 return (index < 0 || index >= getLength()) ? null : CDATA; in getType()
72 return (index < 0 || index >= getLength()) in getValue()
/libcore/luni/src/main/java/org/xml/sax/ext/
DAttributes2Impl.java84 if (index < 0 || index >= getLength ()) in isDeclared()
132 if (index < 0 || index >= getLength ()) in isSpecified()
198 int length = atts.getLength (); in setAttributes()
245 int length = getLength (); in addAttribute()
265 int origMax = getLength () - 1; in removeAttribute()
290 if (index < 0 || index >= getLength ()) in setDeclared()
309 if (index < 0 || index >= getLength ()) in setSpecified()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBidiTest.java150 assertEquals(0, bd.getLength()); in testEmptyParagraph()
162 assertEquals(0, bd.getLength()); in testEmptyParagraph()
174 assertEquals(0, bd.getLength()); in testEmptyParagraph()
186 assertEquals(0, bd.getLength()); in testEmptyParagraph()
200 assertEquals(1, bd.getLength()); in testSpaceParagraph()
212 assertEquals(1, bd.getLength()); in testSpaceParagraph()
224 assertEquals(1, bd.getLength()); in testSpaceParagraph()
236 assertEquals(1, bd.getLength()); in testSpaceParagraph()
250 assertEquals(1, bd.getLength()); in testSimpleParagraph()
262 assertEquals(1, bd.getLength()); in testSimpleParagraph()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DSaxTest.java45 assertEquals(1, attributes.getLength()); in testNoPrefixesNoNamespaces()
58 assertEquals(1, attributes.getLength()); in testNoPrefixesNoNamespaces()
73 assertEquals(1, attributes.getLength()); in testNoPrefixesYesNamespaces()
86 assertEquals(1, attributes.getLength()); in testNoPrefixesYesNamespaces()
105 assertEquals(1, attributes.getLength()); in testYesPrefixesYesNamespaces()
118 assertEquals(2, attributes.getLength()); in testYesPrefixesYesNamespaces()
136 assertEquals(1, attributes.getLength()); in testYesPrefixesNoNamespaces()
149 assertEquals(1, attributes.getLength()); in testYesPrefixesNoNamespaces()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidArrayTest.java45 assertEquals(Array.getLength(intArray), array.length); in testSingleInt()
55 assertEquals(0, Array.getLength(intArray)); in testSingleInt()
71 assertEquals(Array.getLength(strArray), array.length); in testSingle()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramPacketTest.java40 assertEquals("Wrong length", 5, dp.getLength()); in test_Constructor$BI()
60 assertEquals("Wrong length", 3, dp.getLength()); in test_Constructor$BII()
73 assertEquals("Wrong length", 3, dp.getLength()); in test_Constructor$BIILjava_net_InetAddressI()
87 assertEquals("Wrong length", 5, dp.getLength()); in test_Constructor$BILjava_net_InetAddressI()
114 assertEquals("Incorrect length returned", 5, dp.getLength()); in test_getLength()
184 assertEquals("Failed to set packet length", 1, dp.getLength()); in test_setLengthI()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dnodechildnodesappendchild.java71 expectedLength = (int) childList.getLength(); in runTest()
75 length = (int) childList.getLength(); in runTest()
Dhc_nodeclonenodetrue.java84 for (int indexN10065 = 0; indexN10065 < origList.getLength(); indexN10065++) { in runTest()
91 for (int indexN1007B = 0; indexN1007B < clonedList.getLength(); indexN1007B++) { in runTest()
Dhc_textparseintolistofelements.java87 length = (int) childList.getLength(); in runTest()
88 for (int indexN1007C = 0; indexN1007C < childList.getLength(); indexN1007C++) { in runTest()
Dtextparseintolistofelements.java88 length = (int) childList.getLength(); in runTest()
89 for (int indexN1007F = 0; indexN1007F < childList.getLength(); indexN1007F++) { in runTest()
Dhc_nodeappendchildchildexists.java92 for (int indexN10085 = 0; indexN10085 < childList.getLength(); indexN10085++) { in runTest()
99 for (int indexN1009C = 0; indexN1009C < childList.getLength(); indexN1009C++) { in runTest()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Ddocumentimportnode12.java89 addressElemLen = (int) addressElemChildren.getLength(); in runTest()
90 importedLen = (int) importedChildren.getLength(); in runTest()
/libcore/luni/src/main/java/org/w3c/dom/
DNodeList.java39 public int getLength(); in getLength() method
DDOMImplementationList.java41 public int getLength(); in getLength() method
DDOMStringList.java40 public int getLength(); in getLength() method
DNameList.java47 public int getLength(); in getLength() method
/libcore/luni/src/main/java/org/xml/sax/helpers/
DAttributeListImpl.java116 int count = atts.getLength(); in setAttributeList()
199 public int getLength() { in getLength() method in AttributeListImpl
/libcore/luni/src/main/java/org/xml/sax/
DAttributeList.java91 public abstract int getLength (); in getLength() method

1234567