Lines Matching refs:doc
47 DocType *doc = new tinyxml2::XMLDocument(); in createDocument() local
48 if (doc->Parse(xml.c_str()) == tinyxml2::XML_SUCCESS) { in createDocument()
49 return doc; in createDocument()
51 delete doc; in createDocument()
159 DocType *doc = createDocument(); in serialize() local
160 appendChild(doc, serialize(o, doc, flags)); in serialize()
161 std::string s = printDocument(doc); in serialize()
162 deleteDocument(doc); in serialize()
183 auto doc = createDocument(xml); in operator ()() local
184 if (doc == nullptr) { in operator ()()
188 bool ret = deserialize(o, getRootChild(doc), error); in operator ()()
189 deleteDocument(doc); in operator ()()