Searched refs:cJSON_String (Results 1 – 11 of 11) sorted by relevance
/third_party/cJSON/tests/ |
D | parse_value.c | 81 assert_parse_value("\"\"", cJSON_String); in parse_value_should_parse_string() 83 assert_parse_value("\"hello\"", cJSON_String); in parse_value_should_parse_string()
|
D | parse_object.c | 95 assert_is_child(item->child, "hello", cJSON_String); in parse_object_should_parse_objects_with_one_element() 125 cJSON_String, in parse_object_should_parse_objects_with_multiple_elements()
|
D | parse_array.c | 87 assert_has_type(item->child, cJSON_String); in parse_array_should_parse_arrays_with_one_element() 126 cJSON_String, in parse_array_should_parse_arrays_with_multiple_elements()
|
D | parse_string.c | 39 assert_has_type(string_item, cJSON_String); in assert_is_string()
|
D | compare_tests.c | 106 invalid->type = cJSON_Number | cJSON_String; in cjson_compare_should_not_accept_invalid_types()
|
D | misc_tests.c | 187 item->type = cJSON_String | cJSON_StringIsConst; in typecheck_functions_should_check_type() 509 TEST_ASSERT_EQUAL_INT(cJSON_IsReference | cJSON_String, string_reference->type); in cjson_create_string_reference_should_create_a_string_reference()
|
D | cjson_add.c | 289 TEST_ASSERT_EQUAL_INT(string->type, cJSON_String); in cjson_add_string_should_add_string()
|
/third_party/cJSON/ |
D | cJSON.c | 404 if (!(object->type & cJSON_String) || (object->type & cJSON_IsReference)) in cJSON_SetValuestring() 875 item->type = cJSON_String; in parse_string() 1422 case cJSON_String: in print_value() 2451 item->type = cJSON_String; in cJSON_CreateString() 2468 item->type = cJSON_String | cJSON_IsReference; in cJSON_CreateStringReference() 2944 return (item->type & 0xFF) == cJSON_String; in cJSON_IsString() 2991 case cJSON_String: in cJSON_Compare() 3022 case cJSON_String: in cJSON_Compare()
|
D | cJSON.h | 94 #define cJSON_String (1 << 4) macro
|
D | cJSON_Utils.c | 624 case cJSON_String: in compare_json() 1163 case cJSON_String: in create_patches()
|
D | README.md | 199 * `cJSON_String` (check with `cJSON_IsString`): Represents a string value. It is stored in the form… 215 it gets deleted as well. You also could use `cJSON_SetValuestring` to change a `cJSON_String`'s `va…
|