Searched refs:ParamTrieNode (Results 1 – 10 of 10) sorted by relevance
/base/startup/init/services/param/include/ |
D | param_trie.h | 36 #define GetTrieNode(workSpace, offset) (ParamTrieNode *)(((offset) == 0 || (offset) > (workSpace)->… 40 …(ParamTrieNode *)(((workSpace)->area == NULL) ? NULL : (workSpace)->area->data + (workSpace)->area… 44 INIT_LOCAL_API ParamTrieNode *AddTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen); 45 INIT_LOCAL_API ParamTrieNode *FindTrieNode( 48 typedef int (*TraversalTrieNodePtr)(const WorkSpace *workSpace, const ParamTrieNode *node, const vo… 50 const ParamTrieNode *subTrie, TraversalTrieNodePtr walkFunc, const void *cookie); 61 STATIC_INLINE ParamTrieNode *FindTrieNode_(
|
D | param_common.h | 63 } ParamTrieNode; typedef
|
D | param_manager.h | 123 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, …
|
/base/startup/init/services/param/base/ |
D | param_include.h | 38 STATIC_INLINE ParamTrieNode *FindSubTrie(const WorkSpace *workSpace, in FindSubTrie() 39 ParamTrieNode *current, const char *key, uint32_t keyLen, uint32_t *matchLabel) in FindSubTrie() 41 ParamTrieNode *subTrie = current; in FindSubTrie() 65 subTrie = (ParamTrieNode *)(workSpace->area->data + offset); in FindSubTrie() 70 STATIC_INLINE ParamTrieNode *FindTrieNode_( in FindTrieNode_() 74 ParamTrieNode *current = GetTrieRoot(workSpace); in FindTrieNode_() 86 ParamTrieNode *next = GetTrieNode(workSpace, current->child); in FindTrieNode_()
|
D | param_trie.c | 68 uint32_t len = keyLen + sizeof(ParamTrieNode) + 1; in AllocateParamTrieNode() 73 ParamTrieNode *node = (ParamTrieNode *)(workSpace->area->data + workSpace->area->currOffset); in AllocateParamTrieNode() 126 static int CompareParamTrieNode(const ParamTrieNode *node, const char *key, uint32_t keyLen) in CompareParamTrieNode() 136 static ParamTrieNode *AddToSubTrie(WorkSpace *workSpace, ParamTrieNode *current, const char *key, u… in AddToSubTrie() 141 ParamTrieNode *subTrie = NULL; in AddToSubTrie() 168 ParamTrieNode *AddTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen) in AddTrieNode() 173 ParamTrieNode *current = GetTrieRoot(workSpace); in AddTrieNode() 183 ParamTrieNode *next = GetTrieNode(workSpace, current->child); in AddTrieNode() 190 current = (ParamTrieNode *)GetTrieNode(workSpace, current->child); in AddTrieNode() 204 const ParamTrieNode *current, TraversalTrieNodePtr walkFunc, const void *cookie) in TraversalSubTrieNode() [all …]
|
D | param_base.c | 37 STATIC_INLINE ParamTrieNode *BaseFindTrieNode(WorkSpace *workSpace, 347 … int ReadParamWithCheck(WorkSpace **workspace, const char *name, uint32_t op, ParamTrieNode **node) in ReadParamWithCheck() 547 STATIC_INLINE ParamTrieNode *BaseFindTrieNode(WorkSpace *workSpace, in BaseFindTrieNode() 552 ParamTrieNode *node = FindTrieNode_(workSpace, key, keyLen, &tmpMatchLen); in BaseFindTrieNode() 579 ParamTrieNode *node = NULL; in CachedParameterCreate() 622 ParamTrieNode *node = BaseFindTrieNode(param->workspace, param->data, param->nameLen, NULL); in CachedParameterCheck()
|
/base/startup/init/services/param/manager/ |
D | param_manager.c | 42 ParamTrieNode *node = FindTrieNode(workspace, name, nameLength, NULL); in SystemCheckMatchParamWait() 64 static int ProcessParamTraversal(const WorkSpace *workSpace, const ParamTrieNode *node, const void … in ProcessParamTraversal() 67 ParamTrieNode *current = (ParamTrieNode *)node; in ProcessParamTraversal() 113 ParamTrieNode *root = NULL; in SystemTraversalParameter() 125 static int DumpTrieDataNodeTraversal(const WorkSpace *workSpace, const ParamTrieNode *node, const v… in DumpTrieDataNodeTraversal() 128 ParamTrieNode *current = (ParamTrieNode *)node; in DumpTrieDataNodeTraversal() 229 ParamTrieNode *node = FindTrieNode(workSpace, name, strlen(name), NULL); in SysCheckParamExist() 397 ParamTrieNode *node = AddTrieNode(workSpace, name, strlen(name)); in AddParam() 464 ParamTrieNode *node = FindTrieNode(workSpace, name, strlen(name), NULL); in WriteParam() 559 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, … in CheckParamValue() [all …]
|
D | param_persist.c | 65 static int SavePersistParam(const WorkSpace *workSpace, const ParamTrieNode *node, const void *cook… in SavePersistParam() 67 ParamTrieNode *current = (ParamTrieNode *)node; in SavePersistParam() 110 ParamTrieNode *root = FindTrieNode(workSpace, prefix, strlen(prefix), NULL); in BatchSavePersistParam()
|
/base/startup/init/test/unittest/param/ |
D | param_unittest.cpp | 148 ParamTrieNode *paramNode = FindTrieNode(workspace, name, strlen(name), &labelIndex); in TestAddSecurityLabel3() 176 ParamTrieNode *paramNode = FindTrieNode(workspace, name, strlen(name), &labelIndex); in TestAddSecurityLabel4() 541 ParamTrieNode *node = FindTrieNode(nullptr, nullptr, 0, nullptr);
|
D | paramservice_unittest.cpp | 149 ParamTrieNode *paramNode = FindTrieNode(workspace, name, strlen(name), &labelIndex); in TestAddSecurityLabel3() 174 ParamTrieNode *paramNode = FindTrieNode(workspace, name, strlen(name), &labelIndex); in TestAddSecurityLabel4()
|