Searched refs:trie (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/system_properties/ |
D | prop_area.cpp | 275 const prop_info* prop_area::find_property(prop_bt* const trie, const char* name, uint32_t namelen, in find_property() argument 278 if (!trie) return nullptr; in find_property() 281 prop_bt* current = trie; in find_property() 333 bool prop_area::foreach_property(prop_bt* const trie, in foreach_property() argument 335 if (!trie) return false; in foreach_property() 337 uint_least32_t left_offset = atomic_load_explicit(&trie->left, memory_order_relaxed); in foreach_property() 339 const int err = foreach_property(to_prop_bt(&trie->left), propfn, cookie); in foreach_property() 342 uint_least32_t prop_offset = atomic_load_explicit(&trie->prop, memory_order_relaxed); in foreach_property() 344 prop_info* info = to_prop_info(&trie->prop); in foreach_property() 348 uint_least32_t children_offset = atomic_load_explicit(&trie->children, memory_order_relaxed); in foreach_property() [all …]
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 158 const prop_info* find_property(prop_bt* const trie, const char* name, uint32_t namelen, 161 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie),
|