Searched refs:vdouble (Results 1 – 6 of 6) sorted by relevance
/third_party/iowow/src/json/tests/ |
D | jbl_test_binn2.c | 1404 double vdouble; in test_value_conversion() local 1489 CU_ASSERT(binn_get_double(value, &vdouble) == TRUE); in test_value_conversion() 1490 CU_ASSERT(AlmostEqualFloats(vdouble, 123, 4) == TRUE); in test_value_conversion() 1515 CU_ASSERT(binn_get_double(value, &vdouble) == TRUE); in test_value_conversion() 1516 CU_ASSERT(AlmostEqualFloats(vdouble, -456, 4) == TRUE); in test_value_conversion() 1541 CU_ASSERT(binn_get_double(value, &vdouble) == TRUE); in test_value_conversion() 1542 CU_ASSERT(AlmostEqualFloats(vdouble, -4.56, 4) == TRUE); in test_value_conversion() 1626 CU_ASSERT(binn_get_double(value, &vdouble) == TRUE); in test_value_conversion() 1627 CU_ASSERT(AlmostEqualFloats(vdouble, -345, 4) == TRUE); in test_value_conversion() 1656 CU_ASSERT(binn_get_double(value, &vdouble) == TRUE); in test_value_conversion() [all …]
|
D | jbl_test_binn1.c | 620 double vdouble; in _test2() local 791 CU_ASSERT(value.vdouble == 1.23); in _test2() 803 CU_ASSERT(value.vdouble == 4.56); in _test2() 815 CU_ASSERT(value.vdouble == 7.89); in _test2() 946 CU_ASSERT(binn_list_get_double(list, 2, &vdouble) == TRUE); in _test2() 947 CU_ASSERT(vdouble == 1.23); in _test2() 949 CU_ASSERT(binn_map_get_double(map, 1002, &vdouble) == TRUE); in _test2() 950 CU_ASSERT(vdouble == 4.56); in _test2() 952 CU_ASSERT(binn_object_get_double(obj, "double", &vdouble) == TRUE); in _test2() 953 CU_ASSERT(vdouble == 7.89); in _test2()
|
/third_party/iowow/src/json/ |
D | iwbinn.c | 1329 value->vdouble = atof((const char*) value->ptr); // converts from string to double in GetValue() 1330 value->ptr = &value->vdouble; in GetValue() 2912 double vdouble; in is_bool_str() local 2943 vdouble = atof(str); in is_bool_str() 2944 *pbool = (vdouble != 0) ? TRUE : FALSE; in is_bool_str() 2971 *pint = round(value->vdouble); in binn_get_int32() 3003 *pint = round(value->vdouble); in binn_get_int64() 3040 *pfloat = value->vdouble; in binn_get_double() 3080 *pbool = (value->vdouble != 0) ? TRUE : FALSE; in binn_get_bool() 3105 value->vdouble = value->vfloat; in binn_get_str() [all …]
|
D | iwbinn.h | 245 double vdouble; member 565 #define binn_set_double(item, value) do { (item)->type = BINN_DOUBLE; (item)->vdouble = value; \ 566 (item)->ptr = &((item)->vdouble); } while (0)
|
D | iwjson.c | 778 dv = bn->vdouble; in _jbl_as_json() 910 return (int64_t) jbl->bn.vdouble; in jbl_get_i64() 924 return jbl->bn.vdouble; in jbl_get_f64() 2009 n->vf64 = bv->vdouble; in _jbl_create_node()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 545 qval->vf64 = vbinn->vdouble; in _jql_binn_to_jqval()
|