Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/native/src/
Dpower_save_mode.cpp53 bool IsNodeLegal(const xmlNodePtr nodePtr, const std::string& tagName) in IsNodeLegal() argument
55 return nodePtr != nullptr && nodePtr->type != XML_COMMENT_NODE && nodePtr->name != nullptr && in IsNodeLegal()
56 xmlStrEqual(nodePtr->name, BAD_CAST(tagName.c_str())) == 0; in IsNodeLegal()
74 for (auto nodePtr = rootPtr->xmlChildrenNode; nodePtr != nullptr; nodePtr = nodePtr->next) { in StartXMlParse() local
76 StrToInt(TrimStr(GetProp(nodePtr, "id")), policyId); in StartXMlParse()
79 for (auto policyNodePtr = nodePtr->xmlChildrenNode; in StartXMlParse()
95 std::string PowerSaveMode::GetProp(const xmlNodePtr& nodePtr, const std::string& key) in GetProp() argument
97 xmlChar* prop = xmlGetProp(nodePtr, BAD_CAST(key.c_str())); in GetProp()
/base/powermgr/power_manager/services/native/include/
Dpower_save_mode.h61 std::string GetProp(const xmlNodePtr& nodePtr, const std::string& key);
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Drbtree.h58 int32_t RbTreeFindNode(struct RbTreeNode **nodePtr, RbTreeKey key, const struct RbTree *tree);
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Drbtree.c367 int32_t RbTreeFindNode(struct RbTreeNode **nodePtr, RbTreeKey key, const struct RbTree *tree) in RbTreeFindNode() argument
369 if (tree == NULL || nodePtr == NULL) { in RbTreeFindNode()
374 *nodePtr = NULL; in RbTreeFindNode()
379 *nodePtr = n; in RbTreeFindNode()