Home
last modified time | relevance | path

Searched refs:string_item (Results 1 – 2 of 2) sorted by relevance

/third_party/cJSON/tests/
Dparse_string.c33 static void assert_is_string(cJSON *string_item) in assert_is_string() argument
35 TEST_ASSERT_NOT_NULL_MESSAGE(string_item, "Item is NULL."); in assert_is_string()
37 assert_not_in_list(string_item); in assert_is_string()
38 assert_has_no_child(string_item); in assert_is_string()
39 assert_has_type(string_item, cJSON_String); in assert_is_string()
40 assert_has_no_reference(string_item); in assert_is_string()
41 assert_has_no_const_string(string_item); in assert_is_string()
42 assert_has_valuestring(string_item); in assert_is_string()
43 assert_has_no_string(string_item); in assert_is_string()
/third_party/cJSON/
DcJSON.c2146 cJSON *string_item = cJSON_CreateString(string); in cJSON_AddStringToObject() local
2147 if (add_item_to_object(object, name, string_item, &global_hooks, false)) in cJSON_AddStringToObject()
2149 return string_item; in cJSON_AddStringToObject()
2152 cJSON_Delete(string_item); in cJSON_AddStringToObject()