Home
last modified time | relevance | path

Searched refs:elementName (Results 1 – 3 of 3) sorted by relevance

/system/libvintf/
Dparse_xml.cpp149 virtual std::string elementName() const = 0;
155 NodeType *root = createNode(this->elementName(), d); in serialize()
175 if (nameOf(root) != this->elementName()) { in deserialize()
266 attrText + "\" for element <" + elementName() + ">"; in parseAttr()
276 elementName() + ">"; in parseAttr()
281 inline bool parseTextElement(NodeType* root, const std::string& elementName, std::string* s, in parseTextElement()
283 NodeType *child = getChild(root, elementName); in parseTextElement()
285 *error = "Could not find element with name <" + elementName + "> in element <" + in parseTextElement()
286 this->elementName() + ">"; in parseTextElement()
293 inline bool parseOptionalTextElement(NodeType* root, const std::string& elementName, in parseOptionalTextElement()
[all …]
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java478 String elementName = getElementName(elementValue); in printWriter() local
479 String variableName = Utils.toVariableName(elementName); in printWriter()
683 String elementName = element.getName(); in printXmlParser() local
684 String VariableName = Utils.toVariableName(elementName); in printXmlParser()
702 elementName); in printXmlParser()
706 elementName, elementName); in printXmlParser()
719 String elementName = element.getName(); in printXmlWriter() local
720 String VariableName = Utils.toVariableName(elementName); in printXmlWriter()
729 cppFile.printf("%s.write(out, \"%s\");\n", VariableName, elementName); in printXmlWriter()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java395 String elementName = getElementName(elementValue); in printWriter() local
396 String variableName = Utils.toVariableName(elementName); in printWriter()
594 String elementName = element.getName(); in printXmlWriter() local
595 String VariableName = Utils.toVariableName(elementName); in printXmlWriter()
601 out.printf("%s.write(out, \"%s\");\n}\n}\n\n", VariableName, elementName); in printXmlWriter()