Searched refs:JSON_TOKEN_REAL (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/test/ |
D | test-json.c | 48 } else if (t == JSON_TOKEN_REAL) { in test_tokenizer_one() 591 …test_tokenizer_one("18446744073709551616", JSON_TOKEN_REAL, (double) 18446744073709551616.0L, JSON… in TEST() 592 …test_tokenizer_one("-9223372036854775809", JSON_TOKEN_REAL, (double) -9223372036854775809.0L, JSON… in TEST() 594 test_tokenizer_one("3.141", JSON_TOKEN_REAL, (double) 3.141, JSON_TOKEN_END); in TEST() 595 test_tokenizer_one("0.0", JSON_TOKEN_REAL, (double) 0.0, JSON_TOKEN_END); in TEST() 596 test_tokenizer_one("7e3", JSON_TOKEN_REAL, (double) 7e3, JSON_TOKEN_END); in TEST() 597 test_tokenizer_one("-7e-3", JSON_TOKEN_REAL, (double) -7e-3, JSON_TOKEN_END); in TEST()
|
/systemd-251/src/shared/ |
D | json-internal.h | 67 JSON_TOKEN_REAL, enumerator
|
D | json.c | 2583 return JSON_TOKEN_REAL; in json_parse_number() 3017 case JSON_TOKEN_REAL: in json_parse_internal()
|