Lines Matching refs:namelen
161 prop_trie_node* prop_area::new_prop_trie_node(const char* name, uint32_t namelen, in new_prop_trie_node() argument
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()
172 prop_info* prop_area::new_prop_info(const char* name, uint32_t namelen, const char* value, in new_prop_info() argument
175 void* const p = allocate_obj(sizeof(prop_info) + namelen + 1, &new_offset); in new_prop_info()
192 info = new (p) prop_info(name, namelen, long_value_offset); in new_prop_info()
194 info = new (p) prop_info(name, namelen, value, valuelen); in new_prop_info()
230 uint32_t namelen, bool alloc_if_needed) { in find_prop_trie_node() argument
237 const int ret = cmp_prop_name(name, namelen, current->name, current->namelen); in find_prop_trie_node()
252 prop_trie_node* new_node = new_prop_trie_node(name, namelen, &new_offset); in find_prop_trie_node()
268 prop_trie_node* new_node = new_prop_trie_node(name, namelen, &new_offset); in find_prop_trie_node()
279 uint32_t namelen, const char* value, uint32_t valuelen, in find_property() argument
325 prop_info* new_info = new_prop_info(name, namelen, value, valuelen, &new_offset); in find_property()
369 bool prop_area::add(const char* name, unsigned int namelen, const char* value, in add() argument
371 return find_property(root_node(), name, namelen, value, valuelen, true); in add()