Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dparse_value.c81 assert_parse_value("\"\"", cJSON_String); in parse_value_should_parse_string()
83 assert_parse_value("\"hello\"", cJSON_String); in parse_value_should_parse_string()
Dparse_object.c95 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()
Dparse_array.c87 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()
Dparse_string.c39 assert_has_type(string_item, cJSON_String); in assert_is_string()
Dcompare_tests.c106 invalid->type = cJSON_Number | cJSON_String; in cjson_compare_should_not_accept_invalid_types()
Dmisc_tests.c187 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()
Dcjson_add.c289 TEST_ASSERT_EQUAL_INT(string->type, cJSON_String); in cjson_add_string_should_add_string()
/third_party/cJSON/
DcJSON.c404 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()
DcJSON.h94 #define cJSON_String (1 << 4) macro
DcJSON_Utils.c624 case cJSON_String: in compare_json()
1163 case cJSON_String: in create_patches()
DREADME.md199 * `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…