Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dparse_object.c33 static void assert_is_object(cJSON *object_item) in assert_is_object() argument
35 TEST_ASSERT_NOT_NULL_MESSAGE(object_item, "Item is NULL."); in assert_is_object()
37 assert_not_in_list(object_item); in assert_is_object()
38 assert_has_type(object_item, cJSON_Object); in assert_is_object()
39 assert_has_no_reference(object_item); in assert_is_object()
40 assert_has_no_const_string(object_item); in assert_is_object()
41 assert_has_no_valuestring(object_item); in assert_is_object()
42 assert_has_no_string(object_item); in assert_is_object()
/third_party/cJSON/
DcJSON.c2170 cJSON *object_item = cJSON_CreateObject(); in cJSON_AddObjectToObject() local
2171 if (add_item_to_object(object, name, object_item, &global_hooks, false)) in cJSON_AddObjectToObject()
2173 return object_item; in cJSON_AddObjectToObject()
2176 cJSON_Delete(object_item); in cJSON_AddObjectToObject()