Home
last modified time | relevance | path

Searched refs:cJSON_String (Results 1 – 13 of 13) 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()
Dcjson_add.c289 TEST_ASSERT_EQUAL_INT(string->type, cJSON_String); in cjson_add_string_should_add_string()
Dmisc_tests.c187 item->type = cJSON_String | cJSON_StringIsConst; in typecheck_functions_should_check_type()
530 TEST_ASSERT_EQUAL_INT(cJSON_IsReference | cJSON_String, string_reference->type); in cjson_create_string_reference_should_create_a_string_reference()
/third_party/cJSON/
DcJSON.c404 if ((object == NULL) || !(object->type & cJSON_String) || (object->type & cJSON_IsReference)) in cJSON_SetValuestring()
884 item->type = cJSON_String; in parse_string()
1431 case cJSON_String: in print_value()
2470 item->type = cJSON_String; in cJSON_CreateString()
2487 item->type = cJSON_String | cJSON_IsReference; in cJSON_CreateStringReference()
2963 return (item->type & 0xFF) == cJSON_String; in cJSON_IsString()
3010 case cJSON_String: in cJSON_Compare()
3041 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.md218 * `cJSON_String` (check with `cJSON_IsString`): Represents a string value. It is stored in the form…
234 it gets deleted as well. You also could use `cJSON_SetValuestring` to change a `cJSON_String`'s `va…
/third_party/vulkan-loader/loader/
DcJSON.h39 #define cJSON_String 4 macro
DcJSON.c335 item->type = cJSON_String; in parse_string()
547 case cJSON_String: in print_value()
571 case cJSON_String: in print_value()
1071 item->type = cJSON_String; in cJSON_CreateString()