Searched refs:prop_bt (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 56 struct prop_bt { struct 82 prop_bt(const char* name, const uint32_t name_length) { in prop_bt() argument 89 BIONIC_DISALLOW_COPY_AND_ASSIGN(prop_bt); 108 bytes_used_ = sizeof(prop_bt); in prop_area() 130 prop_bt* new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off); 134 prop_bt* to_prop_bt(atomic_uint_least32_t* off_p); 137 prop_bt* root_node(); 139 …prop_bt* find_prop_bt(prop_bt* const bt, const char* name, uint32_t namelen, bool alloc_if_needed); 141 const prop_info* find_property(prop_bt* const trie, const char* name, uint32_t namelen, 144 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie),
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 157 prop_bt* prop_area::new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off) { in new_prop_bt() 159 void* const p = allocate_obj(sizeof(prop_bt) + namelen + 1, &new_offset); in new_prop_bt() 161 prop_bt* bt = new (p) prop_bt(name, namelen); in new_prop_bt() 203 inline prop_bt* prop_area::to_prop_bt(atomic_uint_least32_t* off_p) { in to_prop_bt() 205 return reinterpret_cast<prop_bt*>(to_prop_obj(off)); in to_prop_bt() 213 inline prop_bt* prop_area::root_node() { in root_node() 214 return reinterpret_cast<prop_bt*>(to_prop_obj(0)); in root_node() 226 prop_bt* prop_area::find_prop_bt(prop_bt* const bt, const char* name, uint32_t namelen, in find_prop_bt() 228 prop_bt* current = bt; in find_prop_bt() 249 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset); in find_prop_bt() [all …]
|