Lines Matching defs:namelen
80 uint8_t namelen;
93 this->namelen = name_length;
127 prop_info(const char *name, const uint8_t namelen, const char *value,
129 memcpy(this->name, name, namelen);
130 this->name[namelen] = '\0';
311 static prop_bt *new_prop_bt(const char *name, uint8_t namelen, uint32_t *const off)
314 void *const offset = allocate_obj(sizeof(prop_bt) + namelen + 1, &new_offset);
316 prop_bt* bt = new(offset) prop_bt(name, namelen);
324 static prop_info *new_prop_info(const char *name, uint8_t namelen,
328 void* const offset = allocate_obj(sizeof(prop_info) + namelen + 1, &off_tmp);
330 prop_info* info = new(offset) prop_info(name, namelen, value, valuelen);
365 uint8_t namelen, bool alloc_if_needed)
374 const int ret = cmp_prop_name(name, namelen, current->name, current->namelen);
392 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset);
407 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset);
418 uint8_t namelen, const char *value, uint8_t valuelen,
465 prop_info* new_info = new_prop_info(name, namelen, value, valuelen, &new_info_offset);
483 const size_t namelen = strlen(property_service_socket);
489 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1;
674 int __system_property_add(const char *name, unsigned int namelen,
680 if (namelen >= PROP_NAME_MAX)
684 if (namelen < 1)
687 pi = find_property(root_node(), name, namelen, value, valuelen, true);