/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | AttributeListImplTest.java | 39 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 …]
|
D | AttributesImplTest.java | 44 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/ |
D | NodeNormalize.java | 167 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 …]
|
D | GetElementsByTagNameNS.java | 77 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 …]
|
D | DocumentGetElementsByTagnameNS.java | 72 .getLength()); in testGetElementsByTagNameNS1() 86 .getLength()); in testGetElementsByTagNameNS2() 94 .getLength()); in testGetElementsByTagNameNS3() 104 .getLength()); in testGetElementsByTagNameNS4() 112 .getLength()); in testGetElementsByTagNameNS5()
|
D | ElementGetElementsByTagNameNS.java | 58 .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/ |
D | Attributes2ImplTest.java | 70 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/ojluni/src/main/java/sun/security/util/ |
D | DerInputStream.java | 195 return buffer.getInteger(getLength(buffer)); in getInteger() 207 return buffer.getBigInteger(getLength(buffer), false); in getBigInteger() 221 return buffer.getBigInteger(getLength(buffer), true); in getPositiveBigInteger() 233 return buffer.getInteger(getLength(buffer)); in getEnumerated() 244 return buffer.getBitString(getLength(buffer)); in getBitString() 255 int length = getLength(buffer) - 1; in getUnalignedBitString() 286 int length = getLength(buffer); in getOctetString() 427 int len = getLength(lenByte, buffer); in readVector() 444 len = DerInputStream.getLength(buffer); in readVector() 562 int length = getLength(buffer); in readString() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | BidiTest.java | 150 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/main/java/org/xml/sax/ext/ |
D | Attributes2Impl.java | 89 if (index < 0 || index >= getLength ()) in isDeclared() 137 if (index < 0 || index >= getLength ()) in isSpecified() 203 int length = atts.getLength (); in setAttributes() 250 int length = getLength (); in addAttribute() 270 int origMax = getLength () - 1; in removeAttribute() 295 if (index < 0 || index >= getLength ()) in setDeclared() 314 if (index < 0 || index >= getLength ()) in setSpecified()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatAttributes.java | 40 public abstract int getLength(); in getLength() method in ExpatAttributes 55 if (index < 0 || index >= getLength()) { in getURI() 62 return (index < 0 || index >= getLength()) in getLocalName() 68 return (index < 0 || index >= getLength()) in getQName() 74 return (index < 0 || index >= getLength()) ? null : CDATA; in getType() 78 return (index < 0 || index >= getLength()) in getValue()
|
/libcore/ojluni/src/main/java/java/text/ |
D | Bidi.java | 219 if (lineStart < 0 || lineLimit < 0 || lineStart > lineLimit || lineLimit > getLength()) { in createLineBidi() 221 … "limit=" + lineLimit + ", length=" + getLength() + ")"); in createLineBidi() 269 public int getLength() { in getLength() method in Bidi 270 return bidiBase.getLength(); in getLength() 359 return (bidiBase.countRuns() == 0 ? bidiBase.getLength() : bidiBase.getRunLimit(run)); in getRunLimit() 428 + " length: " + bidiBase.getLength() + " runs: " + bidiBase.getRunCount() + "]"; in toString()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SaxTest.java | 45 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramPacketTest.java | 40 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/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldAndroidArrayTest.java | 45 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/dom/src/test/java/org/w3c/domts/level1/core/ |
D | nodechildnodesappendchild.java | 71 expectedLength = (int) childList.getLength(); in runTest() 75 length = (int) childList.getLength(); in runTest()
|
D | hc_nodeclonenodetrue.java | 84 for (int indexN10065 = 0; indexN10065 < origList.getLength(); indexN10065++) { in runTest() 91 for (int indexN1007B = 0; indexN1007B < clonedList.getLength(); indexN1007B++) { in runTest()
|
D | textparseintolistofelements.java | 88 length = (int) childList.getLength(); in runTest() 89 for (int indexN1007F = 0; indexN1007F < childList.getLength(); indexN1007F++) { in runTest()
|
D | hc_textparseintolistofelements.java | 87 length = (int) childList.getLength(); in runTest() 88 for (int indexN1007C = 0; indexN1007C < childList.getLength(); indexN1007C++) { in runTest()
|
D | nodelisttraverselist.java | 99 length = (int) employeeList.getLength(); in runTest() 100 for (int indexN100A4 = 0; indexN100A4 < employeeList.getLength(); indexN100A4++) { in runTest()
|
D | nodeclonenodetrue.java | 104 length = (int) childList.getLength(); in runTest() 107 for (int indexN100AE = 0; indexN100AE < clonedList.getLength(); indexN100AE++) { in runTest()
|
D | hc_nodeappendchildchildexists.java | 92 for (int indexN10085 = 0; indexN10085 < childList.getLength(); indexN10085++) { in runTest() 99 for (int indexN1009C = 0; indexN1009C < childList.getLength(); indexN1009C++) { in runTest()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | XmlSupport.java | 219 if (elements == null || elements.getLength() != 1) { in importPreferences() 312 @Override public int getLength() { return delegate.size(); } in getLength() method in XmlSupport.NodeListAdapter 316 List<Element> elements = new ArrayList<>(xmlKids.getLength()); in elementNodesOf() 317 for (int i = 0; i < xmlKids.getLength(); ++i) { in elementNodesOf() 336 int numXmlKids = xmlKids.getLength(); in ImportSubtree() 375 for (int i=0, numEntries = entries.getLength(); i < numEntries; i++) { in ImportPrefs() 435 for (int i=0, numEntries=entries.getLength(); i<numEntries; i++) { in importMap()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | documentimportnode12.java | 89 addressElemLen = (int) addressElemChildren.getLength(); in runTest() 90 importedLen = (int) importedChildren.getLength(); in runTest()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | AttributeListImpl.java | 116 int count = atts.getLength(); in setAttributeList() 199 public int getLength() { in getLength() method in AttributeListImpl
|