Searched refs:valuelen (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/system_properties/ |
D | prop_info.cpp | 38 prop_info::prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen) { in prop_info() argument 41 atomic_init(&this->serial, valuelen << 24); in prop_info() 42 memcpy(this->value, value, valuelen); in prop_info() 43 this->value[valuelen] = '\0'; in prop_info()
|
D | prop_area.cpp | 170 uint32_t valuelen, uint_least32_t* const off) { in new_prop_info() argument 176 if (valuelen >= PROP_VALUE_MAX) { in new_prop_info() 178 char* long_location = reinterpret_cast<char*>(allocate_obj(valuelen + 1, &long_value_offset)); in new_prop_info() 181 memcpy(long_location, value, valuelen); in new_prop_info() 182 long_location[valuelen] = '\0'; in new_prop_info() 191 info = new (p) prop_info(name, namelen, value, valuelen); in new_prop_info() 276 const char* value, uint32_t valuelen, in find_property() argument 322 prop_info* new_info = new_prop_info(name, namelen, value, valuelen, &new_offset); in find_property() 367 unsigned int valuelen) { in add() argument 368 return find_property(root_node(), name, namelen, value, valuelen, true); in add()
|
D | system_properties.cpp | 259 unsigned int valuelen) { in Add() argument 260 if (valuelen >= PROP_VALUE_MAX && !is_read_only(name)) { in Add() 283 bool ret = pa->add(name, namelen, value, valuelen); in Add()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 112 bool add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen); 131 prop_info* new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen, 142 const char* value, uint32_t valuelen, bool alloc_if_needed);
|
D | prop_info.h | 82 prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen);
|
D | system_properties.h | 68 int Add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen);
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 97 unsigned int valuelen) { in __system_property_add() argument 98 return system_properties.Add(name, namelen, value, valuelen); in __system_property_add()
|
D | system_property_set.cpp | 136 uint32_t valuelen = strlen(value); in WriteString() local 137 WriteUint32(valuelen); in WriteString() 138 if (valuelen == 0) { in WriteString() 144 iov_[iov_index_].iov_len = valuelen; in WriteString()
|