Home
last modified time | relevance | path

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

/third_party/iowow/src/json/tests/
Djbl_test_binn1.c514 CU_ASSERT(binn_list_add(list, BINN_STRING, "this is the string", 0) == TRUE); // 10th in test1()
525 CU_ASSERT(binn_map_set(map, 99008, BINN_STRING, "this is the string", 0) == TRUE); // 11th in test1()
536 CU_ASSERT(binn_object_set(obj, "key8", BINN_STRING, "this is the string", 0) == TRUE); // 11th in test1()
541 CU_ASSERT(binn_list_add(list, BINN_STRING, "", 0) == TRUE); in test1()
542 CU_ASSERT(binn_list_add(list, BINN_STRING, "after the empty items", 0) == TRUE); in test1()
553 CU_ASSERT(binn_object_set(obj1, "key1", BINN_STRING, "this is the value", 0) == TRUE); in test1()
554 CU_ASSERT(binn_object_set(obj1, "key2", BINN_STRING, "the second value", 0) == TRUE); in test1()
568 CU_ASSERT(binn_object_set(obj1, "v2", BINN_STRING, ptr2, in test1()
571 CU_ASSERT(binn_object_set(obj, "v2", BINN_STRING, ptr2, in test1()
573 CU_ASSERT(binn_object_set(obj, "Key00", BINN_STRING, "after the big string", in test1()
[all …]
Djbl_test_binn2.c288 CU_ASSERT(binn_object_set(obj, "str", BINN_STRING, "the value", 0) == TRUE); in test_create_object_1()
306 CU_ASSERT(binn_list_add(list, BINN_STRING, "this is a string", 0) == TRUE); in test_create_object_1()
449 CU_ASSERT(binn_object_get(objptr, "str", BINN_STRING, &ptr, NULL) == TRUE); in test_binn_read()
483 CU_ASSERT(binn_list_get(listptr, 3, BINN_STRING, &ptr, NULL) == TRUE); in test_binn_read()
1414 CU_ASSERT(value->type == BINN_STRING); in test_value_conversion()
1423 CU_ASSERT(value->type == BINN_STRING); in test_value_conversion()
1433 CU_ASSERT(value->type == BINN_STRING); in test_value_conversion()
1479 CU_ASSERT(value->type == BINN_STRING); in test_value_conversion()
1494 CU_ASSERT(value->type == BINN_STRING); in test_value_conversion()
1505 CU_ASSERT(value->type == BINN_STRING); in test_value_conversion()
[all …]
/third_party/iowow/src/json/
Diwbinn.h128 #define BINN_STRING 0xA0 // (STRING) Raw String macro
361 return binn_value(BINN_STRING, (void*) str, 0, freefn); in binn_string()
650 return binn_list_add(list, BINN_STRING, str, 0); in binn_list_add_str()
654 return binn_list_add(list, BINN_STRING, (char*) str, 0); in binn_list_add_const_str()
728 return binn_map_set(map, id, BINN_STRING, str, 0); in binn_map_set_str()
802 return binn_object_set(obj, key, BINN_STRING, (char*) str, 0); // todo in binn_object_set_str()
878 return binn_list_get(list, pos, BINN_STRING, pvalue, NULL); in binn_list_get_str()
944 return binn_map_get(map, id, BINN_STRING, pvalue, NULL); in binn_map_get_str()
1013 return binn_object_get(obj, key, BINN_STRING, pvalue, NULL); in binn_object_get_str()
Diwbinn.c1927 case BINN_STRING: in GetWriteConvertedData()
1999 case BINN_STRING: in type_family()
2528 binn_list_get(list, pos, BINN_STRING, &value, NULL); in binn_list_str()
2628 binn_map_get(map, id, BINN_STRING, &value, NULL); in binn_map_str()
2728 binn_object_get(obj, key, BINN_STRING, &value, NULL); in binn_object_str()
2815 item->type = BINN_STRING; in binn_set_string()
2973 case BINN_STRING: in binn_get_int32()
3005 case BINN_STRING: in binn_get_int64()
3042 case BINN_STRING: in binn_get_double()
3082 case BINN_STRING: in binn_get_bool()
[all …]
Diwjson.c493 case BINN_STRING: in _jbl_binn_type()
744 case BINN_STRING: in _jbl_as_json()
951 assert(jbl && jbl->bn.type == BINN_STRING); in jbl_get_str()
952 if (jbl->bn.type != BINN_STRING) { in jbl_get_str()
960 assert(jbl && buf && jbl->bn.type == BINN_STRING); in jbl_copy_strn()
961 if (jbl->bn.type != BINN_STRING) { in jbl_copy_strn()
1945 case BINN_STRING: in _jbl_create_node()
/third_party/ejdb/src/jql/
Djql.c497 case BINN_STRING: in _jql_binn_to_jqval()