Searched refs:vbool (Results 1 – 11 of 11) sorted by relevance
/third_party/ejdb/src/jbl/tests/ |
D | jbl_test_binn2.c | 70 BOOL vbool; variable 560 vbool = FALSE; in test_binn_read() 1406 BOOL vbool; in test_value_conversion() local 1492 CU_ASSERT(binn_get_bool(value, &vbool) == TRUE); in test_value_conversion() 1493 CU_ASSERT(vbool == TRUE); in test_value_conversion() 1518 CU_ASSERT(binn_get_bool(value, &vbool) == TRUE); in test_value_conversion() 1519 CU_ASSERT(vbool == TRUE); in test_value_conversion() 1544 CU_ASSERT(binn_get_bool(value, &vbool) == TRUE); in test_value_conversion() 1545 CU_ASSERT(vbool == TRUE); in test_value_conversion() 1561 CU_ASSERT(binn_get_bool(value, &vbool) == TRUE); in test_value_conversion() [all …]
|
D | jbl_test_binn1.c | 617 BOOL vbool; in _test2() local 831 CU_ASSERT(value.vbool == TRUE); in _test2() 843 CU_ASSERT(value.vbool == TRUE); in _test2() 853 CU_ASSERT(value.vbool == TRUE); in _test2() 958 CU_ASSERT(binn_list_get_bool(list, 3, &vbool) == TRUE); in _test2() 959 CU_ASSERT(vbool == TRUE); in _test2() 961 CU_ASSERT(binn_map_get_bool(map, 1003, &vbool) == TRUE); in _test2() 962 CU_ASSERT(vbool == TRUE); in _test2() 964 CU_ASSERT(binn_object_get_bool(obj, "bool", &vbool) == TRUE); in _test2() 965 CU_ASSERT(vbool == TRUE); in _test2()
|
/third_party/ejdb/src/jbi/ |
D | jbi_util.c | 101 if (jqval->vbool) { in jbi_jqval_fill_ikey() 126 *llv = jqval->vbool; in jbi_jqval_fill_ikey() 145 jbi_ftoa(jqval->vbool, numbuf, &ikey->size); in jbi_jqval_fill_ikey() 178 if (node->vbool) { in jbi_node_fill_ikey() 203 *llv = node->vbool; in jbi_node_fill_ikey() 223 jbi_ftoa(node->vbool, numbuf, &ikey->size); in jbi_node_fill_ikey()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 188 qv->vbool = val; in jql_set_bool() 419 qval->vbool = vbinn->vbool != 0; in _jql_binn_to_jqval() 484 qv->vbool = jn->vbool; in _jql_node_to_jqval() 538 return !strcmp(lv->vstr, "true") - rv->vbool; in _jql_cmp_jqval_pair() 569 return (lv->vi64 != 0) - rv->vbool; in _jql_cmp_jqval_pair() 588 return lv->vf64 > (double) rv->vbool ? 1 : lv->vf64 < (double) rv->vbool ? -1 : 0; in _jql_cmp_jqval_pair() 596 return lv->vbool - rv->vbool; in _jql_cmp_jqval_pair() 598 return lv->vbool - (rv->vi64 != 0L); in _jql_cmp_jqval_pair() 600 return lv->vbool - (rv->vf64 != 0.0); // -V550 in _jql_cmp_jqval_pair() 602 return lv->vbool - !strcmp(rv->vstr, "true"); in _jql_cmp_jqval_pair() [all …]
|
D | jql_internal.h | 43 bool vbool; member
|
/third_party/ejdb/src/jbl/ |
D | jbl_json.c | 270 node->vbool = true; // -V522 in _jbl_parse_value() 281 node->vbool = false; in _jbl_parse_value() 470 if (node->vbool) { in _jbl_node_as_json() 516 n->vbool = src->vbool; in _jbl_clone_node_struct()
|
D | jbl.c | 753 PT(bn->vbool ? "true" : "false", -1, 0, 1); in _jbl_as_json() 869 return jbl->bn.vbool; in jbl_get_i64() 907 return jbl->bn.vbool; in jbl_get_f64() 1497 .vbool = bv in jbn_path_compare_bool() 1712 n->vbool = val; in jbn_add_item_bool() 1923 n->vbool = true; in _jbl_create_node() 1927 n->vbool = false; in _jbl_create_node() 1931 n->vbool = bv->vbool; in _jbl_create_node() 2207 return n1->vbool - n2->vbool; in _jbl_compare_nodes() 2453 binn_set_bool(res, node->vbool); in _jbl_from_node_impl()
|
D | binn.c | 1309 value->vbool = TRUE; in GetValue() 1310 value->ptr = &value->vbool; in GetValue() 1314 value->vbool = FALSE; in GetValue() 1315 value->ptr = &value->vbool; in GetValue() 2984 *pint = value->vbool; in binn_get_int32() 3016 *pint = value->vbool; in binn_get_int64() 3053 *pfloat = value->vbool; in binn_get_double() 3075 *pbool = value->vbool; in binn_get_bool() 3113 if (value->vbool) { in binn_get_str()
|
D | binn.h | 257 BOOL vbool; member 560 …l(item, value) do { (item)->type = BINN_BOOL; (item)->vbool = value; (item)->ptr = &((item)->vbool…
|
D | jbl.h | 147 bool vbool; member
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 441 unit->json.jn.vbool = true; in _jqp_json_true_false_null() 444 unit->json.jn.vbool = false; in _jqp_json_true_false_null()
|