Home
last modified time | relevance | path

Searched refs:vuint32 (Results 1 – 5 of 5) sorted by relevance

/third_party/iowow/src/json/tests/
Djbl_test_binn2.c62 unsigned int vuint32; variable
270 vuint32 = 123456; in test_create_object_1()
271 CU_ASSERT(binn_object_set(obj, "uint32", BINN_UINT32, &vuint32, 0) == TRUE); in test_create_object_1()
406 vuint32 = 0; in test_binn_read()
407 CU_ASSERT(binn_object_get(objptr, "uint32", BINN_UINT32, &vuint32, NULL) == TRUE); in test_binn_read()
408 printf("uint32: %d\n", vuint32); in test_binn_read()
409 CU_ASSERT(vuint32 == 123456); in test_binn_read()
511 vuint32 = 0; in test_binn_read()
512 CU_ASSERT(binn_object_get_uint32(objptr, "uint32", &vuint32) == TRUE); in test_binn_read()
513 printf("uint32: %d\n", vuint32); in test_binn_read()
[all …]
Djbl_test_binn1.c307 unsigned int vuint32; in test1() local
498 vuint32 = 65000000; in test1()
511 CU_ASSERT(binn_list_add(list, BINN_UINT32, &vuint32, 0) == TRUE); // 7th in test1()
522 CU_ASSERT(binn_map_set(map, 99005, BINN_UINT32, &vuint32, 0) == TRUE); // 8th in test1()
533 CU_ASSERT(binn_object_set(obj, "key5", BINN_UINT32, &vuint32, 0) == TRUE); // 8th in test1()
550 CU_ASSERT(binn_object_set(obj1, "test", BINN_UINT32, &vuint32, 0) == TRUE); in test1()
551 …CU_ASSERT(binn_object_set(obj1, "test", BINN_UINT32, &vuint32, 0) == FALSE); // with the same name in test1()
1081 unsigned int vuint32, *puint32; in test4() local
1175 vuint32 = 65000000; in test4()
1188 CU_ASSERT(binn_list_add(list, BINN_UINT32, &vuint32, 0) == TRUE); // 7th in test4()
[all …]
/third_party/iowow/src/json/
Diwbinn.h234 uint32_t vuint32; member
558 #define binn_set_uint(item, value) do { (item)->type = BINN_UINT32; (item)->vuint32 = value; \
559 (item)->ptr = &((item)->vuint32); } while (0)
Diwjson.c754 llv = bn->vuint32; in _jbl_as_json()
894 return jbl->bn.vuint32; in jbl_get_i64()
932 return jbl->bn.vuint32; in jbl_get_f64()
1984 n->vi64 = bv->vuint32; in _jbl_create_node()
/third_party/ejdb/src/jql/
Djql.c517 qval->vi64 = vbinn->vuint32; in _jql_binn_to_jqval()