Lines Matching refs:namelen
157 prop_bt* prop_area::new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off) { in new_prop_bt() argument
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()
169 prop_info* prop_area::new_prop_info(const char* name, uint32_t namelen, const char* value, in new_prop_info() argument
172 void* const p = allocate_obj(sizeof(prop_info) + namelen + 1, &new_offset); in new_prop_info()
189 info = new (p) prop_info(name, namelen, long_value_offset); in new_prop_info()
191 info = new (p) prop_info(name, namelen, value, valuelen); in new_prop_info()
226 prop_bt* prop_area::find_prop_bt(prop_bt* const bt, const char* name, uint32_t namelen, in find_prop_bt() argument
234 const int ret = cmp_prop_name(name, namelen, current->name, current->namelen); in find_prop_bt()
249 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset); in find_prop_bt()
265 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset); in find_prop_bt()
275 const prop_info* prop_area::find_property(prop_bt* const trie, const char* name, uint32_t namelen, in find_property() argument
322 prop_info* new_info = new_prop_info(name, namelen, value, valuelen, &new_offset); in find_property()
366 bool prop_area::add(const char* name, unsigned int namelen, const char* value, in add() argument
368 return find_property(root_node(), name, namelen, value, valuelen, true); in add()