Home
last modified time | relevance | path

Searched refs:trie_node (Results 1 – 2 of 2) sorted by relevance

/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp91 void PropertyInfoArea::CheckPrefixMatch(const char* remaining_name, const TrieNode& trie_node, in CheckPrefixMatch() argument
94 for (uint32_t i = 0; i < trie_node.num_prefixes(); ++i) { in CheckPrefixMatch()
95 auto prefix_len = trie_node.prefix(i)->namelen; in CheckPrefixMatch()
98 if (!strncmp(c_string(trie_node.prefix(i)->name_offset), remaining_name, prefix_len)) { in CheckPrefixMatch()
99 if (trie_node.prefix(i)->context_index != ~0u) { in CheckPrefixMatch()
100 *context_index = trie_node.prefix(i)->context_index; in CheckPrefixMatch()
102 if (trie_node.prefix(i)->type_index != ~0u) { in CheckPrefixMatch()
103 *type_index = trie_node.prefix(i)->type_index; in CheckPrefixMatch()
115 auto trie_node = root_node(); in GetPropertyInfoIndexes() local
120 if (trie_node.context_index() != ~0u) { in GetPropertyInfoIndexes()
[all …]
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/
Dproperty_info_parser.h175 void CheckPrefixMatch(const char* remaining_name, const TrieNode& trie_node,