Searched refs:cJSON_Number (Results 1 – 11 of 11) sorted by relevance
/third_party/cJSON/tests/ |
D | parse_object.c | 91 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()
|
D | parse_array.c | 82 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()
|
D | parse_number.c | 39 assert_has_type(number_item, cJSON_Number); in assert_is_number()
|
D | parse_value.c | 75 assert_parse_value("1.5", cJSON_Number); in parse_value_should_parse_number()
|
D | compare_tests.c | 106 invalid->type = cJSON_Number | cJSON_String; in cjson_compare_should_not_accept_invalid_types()
|
D | misc_tests.c | 182 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()
|
D | cjson_add.c | 251 TEST_ASSERT_EQUAL_INT(number->type, cJSON_Number); in cjson_add_number_should_add_number()
|
/third_party/cJSON/ |
D | cJSON.c | 375 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()
|
D | cJSON.h | 93 #define cJSON_Number (1 << 3) macro
|
D | cJSON_Utils.c | 613 case cJSON_Number: in compare_json() 1156 case cJSON_Number: in create_patches()
|
D | README.md | 198 * `cJSON_Number` (check with `cJSON_IsNumber`): Represents a number value. The value is stored as a…
|