Home
last modified time | relevance | path

Searched refs:xmlDocument_ (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/graphic_2d_configure/src/
H A Dgraphic_2d_xml_parser.cpp24 xmlDocument_ = xmlReadFile(fileDir, nullptr, 0); in LoadConfiguration()
25 if (!xmlDocument_) { in LoadConfiguration()
40 if (!xmlDocument_) { in Parse()
41 RS_LOGE("Graphic2dXmlParser xmlDocument_ is empty, should do LoadConfiguration first"); 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()
/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()
41 HILOG_ERROR("null xmlDocument_"); in Parse()
45 xmlNodePtr root = xmlDocGetRootElement(xmlDocument_); in Parse()
H A Dform_xml_parser.h43 xmlDocPtr xmlDocument_ = nullptr; member in OHOS::AppExecFwk::FormXMLParser
/foundation/graphic/graphic_2d/rosen/modules/graphic_2d_configure/include/
H A Dgraphic_2d_xml_parser.h34 explicit Graphic2dXmlParser() : xmlDocument_(nullptr) {} in Graphic2dXmlParser()
52 xmlDoc *xmlDocument_ = nullptr; member in OHOS::Rosen::Graphic2dXmlParser
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/config/
H A Dxml_parser.h35 explicit XMLParser() : xmlDocument_(nullptr) {} in XMLParser()
69 xmlDoc *xmlDocument_ = nullptr; member in OHOS::Rosen::XMLParser
H A Dxml_parser.cpp24 xmlDocument_ = xmlReadFile(fileDir, nullptr, 0); in LoadConfiguration()
25 if (!xmlDocument_) { in LoadConfiguration()
40 if (!xmlDocument_) { in Parse()
41 HGM_LOGE("XMLParser xmlDocument_ is empty, should do LoadConfiguration first"); 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()
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_xml_parser_test.cpp59 STEP_ASSERT_EQ(parser->xmlDocument_, nullptr); in HWTEST_F()

Completed in 3 milliseconds