Home
last modified time | relevance | path

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

/third_party/iowow/src/json/tests/
Djbl_test_binn2.c64 uint64 vuint64; variable
276 vuint64 = 1234567890123; in test_create_object_1()
277 CU_ASSERT(binn_object_set(obj, "uint64", BINN_UINT64, &vuint64, 0) == TRUE); in test_create_object_1()
421 vuint64 = 0; in test_binn_read()
422 CU_ASSERT(binn_object_get(objptr, "uint64", BINN_UINT64, &vuint64, NULL) == TRUE); in test_binn_read()
423 printf("uint64: %" UINT64_FORMAT "\n", vuint64); in test_binn_read()
424 CU_ASSERT(vuint64 == 1234567890123); in test_binn_read()
526 vuint64 = 0; in test_binn_read()
527 CU_ASSERT(binn_object_get_uint64(objptr, "uint64", &vuint64) == TRUE); in test_binn_read()
528 printf("uint64: %" UINT64_FORMAT "\n", vuint64); in test_binn_read()
[all …]
Djbl_test_binn1.c309 unsigned long long int vuint64; in test1() local
500 vuint64 = 6500000000000000; in test1()
513 CU_ASSERT(binn_list_add(list, BINN_UINT64, &vuint64, 0) == TRUE); // 9th in test1()
524 CU_ASSERT(binn_map_set(map, 99007, BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test1()
535 CU_ASSERT(binn_object_set(obj, "key7", BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test1()
1083 unsigned long long int vuint64, *puint64; in test4() local
1177 vuint64 = 6500000000000000; in test4()
1190 CU_ASSERT(binn_list_add(list, BINN_UINT64, &vuint64, 0) == TRUE); // 9th in test4()
1201 CU_ASSERT(binn_map_set(map, 99007, BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test4()
1212 CU_ASSERT(binn_object_set(obj, "key7", BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test4()
[all …]
/third_party/iowow/src/json/
Diwbinn.c2078 uint64 vuint64 = 0; in copy_int_value() local
2094 vuint64 = *(unsigned char*) psource; in copy_int_value()
2097 vuint64 = *(unsigned short*) psource; in copy_int_value()
2100 vuint64 = *(unsigned int*) psource; in copy_int_value()
2103 vuint64 = *(uint64*) psource; in copy_int_value()
2110 if (vuint64 > INT64_MAX) { in copy_int_value()
2113 vf64 = vuint64; in copy_int_value()
2118 vuint64 = (uint64) vf64; in copy_int_value()
2143 if (vuint64 > UINT8_MAX) { in copy_int_value()
2146 *(unsigned char*) pdest = (unsigned char) vuint64; in copy_int_value()
[all …]
Diwbinn.h235 uint64_t vuint64; member
560 #define binn_set_uint64(item, value) do { (item)->type = BINN_UINT64; (item)->vuint64 = value; \
561 (item)->ptr = &((item)->vuint64); } while (0)
Diwjson.c769 llv = (int64_t) bn->vuint64; in _jbl_as_json()
896 return jbl->bn.vuint64; in jbl_get_i64()
934 return jbl->bn.vuint64; in jbl_get_f64()
1988 n->vi64 = bv->vuint64; in _jbl_create_node()
/third_party/ejdb/src/jql/
Djql.c521 qval->vi64 = (int64_t) vbinn->vuint64; in _jql_binn_to_jqval()