/third_party/iowow/src/json/tests/ |
D | jbl_test_binn2.c | 268 CU_ASSERT(binn_object_set(obj, "int64", BINN_INT64, &vint64, 0) == TRUE); in test_create_object_1() 401 CU_ASSERT(binn_object_get(objptr, "int64", BINN_INT64, &vint64, NULL) == TRUE); in test_binn_read() 679 CU_ASSERT(value.type == BINN_INT64); in test_binn_read() 907 CU_ASSERT(copy_int_value_tests(&vint64, &vuint8, BINN_INT64, BINN_UINT8) == FALSE); in test_int_conversion() 913 CU_ASSERT(copy_int_value_tests(&vint64, &vuint16, BINN_INT64, BINN_UINT16) == FALSE); in test_int_conversion() 919 CU_ASSERT(copy_int_value_tests(&vint64, &vuint32, BINN_INT64, BINN_UINT32) == FALSE); in test_int_conversion() 925 CU_ASSERT(copy_int_value_tests(&vint64, &vuint64, BINN_INT64, BINN_UINT64) == FALSE); in test_int_conversion() 954 CU_ASSERT(copy_int_value_tests(&vint64, &vint8, BINN_INT64, BINN_INT8) == FALSE); in test_int_conversion() 960 CU_ASSERT(copy_int_value_tests(&vint64, &vint16, BINN_INT64, BINN_INT16) == FALSE); in test_int_conversion() 966 CU_ASSERT(copy_int_value_tests(&vint64, &vint32, BINN_INT64, BINN_INT32) == FALSE); in test_int_conversion() [all …]
|
D | jbl_test_binn1.c | 432 CU_ASSERT(binn_list_add(list, BINN_INT64, NULL, 0) == FALSE); in test1() 437 CU_ASSERT(binn_map_set(map, 5501, BINN_INT64, NULL, 0) == FALSE); in test1() 442 CU_ASSERT(binn_object_set(obj, "test", BINN_INT64, NULL, 0) == FALSE); in test1() 512 CU_ASSERT(binn_list_add(list, BINN_INT64, &vint64, 0) == TRUE); // 8th in test1() 523 CU_ASSERT(binn_map_set(map, 99006, BINN_INT64, &vint64, 0) == TRUE); // 9th in test1() 534 CU_ASSERT(binn_object_set(obj, "key6", BINN_INT64, &vint64, 0) == TRUE); // 9th in test1() 1189 CU_ASSERT(binn_list_add(list, BINN_INT64, &vint64, 0) == TRUE); // 8th in test4() 1200 CU_ASSERT(binn_map_set(map, 99006, BINN_INT64, &vint64, 0) == TRUE); // 9th in test4() 1211 CU_ASSERT(binn_object_set(obj, "key6", BINN_INT64, &vint64, 0) == TRUE); // 9th in test4() 1389 CU_ASSERT(type == BINN_INT64); in test4() [all …]
|
/third_party/iowow/src/json/ |
D | iwbinn.h | 123 #define BINN_INT64 0x81 // (QWORD) (signed integer) macro 200 #define BINN_IS_INT_TYPE(type_) ((type_) >= BINN_UINT8 && (type_) <= BINN_INT64) 325 return binn_value(BINN_INT64, &value, 0, NULL); in binn_int64() 555 #define binn_set_int64(item, value) do { (item)->type = BINN_INT64; (item)->vint64 = value; \ 614 return binn_list_add(list, BINN_INT64, &value, 0); in binn_list_add_int64() 692 return binn_map_set(map, id, BINN_INT64, &value, 0); in binn_map_set_int64() 766 return binn_object_set(obj, key, BINN_INT64, &value, 0); in binn_object_set_int64() 846 return binn_list_get(list, pos, BINN_INT64, pvalue, NULL); in binn_list_get_int64() 912 return binn_map_get(map, id, BINN_INT64, pvalue, NULL); in binn_map_get_int64() 981 return binn_object_get(obj, key, BINN_INT64, pvalue, NULL); in binn_object_get_int64()
|
D | iwbinn.c | 597 case BINN_INT64: in compress_int() 1984 case BINN_INT64: in type_family() 2038 case BINN_INT64: in int_type() 2090 case BINN_INT64: in copy_int_value() 2139 case BINN_INT64: in copy_int_value() 2476 binn_list_get(list, pos, BINN_INT64, &value, NULL); in binn_list_int64() 2576 binn_map_get(map, id, BINN_INT64, &value, NULL); in binn_map_int64() 2676 binn_object_get(obj, key, BINN_INT64, &value, NULL); in binn_object_int64() 2996 return copy_int_value(value->ptr, pint, value->type, BINN_INT64); in binn_get_int64() 3029 if (copy_int_value(value->ptr, &vint, value->type, BINN_INT64) == FALSE) { in binn_get_double() [all …]
|
D | iwjson.c | 511 case BINN_INT64: in _jbl_binn_type() 765 case BINN_INT64: in _jbl_as_json() 903 case BINN_INT64: in jbl_get_i64() 941 case BINN_INT64: in jbl_get_f64() 2003 case BINN_INT64: in _jbl_create_node()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 535 case BINN_INT64: in _jql_binn_to_jqval()
|