Searched refs:JSON_BUILD_REAL (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/test/ |
D | test-json.c | 286 JSON_BUILD_PAIR("two", JSON_BUILD_REAL(2.0)), in TEST() 290 JSON_BUILD_PAIR("three", JSON_BUILD_REAL(0)), in TEST() 291 … JSON_BUILD_PAIR("one", JSON_BUILD_REAL(7)))) >= 0); in TEST() 318 assert_se(json_build(&a, JSON_BUILD_REAL(M_PI)) >= 0); in TEST() 538 JSON_BUILD_REAL(DBL_MIN), in TEST() 539 JSON_BUILD_REAL(DBL_MAX), in TEST() 540 JSON_BUILD_REAL(NAN), in TEST() 541 JSON_BUILD_REAL(INFINITY), in TEST() 542 JSON_BUILD_REAL(-INFINITY), in TEST() 543 JSON_BUILD_REAL(HUGE_VAL), in TEST() [all …]
|
D | test-varlink.c | 159 …st.IDontExist", &o, &e, NULL, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("x", JSON_BUILD_REAL(5.5)))) >= 0); in thread()
|
/systemd-251/src/shared/ |
D | json.h | 269 #define JSON_BUILD_REAL(d) _JSON_BUILD_REAL, (double) { d } macro 296 #define JSON_BUILD_PAIR_REAL(name, d) JSON_BUILD_PAIR(name, JSON_BUILD_REAL(d))
|