Home
last modified time | relevance | path

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

/bionic/libc/system_properties/
Dprop_area.cpp229 prop_trie_node* prop_area::find_prop_trie_node(prop_trie_node* const trie, const char* name, in find_prop_trie_node() argument
231 prop_trie_node* current = trie; in find_prop_trie_node()
278 const prop_info* prop_area::find_property(prop_trie_node* const trie, const char* name, in find_property() argument
281 if (!trie) return nullptr; in find_property()
284 prop_trie_node* current = trie; in find_property()
336 bool prop_area::foreach_property(prop_trie_node* const trie, in foreach_property() argument
338 if (!trie) return false; in foreach_property()
340 uint_least32_t left_offset = atomic_load_explicit(&trie->left, memory_order_relaxed); in foreach_property()
342 const int err = foreach_property(to_prop_trie_node(&trie->left), propfn, cookie); in foreach_property()
345 uint_least32_t prop_offset = atomic_load_explicit(&trie->prop, memory_order_relaxed); in foreach_property()
[all …]
Dcontext_lookup_benchmark.cpp125 PropertyInfoArea* trie = reinterpret_cast<PropertyInfoArea*>(serialized_trie.data()); in TrieLookupOreo() local
129 trie->GetPropertyInfo(property.c_str(), nullptr, nullptr); in TrieLookupOreo()
137 PropertyInfoArea* trie = reinterpret_cast<PropertyInfoArea*>(serialized_trie.data()); in TrieLookupS() local
141 trie->GetPropertyInfo(property.c_str(), nullptr, nullptr); in TrieLookupS()
/bionic/libc/system_properties/include/system_properties/
Dprop_area.h154 prop_trie_node* find_prop_trie_node(prop_trie_node* const trie, const char* name,
157 const prop_info* find_property(prop_trie_node* const trie, const char* name, uint32_t namelen,
160 bool foreach_property(prop_trie_node* const trie,