Home
last modified time | relevance | path

Searched refs:BINN_MAP (Results 1 – 6 of 6) sorted by relevance

/third_party/iowow/src/json/
Diwbinn.c168 case BINN_MAP: in binn_create()
230 return binn_create(map, BINN_MAP, 0, NULL); in binn_create_map()
242 return binn_new(BINN_MAP, 0, 0); in binn_map()
555 if ((item == NULL) || (item->type != BINN_MAP) || (item->writable == FALSE)) { in binn_map_set_raw()
957 case BINN_MAP: in IsValidBinnHeader()
1182 case BINN_MAP: in binn_is_valid_ex()
1411 if (type != BINN_MAP) { in binn_map_get_value()
1490 case BINN_MAP: in binn_read_pair()
1526 case BINN_MAP: in binn_read_pair()
1542 return binn_read_pair(BINN_MAP, ptr, pos, pid, NULL, value); in binn_map_get_pair()
[all …]
Diwbinn.h108 #define BINN_MAP 0xE1 macro
590 binn_iter_init(&iter, map, BINN_MAP); \
666 return binn_list_add(list, BINN_MAP, binn_ptr(map), binn_size(map)); in binn_list_add_map()
740 return binn_map_set(map, id, BINN_MAP, binn_ptr(map2), binn_size(map2)); in binn_map_set_map()
814 return binn_object_set(obj, key, BINN_MAP, binn_ptr(map), binn_size(map)); in binn_object_set_map()
890 return binn_list_get(list, pos, BINN_MAP, pvalue, NULL); in binn_list_get_map()
956 return binn_map_get(map, id, BINN_MAP, pvalue, NULL); in binn_map_get_map()
1025 return binn_object_get(obj, key, BINN_MAP, pvalue, NULL); in binn_object_get_map()
Diwjson.c456 if ((btype != BINN_OBJECT) && (btype != BINN_LIST) && (btype != BINN_MAP)) { in jbl_iterator_init()
496 case BINN_MAP: in _jbl_binn_type()
684 case BINN_MAP: in _jbl_as_json()
1194 case BINN_MAP: { in _jbl_visit()
1957 case BINN_MAP: in _jbl_create_node()
2045 case BINN_MAP: in _jbl_node_from_binn_impl()
2059 } else if (bn->type == BINN_MAP) { in _jbl_node_from_binn_impl()
/third_party/iowow/src/json/tests/
Djbl_test_binn1.c335 CU_ASSERT(binn_new(BINN_MAP, -1, NULL) == INVALID_BINN); in test1()
337 CU_ASSERT(binn_new(BINN_MAP, -1, ptr) == INVALID_BINN); in test1()
338 CU_ASSERT(binn_new(BINN_MAP, MIN_BINN_SIZE - 1, ptr) == INVALID_BINN); in test1()
360 map = binn_new(BINN_MAP, 0, NULL); in test1()
376 CU_ASSERT(map->type == BINN_MAP); in test1()
670 CU_ASSERT(map->type == BINN_MAP); in _test2()
729 CU_ASSERT(binn_type(map) == BINN_MAP); in _test2()
1105 CU_ASSERT(map->type == BINN_MAP); in test4()
1710 CU_ASSERT(type == BINN_MAP); in test4()
1717 CU_ASSERT(type == BINN_MAP); in test4()
Djbl_test_binn2.c2180 CU_ASSERT(binn_iter_init(&iter, ptr, BINN_MAP)); in test_binn_iter()
2306 CU_ASSERT(binn_iter_init(&iter, map, BINN_MAP)); in test_binn_iter()
2307 CU_ASSERT(binn_iter_init(&iter2, copy, BINN_MAP)); in test_binn_iter()
2367 CU_ASSERT(binn_iter_init(&iter, ptr, BINN_MAP)); in test_binn_iter()
2368 CU_ASSERT(binn_iter_init(&iter2, copy, BINN_MAP)); in test_binn_iter()
/third_party/ejdb/src/jql/
Djql.c489 case BINN_MAP: in _jql_binn_to_jqval()
715 …ode->type == JBV_OBJECT) && ((lv->vbinn->type != BINN_OBJECT) && (lv->vbinn->type != BINN_MAP)))) { in _jql_cmp_jqval_pair()