Home
last modified time | relevance | path

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

/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.cpp35 doc_ = xmlReadFile(DEVICE_CONFIG_FILE, nullptr, 0); in LoadConfiguration()
36 if (doc_ == nullptr) { in LoadConfiguration()
49 xmlNode *root = xmlDocGetRootElement(doc_); in Parse()
59 if (doc_ != nullptr) { in Destroy()
60 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 AudioConcurrencyConfigFile failed!"); in LoadConfig()
25 xmlNode *root = xmlDocGetRootElement(doc_); in LoadConfig()
29 xmlFreeDoc(doc_); in LoadConfig()
H A Daudio_policy_parser.cpp63 doc_ = xmlReadFile(CHIP_PROD_CONFIG_FILE, nullptr, 0); in LoadConfiguration()
64 if (doc_ == nullptr) { in LoadConfiguration()
65 doc_ = xmlReadFile(CONFIG_FILE, nullptr, 0); in LoadConfiguration()
66 if (doc_ == nullptr) { in LoadConfiguration()
79 xmlNode *root = xmlDocGetRootElement(doc_); in Parse()
109 if (doc_ != nullptr) { in Destroy()
110 xmlFreeDoc(doc_); in Destroy()
/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; member in OHOS::AudioStandard::AudioConcurrencyParser
H A Daudio_policy_parser.h45 doc_(nullptr) in AudioPolicyParser()
100 xmlDoc *doc_; member in OHOS::AudioStandard::AudioPolicyParser
H A Daudio_strategy_router_parser.h68 xmlDoc *doc_; member in OHOS::AudioStandard::AudioStrategyRouterParser
H A Daudio_usage_strategy_parser.h109 xmlDoc *doc_; member in OHOS::AudioStandard::AudioUsageStrategyParser
/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()
268 pimpl->doc_ = xmlReadFile(this->filePath_.c_str(), "UTF-8", XML_PARSE_NOBLANKS); in Parse()
269 if (pimpl->doc_ == NULL) { in Parse()
277 int result = xmlSaveFormatFileEnc(this->filePath_.c_str(), pimpl->doc_, "UT in Save()
[all...]

Completed in 5 milliseconds