Lines Matching defs:prop_bt
82 struct prop_bt {
90 // change of "pointers" can also notice the change of prop_bt structure contents pointed by
109 prop_bt(const char *name, const uint8_t name_length) {
116 DISALLOW_COPY_AND_ASSIGN(prop_bt);
127 bytes_used_ = sizeof(prop_bt);
142 prop_bt *new_prop_bt(const char *name, uint8_t namelen, uint_least32_t *const off);
147 prop_bt *to_prop_bt(atomic_uint_least32_t *off_p);
150 prop_bt *root_node();
152 prop_bt *find_prop_bt(prop_bt *const bt, const char *name,
155 const prop_info *find_property(prop_bt *const trie, const char *name,
159 bool foreach_property(prop_bt *const trie,
360 prop_bt *prop_area::new_prop_bt(const char *name, uint8_t namelen, uint_least32_t *const off)
363 void *const p = allocate_obj(sizeof(prop_bt) + namelen + 1, &new_offset);
365 prop_bt* bt = new(p) prop_bt(name, namelen);
395 inline prop_bt *prop_area::to_prop_bt(atomic_uint_least32_t* off_p) {
397 return reinterpret_cast<prop_bt*>(to_prop_obj(off));
405 inline prop_bt *prop_area::root_node()
407 return reinterpret_cast<prop_bt*>(to_prop_obj(0));
421 prop_bt *prop_area::find_prop_bt(prop_bt *const bt, const char *name,
425 prop_bt* current = bt;
446 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset);
462 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset);
472 const prop_info *prop_area::find_property(prop_bt *const trie, const char *name,
479 prop_bt* current = trie;
490 prop_bt* root = NULL;
598 bool prop_area::foreach_property(prop_bt *const trie,