Home
last modified time | relevance | path

Searched refs:elementStack (Results 1 – 2 of 2) sorted by relevance

/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java42 private String[] elementStack = new String[12]; field in KXmlSerializer
201 endTag(elementStack[depth * 3 - 3], elementStack[depth * 3 - 1]); in endDocument()
411 if (elementStack.length < esp + 3) { in startTag()
412 String[] hlp = new String[elementStack.length + 12]; in startTag()
413 System.arraycopy(elementStack, 0, hlp, 0, esp); in startTag()
414 elementStack = hlp; in startTag()
432 elementStack[esp++] = namespace; in startTag()
433 elementStack[esp++] = prefix; in startTag()
434 elementStack[esp] = name; in startTag()
520 && elementStack[depth * 3] != null) in endTag()
[all …]
DKXmlParser.java133 private String[] elementStack = new String[16]; field in KXmlParser
979 if (name.equals(elementStack[sp + 3])) { in readEndTag()
980 namespace = elementStack[sp]; in readEndTag()
981 prefix = elementStack[sp + 1]; in readEndTag()
982 name = elementStack[sp + 2]; in readEndTag()
985 "expected: /" + elementStack[sp + 3] + " read: " + name, this, null); in readEndTag()
1141 elementStack = ensureCapacity(elementStack, sp + 4); in parseStartTag()
1142 elementStack[sp + 3] = name; in parseStartTag()
1177 elementStack[sp] = namespace; in parseStartTag()
1178 elementStack[sp + 1] = prefix; in parseStartTag()
[all …]