Home
last modified time | relevance | path

Searched refs:attributeCount (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java58 private int attributeCount = -1; field in ExpatParser
143 long attributePointer, int attributeCount) throws SAXException { in startElement() argument
152 this.attributeCount = attributeCount; in startElement()
158 this.attributeCount = -1; in startElement()
621 if (attributeCount == 0) { in cloneAttributes()
626 = cloneAttributes(this.attributePointer, this.attributeCount); in cloneAttributes()
627 return new ClonedAttributes(pointer, clonePointer, attributeCount); in cloneAttributes()
630 private static native long cloneAttributes(long pointer, int attributeCount); in cloneAttributes() argument
736 return attributeCount; in getLength()
794 long attributePointer, int attributeCount) throws SAXException { in startElement() argument
[all …]
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java164 private int attributeCount; field in KXmlParser
197 for (int i = 0; i < attributeCount << 2; i += 4) { in adjustNsp()
236 ((--attributeCount) << 2) - i); in adjustNsp()
244 for (int i = (attributeCount << 2) - 4; i >= 0; i -= 4) { in adjustNsp()
361 attributeCount = -1; in next()
528 if (attributeCount < 1 || !"version".equals(attributes[2])) { in readXmlDeclaration()
536 if (pos < attributeCount && "encoding".equals(attributes[2 + 4])) { in readXmlDeclaration()
541 if (pos < attributeCount && "standalone".equals(attributes[4 * pos + 2])) { in readXmlDeclaration()
553 if (pos != attributeCount) { in readXmlDeclaration()
1060 attributeCount = 0; in parseStartTag()
[all …]
/libcore/ojluni/src/main/java/java/text/
DAttributedString.java156 int attributeCount = attributes.size(); in AttributedString() local
157 if (attributeCount > 0) { in AttributedString()
159 Vector<Attribute> newRunAttributes = new Vector<>(attributeCount); in AttributedString()
160 Vector<Object> newRunAttributeValues = new Vector<>(attributeCount); in AttributedString()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp188 int attributeCount; member
637 parsingContext->attributeCount = count; in startElement()
654 parsingContext->attributeCount = -1; in startElement()