Home
last modified time | relevance | path

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

/system/core/property_service/libpropertyinfoparser/include/property_info_parser/
Dproperty_info_parser.h95 class TrieNode {
97 TrieNode() : serialized_data_(nullptr), trie_node_base_(nullptr) {} in TrieNode() function
98 TrieNode(const SerializedData* data_base, const TrieNodeInternal* trie_node_base) in TrieNode() function
109 TrieNode child_node(int n) const { in child_node()
113 return TrieNode(serialized_data_, trie_node_base); in child_node()
116 bool FindChildForString(const char* input, uint32_t namelen, TrieNode* child) const;
172 TrieNode root_node() const { return trie(header()->root_offset); } in root_node()
175 void CheckPrefixMatch(const char* remaining_name, const TrieNode& trie_node,
186 TrieNode trie(uint32_t offset) const { in trie()
187 if (offset != 0 && offset > size()) return TrieNode(); in trie()
[all …]
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp70 bool TrieNode::FindChildForString(const char* name, uint32_t namelen, TrieNode* child) const { in FindChildForString()
91 void PropertyInfoArea::CheckPrefixMatch(const char* remaining_name, const TrieNode& trie_node, in CheckPrefixMatch()
136 TrieNode child_node; in GetPropertyInfoIndexes()
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_serializer_test.cpp57 TrieNode test_node; in TEST()
102 TrieNode long_string_node; in TEST()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp137 using ::android::hardware::tests::trie::V1_0::TrieNode;
501 trie::V1_0::TrieNode trieNode; in TEST_F()
1951 trieInterface->newTrie([&](const TrieNode& trie) { in TEST_F()
1952 trieInterface->addStrings(trie, {"a", "ba"}, [&](const TrieNode& trie) { in TEST_F()
1959 trieInterface->addStrings(trie, {"", "ab", "bab"}, [&](const TrieNode& trie) { in TEST_F()
1989 trieInterface->newTrie([&](const TrieNode& trie) { in TEST_F()
1996 trie, hidl_vec<hidl_string>(strings.begin(), strings.end()), [&](const TrieNode& trie) { in TEST_F()