Lines Matching refs:value
143 uint32_t SystemProperties::ReadMutablePropertyValue(const prop_info* pi, char* value) { in ReadMutablePropertyValue() argument
154 memcpy(value, pa->dirty_backup_area(), len + 1); in ReadMutablePropertyValue()
156 memcpy(value, pi->value, len + 1); in ReadMutablePropertyValue()
174 int SystemProperties::Read(const prop_info* pi, char* name, char* value) { in Read() argument
175 uint32_t serial = ReadMutablePropertyValue(pi, value); in Read()
199 const char* value, uint32_t serial), in ReadCallback() argument
208 callback(cookie, pi->name, pi->value, serial); in ReadCallback()
218 int SystemProperties::Get(const char* name, char* value) { in Get() argument
222 return Read(pi, nullptr, value); in Get()
224 value[0] = 0; in Get()
229 int SystemProperties::Update(prop_info* pi, const char* value, unsigned int len) { in Update() argument
255 memcpy(pa->dirty_backup_area(), pi->value, old_len + 1); in Update()
259 strlcpy(pi->value, value, len + 1); in Update()
273 int SystemProperties::Add(const char* name, unsigned int namelen, const char* value, in Add() argument
298 bool ret = pa->add(name, namelen, value, valuelen); in Add()