Searched refs:cJSON_Number (Results 1 - 14 of 14) sorted by relevance
/third_party/cJSON/tests/ |
H A 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()
|
H A 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()
|
H A D | misc_int64_tests.c | 33 assert_has_type(int64_number_item, cJSON_Number); in assert_is_int64() 107 cJSON number[1] = {{NULL, NULL, NULL, cJSON_Number | cJSON_IsInt64, NULL, 0, 0, NULL}}; in cjson_set_number_value_should_set_numbers_with_int64() 133 item->type = cJSON_Number; in typecheck_functions_should_check_type_with_int64() 139 item->type = cJSON_Number | cJSON_IsInt64; in typecheck_functions_should_check_type_with_int64()
|
H A D | parse_value.c | 75 assert_parse_value("1.5", cJSON_Number); in parse_value_should_parse_number()
|
H A D | cjson_add.c | 251 TEST_ASSERT_EQUAL_INT(number->type, cJSON_Number); in cjson_add_number_should_add_number() 291 TEST_ASSERT_EQUAL_INT(number->type, cJSON_Number | cJSON_IsInt64); in cjson_add_int64_number_should_add_int64_number()
|
H A D | compare_tests.c | 121 invalid->type = cJSON_Number | cJSON_String; in cjson_compare_should_not_accept_invalid_types()
|
H A D | parse_number.c | 39 assert_has_type(number_item, cJSON_Number); in assert_is_number()
|
H A D | print_number.c | 31 cJSON item[1] = {{ NULL, NULL, NULL, cJSON_Number | cJSON_IsInt64, NULL, 0, 0, NULL }}; in assert_print_int64_number()
|
H A 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()
|
/third_party/vulkan-loader/loader/ |
H A D | cJSON.h | 36 #define cJSON_Number 3 macro 56 int valueint; /* The item's number, if type==cJSON_Number */ 57 double valuedouble; /* The item's number, if type==cJSON_Number */
|
H A D | cJSON.c | 126 item->type = cJSON_Number; in parse_number() 552 case cJSON_Number: in print_value() 576 case cJSON_Number: in print_value()
|
/third_party/cJSON/ |
H A D | cJSON.c | 382 item->type = cJSON_Number | cJSON_IsInt64; in parse_number() 415 item->type = cJSON_Number; in parse_number() 493 item->type = cJSON_Number; in parse_number() 509 if (!(object->type & cJSON_Number) || !(object->type & cJSON_IsInt64)) in cJSON_SetInt64NumberValue() 733 else /* item->type == cJSON_Number */ in print_number() 1648 case cJSON_Number: in print_value() 2702 item->type = cJSON_Number | cJSON_IsInt64; in cJSON_CreateInt64Number() 2717 item->type = cJSON_Number; in cJSON_CreateNumber() 2744 item->type = cJSON_Number; in cJSON_CreateNumber() 3266 return (item->type & 0xFF) == cJSON_Number; in CJSON_PUBLIC() [all...] |
H A D | cJSON_Utils.c | 614 case cJSON_Number: in compare_json() 629 case cJSON_Number: in compare_json() 1173 case cJSON_Number: in create_patches()
|
H A D | cJSON.h | 98 #define cJSON_Number (1 << 3) macro 131 /* The item's number, if type==cJSON_Number */
|
Completed in 14 milliseconds