Searched refs:prop_trie_node (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 56 struct prop_trie_node { struct 82 prop_trie_node(const char* name, const uint32_t name_length) { in prop_trie_node() argument 89 BIONIC_DISALLOW_COPY_AND_ASSIGN(prop_trie_node); 108 bytes_used_ = sizeof(prop_trie_node); in prop_area() 139 char* dirty_backup_area() { return data_ + sizeof(prop_trie_node); } in dirty_backup_area() 145 prop_trie_node* new_prop_trie_node(const char* name, uint32_t namelen, uint_least32_t* const off); 149 prop_trie_node* to_prop_trie_node(atomic_uint_least32_t* off_p); 152 prop_trie_node* root_node(); 154 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, [all …]
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 161 prop_trie_node* prop_area::new_prop_trie_node(const char* name, uint32_t namelen, in new_prop_trie_node() 164 void* const p = allocate_obj(sizeof(prop_trie_node) + namelen + 1, &new_offset); in new_prop_trie_node() 167 prop_trie_node* node = new (p) prop_trie_node(name, namelen); in new_prop_trie_node() 206 inline prop_trie_node* prop_area::to_prop_trie_node(atomic_uint_least32_t* off_p) { in to_prop_trie_node() 208 return reinterpret_cast<prop_trie_node*>(to_prop_obj(off)); in to_prop_trie_node() 216 inline prop_trie_node* prop_area::root_node() { in root_node() 217 return reinterpret_cast<prop_trie_node*>(to_prop_obj(0)); in root_node() 229 prop_trie_node* prop_area::find_prop_trie_node(prop_trie_node* const trie, const char* name, in find_prop_trie_node() 231 prop_trie_node* current = trie; in find_prop_trie_node() 252 prop_trie_node* new_node = new_prop_trie_node(name, namelen, &new_offset); in find_prop_trie_node() [all …]
|