Searched refs:MAX_BINN_HEADER (Results 1 – 3 of 3) sorted by relevance
/third_party/iowow/src/json/tests/ |
D | jbl_test_binn1.c | 55 #define MAX_BINN_HEADER 9 // [1:type][4:size][4:count] macro 348 CU_ASSERT(obj1->alloc_size > MAX_BINN_HEADER); in test1() 349 CU_ASSERT(obj1->used_size == MAX_BINN_HEADER); in test1() 371 CU_ASSERT(list->alloc_size > MAX_BINN_HEADER); in test1() 372 CU_ASSERT(list->used_size == MAX_BINN_HEADER); in test1() 379 CU_ASSERT(map->alloc_size > MAX_BINN_HEADER); in test1() 380 CU_ASSERT(map->used_size == MAX_BINN_HEADER); in test1() 387 CU_ASSERT(obj->alloc_size > MAX_BINN_HEADER); in test1() 388 CU_ASSERT(obj->used_size == MAX_BINN_HEADER); in test1() 405 CU_ASSERT(obj1->used_size == MAX_BINN_HEADER); in test1() [all …]
|
/third_party/iowow/src/json/ |
D | iwbinn.c | 205 item->used_size = MAX_BINN_HEADER; // save space for the header in binn_create() 526 p = SearchForKey(item->pbuf, MAX_BINN_HEADER, item->used_size, item->count, key, keylen); in binn_object_set_raw() 559 p = SearchForID(item->pbuf, MAX_BINN_HEADER, item->used_size, item->count, id); in binn_map_set_raw() 826 p = ((unsigned char*) item->pbuf) + MAX_BINN_HEADER; in binn_save_header() 827 size = item->used_size - MAX_BINN_HEADER + 3; // at least 3 bytes for the header in binn_save_header() 1027 item = binn_new(type, size - header_size + MAX_BINN_HEADER, NULL); in binn_copy() 1030 dest = ((unsigned char*) item->pbuf) + MAX_BINN_HEADER; in binn_copy() 1032 item->used_size = MAX_BINN_HEADER + size - header_size; in binn_copy()
|
D | iwbinn.h | 75 #define MAX_BINN_HEADER 9 // [1:type][4:size][4:count] macro
|