Home
last modified time | relevance | path

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

/third_party/iowow/src/json/tests/
Djbl_test_binn2.c63 int64 vint64; variable
267 vint64 = -1234567890123; in test_create_object_1()
268 CU_ASSERT(binn_object_set(obj, "int64", BINN_INT64, &vint64, 0) == TRUE); in test_create_object_1()
400 vint64 = 0; in test_binn_read()
401 CU_ASSERT(binn_object_get(objptr, "int64", BINN_INT64, &vint64, NULL) == TRUE); in test_binn_read()
402 printf("int64: %" INT64_FORMAT "\n", vint64); in test_binn_read()
403 CU_ASSERT(vint64 == -1234567890123); in test_binn_read()
505 vint64 = 0; in test_binn_read()
506 CU_ASSERT(binn_object_get_int64(objptr, "int64", &vint64) == TRUE); in test_binn_read()
507 printf("int64: %" INT64_FORMAT "\n", vint64); in test_binn_read()
[all …]
Djbl_test_binn1.c308 signed long long int vint64; in test1() local
499 vint64 = -6500000000000000; 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()
1082 signed long long int vint64, *pint64; in test4() local
1176 vint64 = -6500000000000000; in test4()
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()
[all …]
/third_party/iowow/src/json/
Diwbinn.h231 int64_t vint64; member
555 #define binn_set_int64(item, value) do { (item)->type = BINN_INT64; (item)->vint64 = value; \
556 (item)->ptr = &((item)->vint64); } while (0)
Diwbinn.c1276 memcpy(&value->vint64, p, 8); in GetValue()
1277 value->vint64 = frombe64(value->vint64); in GetValue()
1278 value->ptr = &value->vint64; in GetValue()
Diwjson.c766 llv = bn->vint64; in _jbl_as_json()
904 return jbl->bn.vint64; in jbl_get_i64()
942 return jbl->bn.vint64; in jbl_get_f64()
2004 n->vi64 = bv->vint64; in _jbl_create_node()
/third_party/ejdb/src/jql/
Djql.c537 qval->vi64 = vbinn->vint64; in _jql_binn_to_jqval()