Searched refs:key_buf_len (Results 1 – 1 of 1) sorted by relevance
/external/qemu/android/ |
D | boot-properties.c | 184 uint32_t key_buf_len = (split - p->property) + 1; // +1: '\0' terminator in boot_property_save_property() local 185 qemu_put_be32(f, key_buf_len); in boot_property_save_property() 186 qemu_put_buffer(f, (uint8_t*) p->property, key_buf_len); in boot_property_save_property() 188 uint32_t value_buf_len = p->length - key_buf_len + 1; // +1: '\0' terminator in boot_property_save_property() 205 uint32_t key_buf_len = qemu_get_be32(f); in boot_property_load_property() local 206 char* key = android_alloc(key_buf_len); in boot_property_load_property() 207 if ((ret = qemu_get_buffer(f, (uint8_t*)key, key_buf_len) != key_buf_len)) { in boot_property_load_property() 209 __FUNCTION__, key_buf_len, ret); in boot_property_load_property() 223 ret = boot_property_add2(key, key_buf_len - 1, value, value_buf_len - 1); in boot_property_load_property() 227 boot_property_raise_warning(ret, key, key_buf_len - 1, value, value_buf_len - 1); in boot_property_load_property()
|