Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/form_fwk/services/config/
H A Dform_xml_parser.cpp29 if (xmlDocument_ != nullptr) { in ~FormXMLParser()
30 xmlFreeDoc(xmlDocument_); in ~FormXMLParser()
31 xmlDocument_ = nullptr; in ~FormXMLParser()
39 xmlDocument_ = xmlReadFile(CONFIG_FILE, nullptr, XML_PARSE_NOBLANKS); in Parse()
40 if (xmlDocument_ == nullptr) { in Parse()
45 xmlNodePtr root = xmlDocGetRootElement(xmlDocument_); in Parse()
H A Dform_xml_parser.h43 xmlDocPtr xmlDocument_ = nullptr; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/config/
H A Dxml_parser.cpp24 xmlDocument_ = xmlReadFile(fileDir, nullptr, 0); in LoadConfiguration()
25 if (!xmlDocument_) { in LoadConfiguration()
40 if (!xmlDocument_) { in Parse()
44 xmlNode *root = xmlDocGetRootElement(xmlDocument_); in Parse()
59 if (xmlDocument_ != nullptr) { in Destroy()
60 xmlFreeDoc(xmlDocument_); in Destroy()
61 xmlDocument_ = nullptr; in Destroy()
H A Dxml_parser.h35 explicit XMLParser() : xmlDocument_(nullptr) {} in XMLParser()
68 xmlDoc *xmlDocument_ = nullptr; variable