Home
last modified time | relevance | path

Searched refs:cJSON_Number (Results 1 – 11 of 11) sorted by relevance

/third_party/cJSON/tests/
Dparse_object.c91 assert_is_child(item->child, "one", cJSON_Number); in parse_object_should_parse_objects_with_one_element()
110 assert_is_child(item->child, "one", cJSON_Number); in parse_object_should_parse_objects_with_multiple_elements()
111 assert_is_child(item->child->next, "two", cJSON_Number); in parse_object_should_parse_objects_with_multiple_elements()
112 assert_is_child(item->child->next->next, "three", cJSON_Number); in parse_object_should_parse_objects_with_multiple_elements()
120 cJSON_Number, in parse_object_should_parse_objects_with_multiple_elements()
Dparse_array.c82 assert_has_type(item->child, cJSON_Number); in parse_array_should_parse_arrays_with_one_element()
111 assert_has_type(item->child, cJSON_Number); in parse_array_should_parse_arrays_with_multiple_elements()
112 assert_has_type(item->child->next, cJSON_Number); in parse_array_should_parse_arrays_with_multiple_elements()
113 assert_has_type(item->child->next->next, cJSON_Number); in parse_array_should_parse_arrays_with_multiple_elements()
121 cJSON_Number, in parse_array_should_parse_arrays_with_multiple_elements()
Dparse_number.c39 assert_has_type(number_item, cJSON_Number); in assert_is_number()
Dparse_value.c75 assert_parse_value("1.5", cJSON_Number); in parse_value_should_parse_number()
Dcompare_tests.c106 invalid->type = cJSON_Number | cJSON_String; in cjson_compare_should_not_accept_invalid_types()
Dmisc_tests.c182 item->type = cJSON_Number | cJSON_StringIsConst; in typecheck_functions_should_check_type()
224 cJSON number[1] = {{NULL, NULL, NULL, cJSON_Number, NULL, 0, 0, NULL}}; in cjson_set_number_value_should_set_numbers()
Dcjson_add.c251 TEST_ASSERT_EQUAL_INT(number->type, cJSON_Number); in cjson_add_number_should_add_number()
/third_party/cJSON/
DcJSON.c375 item->type = cJSON_Number; in parse_number()
1401 case cJSON_Number: in print_value()
2425 item->type = cJSON_Number; in cJSON_CreateNumber()
2934 return (item->type & 0xFF) == cJSON_Number; in cJSON_IsNumber()
2990 case cJSON_Number: in cJSON_Compare()
3015 case cJSON_Number: in cJSON_Compare()
DcJSON.h93 #define cJSON_Number (1 << 3) macro
DcJSON_Utils.c613 case cJSON_Number: in compare_json()
1156 case cJSON_Number: in create_patches()
DREADME.md198 * `cJSON_Number` (check with `cJSON_IsNumber`): Represents a number value. The value is stored as a…