Home
last modified time | relevance | path

Searched refs:subTrie (Results 1 – 3 of 3) sorted by relevance

/base/startup/init/services/param/base/
Dparam_include.h41 ParamTrieNode *subTrie = current; in FindSubTrie() local
43 while (subTrie != NULL) { in FindSubTrie()
44 if (subTrie->length > keyLen) { in FindSubTrie()
46 } else if (subTrie->length < keyLen) { in FindSubTrie()
49 ret = memcmp(subTrie->key, key, keyLen); in FindSubTrie()
51 *matchLabel = (subTrie->labelIndex != 0) ? subTrie->labelIndex : *matchLabel; in FindSubTrie()
52 return subTrie; in FindSubTrie()
58 offset = subTrie->left; in FindSubTrie()
60 offset = subTrie->right; in FindSubTrie()
65 subTrie = (ParamTrieNode *)(workSpace->area->data + offset); in FindSubTrie()
Dparam_trie.c141 ParamTrieNode *subTrie = NULL; in AddToSubTrie() local
147 subTrie = GetTrieNode(workSpace, current->left); in AddToSubTrie()
148 if (subTrie == NULL) { in AddToSubTrie()
156 subTrie = GetTrieNode(workSpace, current->right); in AddToSubTrie()
157 if (subTrie == NULL) { in AddToSubTrie()
165 return AddToSubTrie(workSpace, subTrie, key, keyLen); in AddToSubTrie()
/base/startup/init/services/param/include/
Dparam_trie.h50 const ParamTrieNode *subTrie, TraversalTrieNodePtr walkFunc, const void *cookie);