Home
last modified time | relevance | path

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

/third_party/iowow/src/json/tests/
Djbl_test_binn2.c65 short vint16; variable
263 vint16 = -258; in test_create_object_1()
264 CU_ASSERT(binn_object_set(obj, "int16", BINN_INT16, &vint16, 0) == TRUE); in test_create_object_1()
390 vint16 = 0; in test_binn_read()
391 CU_ASSERT(binn_object_get(objptr, "int16", BINN_INT16, &vint16, NULL) == TRUE); in test_binn_read()
392 printf("int16: %d\n", vint16); in test_binn_read()
393 CU_ASSERT(vint16 == -258); in test_binn_read()
495 vint16 = 0; in test_binn_read()
496 CU_ASSERT(binn_object_get_int16(objptr, "int16", &vint16) == TRUE); in test_binn_read()
497 printf("int16: %d\n", vint16); in test_binn_read()
[all …]
Djbl_test_binn1.c304 signed short vint16; in test1() local
495 vint16 = -32000; in test1()
508 CU_ASSERT(binn_list_add(list, BINN_INT16, &vint16, 0) == TRUE); // fourth in test1()
519 CU_ASSERT(binn_map_set(map, 99002, BINN_INT16, &vint16, 0) == TRUE); // fifth in test1()
530 CU_ASSERT(binn_object_set(obj, "key2", BINN_INT16, &vint16, 0) == TRUE); // fifth in test1()
1078 signed short vint16, *pint16; in test4() local
1172 vint16 = -32000; in test4()
1185 CU_ASSERT(binn_list_add(list, BINN_INT16, &vint16, 0) == TRUE); // fourth in test4()
1196 CU_ASSERT(binn_map_set(map, 99002, BINN_INT16, &vint16, 0) == TRUE); // fifth in test4()
1207 CU_ASSERT(binn_object_set(obj, "key2", BINN_INT16, &vint16, 0) == TRUE); // fifth in test4()
[all …]
/third_party/iowow/src/json/
Diwbinn.c1266 memcpy(&value->vint16, p, 2); in GetValue()
1267 value->vint16 = frombe16(value->vint16); in GetValue()
1268 value->ptr = &value->vint16; in GetValue()
Diwjson.c760 llv = bn->vint16; in _jbl_as_json()
900 return jbl->bn.vint16; in jbl_get_i64()
938 return jbl->bn.vint16; in jbl_get_f64()
1996 n->vi64 = bv->vint16; in _jbl_create_node()
Diwbinn.h229 int16_t vint16; member
/third_party/ejdb/src/jql/
Djql.c529 qval->vi64 = vbinn->vint16; in _jql_binn_to_jqval()