Home
last modified time | relevance | path

Searched refs:valuelen (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/system_properties/
Dprop_info.cpp38 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()
Dprop_area.cpp170 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()
Dsystem_properties.cpp259 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/
Dprop_area.h112 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);
Dprop_info.h82 prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen);
Dsystem_properties.h68 int Add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen);
/bionic/libc/bionic/
Dsystem_property_api.cpp97 unsigned int valuelen) { in __system_property_add() argument
98 return system_properties.Add(name, namelen, value, valuelen); in __system_property_add()
Dsystem_property_set.cpp136 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()