Searched refs:binn_size (Results 1 – 5 of 5) sorted by relevance
/third_party/iowow/src/json/ |
D | iwbinn.h | 372 int binn_size(void *ptr); 662 return binn_list_add(list, BINN_LIST, binn_ptr(list2), binn_size(list2)); in binn_list_add_list() 666 return binn_list_add(list, BINN_MAP, binn_ptr(map), binn_size(map)); in binn_list_add_map() 670 return binn_list_add(list, BINN_OBJECT, binn_ptr(obj), binn_size(obj)); in binn_list_add_object() 674 return binn_list_add(list, value->type, binn_ptr(value), binn_size(value)); in binn_list_add_value() 736 return binn_map_set(map, id, BINN_LIST, binn_ptr(list), binn_size(list)); in binn_map_set_list() 740 return binn_map_set(map, id, BINN_MAP, binn_ptr(map2), binn_size(map2)); in binn_map_set_map() 744 return binn_map_set(map, id, BINN_OBJECT, binn_ptr(obj), binn_size(obj)); in binn_map_set_object() 748 return binn_map_set(map, id, value->type, binn_ptr(value), binn_size(value)); in binn_map_set_value() 810 return binn_object_set(obj, key, BINN_LIST, binn_ptr(list), binn_size(list)); in binn_object_set_list() [all …]
|
D | iwbinn.c | 1082 int binn_size(void *ptr) { in binn_size() function
|
/third_party/iowow/src/json/tests/ |
D | jbl_test_binn2.c | 308 CU_ASSERT(binn_object_set(obj, "list", BINN_LIST, binn_ptr(list), binn_size(list)) == TRUE); in test_create_object_1() 316 *psize = binn_size(obj); in test_create_object_1() 372 *psize = binn_size(obj); in test_create_object_2() 1920 list2size = binn_size(list2); in test_binn_iter() 2287 CU_ASSERT(binn_size(copy) == binn_size(list)); in test_binn_iter() 2298 CU_ASSERT(binn_size(copy) > binn_size(list)); in test_binn_iter() 2305 CU_ASSERT(binn_size(copy) == binn_size(map)); in test_binn_iter() 2317 CU_ASSERT(binn_size(copy) > binn_size(map)); in test_binn_iter() 2324 CU_ASSERT(binn_size(copy) == binn_size(obj)); in test_binn_iter() 2336 CU_ASSERT(binn_size(copy) > binn_size(obj)); in test_binn_iter() [all …]
|
D | jbl_test_binn1.c | 576 CU_ASSERT(binn_object_set(obj, "list", BINN_LIST, binn_ptr(list), binn_size(list)) == TRUE); in test1() 589 CU_ASSERT(binn_size(NULL) == 0); in test1() 591 CU_ASSERT(binn_size(list) == list->size); in test1() 592 CU_ASSERT(binn_size(map) == map->size); in test1() 593 CU_ASSERT(binn_size(obj) == obj->size); in test1() 594 CU_ASSERT(binn_size(obj1) == obj1->size); in test1() 724 CU_ASSERT(binn_size(list) == list->size); in _test2() 725 CU_ASSERT(binn_size(map) == map->size); in _test2() 726 CU_ASSERT(binn_size(obj) == obj->size); in _test2() 1256 CU_ASSERT(binn_object_set(obj, "list", BINN_LIST, binn_ptr(list), binn_size(list)) == TRUE); in test4() [all …]
|
/third_party/ejdb/src/ |
D | ejdb2.c | 1184 val.size = binn_size(imeta); in ejdb_ensure_index()
|