Home
last modified time | relevance | path

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

/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java45 private String[] nspStack = new String[8]; field in KXmlSerializer
102 if (!nspStack[i * 2].isEmpty()) { in check()
104 append(nspStack[i * 2]); in check()
106 else if (getNamespace().isEmpty() && !nspStack[i * 2 + 1].isEmpty()) in check()
109 writeEscaped(nspStack[i * 2 + 1], '"'); in check()
241 if (nspStack[i + 1].equals(namespace) in getPrefix()
242 && (includeDefault || !nspStack[i].isEmpty())) { in getPrefix()
243 String cand = nspStack[i]; in getPrefix()
247 if (nspStack[j].equals(cand)) { in getPrefix()
270 if (prefix.equals(nspStack[i])) { in getPrefix()
[all …]
DKXmlParser.java134 private String[] nspStack = new String[8]; field in KXmlParser
217 nspStack = ensureCapacity(nspStack, j + 2); in adjustNsp()
218 nspStack[j] = attrName; in adjustNsp()
219 nspStack[j + 1] = attributes[i + 3]; in adjustNsp()
1837 return nspStack[pos * 2]; in getNamespacePrefix()
1841 return nspStack[(pos * 2) + 1]; in getNamespaceUri()
1854 if (nspStack[i] == null) { in getNamespace()
1855 return nspStack[i + 1]; in getNamespace()
1857 } else if (prefix.equals(nspStack[i])) { in getNamespace()
1858 return nspStack[i + 1]; in getNamespace()