Home
last modified time | relevance | path

Searched refs:docPtr (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/power_manager/services/native/src/
Dpower_save_mode.cpp61 std::unique_ptr<xmlDoc, decltype(&xmlFreeDoc)> docPtr( in StartXMlParse() local
63 if (docPtr == nullptr) { in StartXMlParse()
68 auto rootPtr = xmlDocGetRootElement(docPtr.get()); in StartXMlParse()
/base/powermgr/thermal_manager/application/protector/src/policy/
Dthermal_kernel_config_file.cpp45 std::unique_ptr<xmlDoc, decltype(&xmlFreeDoc)> docPtr( in ParseThermalKernelXML() local
47 if (docPtr == nullptr) { in ParseThermalKernelXML()
52 auto rootNode = xmlDocGetRootElement(docPtr.get()); in ParseThermalKernelXML()
/base/web/webview/ohos_nweb/src/
Dnweb_helper.cpp494 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS); in ParseConfig() local
495 if (docPtr == nullptr) { in ParseConfig()
500 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in ParseConfig()
504 xmlFreeDoc(docPtr); in ParseConfig()
509 xmlFreeDoc(docPtr); in ParseConfig()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp92 std::unique_ptr<xmlDoc, decltype(&xmlFreeDoc)> docPtr( in ParseXmlFile() local
94 if (docPtr == nullptr) { in ParseXmlFile()
99 auto rootNode = xmlDocGetRootElement(docPtr.get()); in ParseXmlFile()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp49 std::unique_ptr<xmlDoc, decltype(&xmlFreeDoc)> docPtr( in ParseXmlFile() local
51 if (docPtr == nullptr) { in ParseXmlFile()
56 auto rootNode = xmlDocGetRootElement(docPtr.get()); in ParseXmlFile()