Home
last modified time | relevance | path

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

/third_party/ejdb/src/jbl/tests/
Djbl_test_binn2.c63 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.c310 unsigned long long int vuint64; in test1() local
501 vuint64 = 6500000000000000; in test1()
514 CU_ASSERT(binn_list_add(list, BINN_UINT64, &vuint64, 0) == TRUE); // 9th in test1()
525 CU_ASSERT(binn_map_set(map, 99007, BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test1()
536 CU_ASSERT(binn_object_set(obj, "key7", BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test1()
1084 unsigned long long int vuint64, *puint64; in test4() local
1178 vuint64 = 6500000000000000; in test4()
1191 CU_ASSERT(binn_list_add(list, BINN_UINT64, &vuint64, 0) == TRUE); // 9th in test4()
1202 CU_ASSERT(binn_map_set(map, 99007, BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test4()
1213 CU_ASSERT(binn_object_set(obj, "key7", BINN_UINT64, &vuint64, 0) == TRUE); // 10th in test4()
[all …]
/third_party/ejdb/src/jbl/
Dbinn.c2074 uint64 vuint64 = 0; in copy_int_value() local
2090 vuint64 = *(unsigned char*) psource; in copy_int_value()
2093 vuint64 = *(unsigned short*) psource; in copy_int_value()
2096 vuint64 = *(unsigned int*) psource; in copy_int_value()
2099 vuint64 = *(uint64*) psource; in copy_int_value()
2106 if (vuint64 > INT64_MAX) { in copy_int_value()
2109 vf64 = vuint64; in copy_int_value()
2114 vuint64 = (uint64) vf64; in copy_int_value()
2139 if (vuint64 > UINT8_MAX) { in copy_int_value()
2142 *(unsigned char*) pdest = (unsigned char) vuint64; in copy_int_value()
[all …]
Dbinn.h245 uint64_t vuint64; member
570 #define binn_set_uint64(item, value) do { (item)->type = BINN_UINT64; (item)->vuint64 = value; \
571 (item)->ptr = &((item)->vuint64); } while (0)
Djbl.c732 llv = (int64_t) bn->vuint64; in _jbl_as_json()
859 return jbl->bn.vuint64; in jbl_get_i64()
897 return jbl->bn.vuint64; in jbl_get_f64()
1946 n->vi64 = bv->vuint64; in _jbl_create_node()
/third_party/glib/glib/
Dgtestutils.c3902 union { double vdouble; guint64 vuint64; } u; in gstring_append_double() member
3904 u.vuint64 = GUINT64_TO_BE (u.vuint64); in gstring_append_double()
3905 g_string_append_len (gstring, (const gchar*) &u.vuint64, 8); in gstring_append_double()
3935 union { guint64 vuint64; double vdouble; } u; in net_double() member
3939 u.vuint64 = GUINT64_FROM_BE (aligned_int64); in net_double()
/third_party/ejdb/src/jql/
Djql.c435 qval->vi64 = (int64_t) vbinn->vuint64; in _jql_binn_to_jqval()