Home
last modified time | relevance | path

Searched refs:doc_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_usage_strategy_parser.cpp26 doc_ = xmlReadFile(DEVICE_CONFIG_FILE, nullptr, 0); in LoadConfiguration()
27 if (doc_ == nullptr) { in LoadConfiguration()
34 CHECK_AND_RETURN_RET_LOG(doc_ != nullptr, false, "xmlReadFile failed"); in LoadConfiguration()
41 xmlNode *root = xmlDocGetRootElement(doc_); in Parse()
52 if (doc_ != nullptr) { in Destroy()
53 xmlFreeDoc(doc_); in Destroy()
H A Daudio_strategy_router_parser.cpp34 doc_ = xmlReadFile(DEVICE_CONFIG_FILE, nullptr, 0); in LoadConfiguration()
35 if (doc_ == nullptr) { in LoadConfiguration()
48 xmlNode *root = xmlDocGetRootElement(doc_); in Parse()
58 if (doc_ != nullptr) { in Destroy()
59 xmlFreeDoc(doc_); in Destroy()
H A Daudio_concurrency_parser.cpp23 doc_ = xmlReadFile(AUDIO_CONCURRENCY_CONFIG_FILE, nullptr, 0); in LoadConfig()
24 …CHECK_AND_RETURN_RET_LOG(doc_ != nullptr, ERR_OPERATION_FAILED, "xmlRead AudioConcurrencyConfigFil… in LoadConfig()
25 xmlNode *root = xmlDocGetRootElement(doc_); in LoadConfig()
29 xmlFreeDoc(doc_); in LoadConfig()
H A Daudio_policy_parser.cpp65 doc_ = xmlReadFile(CHIP_PROD_CONFIG_FILE, nullptr, 0); in LoadConfiguration()
66 if (doc_ == nullptr) { in LoadConfiguration()
67 doc_ = xmlReadFile(CONFIG_FILE, nullptr, 0); in LoadConfiguration()
68 if (doc_ == nullptr) { in LoadConfiguration()
81 xmlNode *root = xmlDocGetRootElement(doc_); in Parse()
111 if (doc_ != nullptr) { in Destroy()
112 xmlFreeDoc(doc_); in Destroy()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dxml_parse.cpp24 xmlDocPtr doc_; member
39 xmlNodePtr rootNode = xmlDocGetRootElement(doc_); in IntHasSection()
109 xmlNodePtr rootNode = xmlDocGetRootElement(doc_); in FindOrCreatePropertyNode()
249 pimpl->doc_ = NULL; in XmlParse()
254 xmlFreeDoc(pimpl->doc_); in ~XmlParse()
265 if (pimpl->doc_ != NULL) { in Parse()
266 xmlFreeDoc(pimpl->doc_); in Parse()
269 if (pimpl->doc_ == NULL) { in Parse()
350 xmlNodePtr rootNode = xmlDocGetRootElement(pimpl->doc_); in HasSection()
381 xmlNodePtr rootNode = xmlDocGetRootElement(pimpl->doc_); in GetSubSections()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/
H A Daudio_concurrency_parser.h45 if (doc_ != nullptr) { in ~AudioConcurrencyParser()
46 xmlFreeDoc(doc_); in ~AudioConcurrencyParser()
58 xmlDoc *doc_ = nullptr; variable
H A Daudio_policy_parser.h45 doc_(nullptr) in AudioPolicyParser()
99 xmlDoc *doc_; variable
H A Daudio_strategy_router_parser.h68 xmlDoc *doc_; variable
H A Daudio_usage_strategy_parser.h110 xmlDoc *doc_; variable