Home
last modified time | relevance | path

Searched refs:cJSON_CreateObject (Results 1 – 9 of 9) sorted by relevance

/third_party/cJSON/tests/
Dcjson_add.c50 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_add_null()
63 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_fail_with_null_pointers()
73 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_fail_on_allocation_failure()
86 cJSON *root = cJSON_CreateObject(); in cjson_add_true_should_add_true()
99 cJSON *root = cJSON_CreateObject(); in cjson_add_true_should_fail_with_null_pointers()
109 cJSON *root = cJSON_CreateObject(); in cjson_add_true_should_fail_on_allocation_failure()
166 cJSON *root = cJSON_CreateObject(); in cjson_add_false_should_add_false()
179 cJSON *root = cJSON_CreateObject(); in cjson_add_false_should_fail_with_null_pointers()
189 cJSON *root = cJSON_CreateObject(); in cjson_add_false_should_fail_on_allocation_failure()
202 cJSON *root = cJSON_CreateObject(); in cjson_add_bool_should_add_bool()
[all …]
Dreadme_examples.c60 cJSON *monitor = cJSON_CreateObject(); in create_monitor()
84 resolution = cJSON_CreateObject(); in create_monitor()
128 cJSON *monitor = cJSON_CreateObject(); in create_monitor_with_helpers()
143 cJSON *resolution = cJSON_CreateObject(); in create_monitor_with_helpers()
Dold_utils_tests.c102 object = cJSON_CreateObject(); in misc_tests()
119 object1 = cJSON_CreateObject(); in misc_tests()
126 object3 = cJSON_CreateObject(); in misc_tests()
148 sortme = cJSON_CreateObject(); in sort_tests()
Dmisc_tests.c516 cJSON *number_object = cJSON_CreateObject(); in cjson_create_object_reference_should_create_an_object_reference()
551 cJSON *object = cJSON_CreateObject(); in cjson_add_item_to_object_or_array_should_not_add_itself()
567 cJSON *object = cJSON_CreateObject(); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased()
/third_party/cJSON/
Dtest.c168 root = cJSON_CreateObject(); in create_objects()
170 cJSON_AddItemToObject(root, "format", fmt = cJSON_CreateObject()); in create_objects()
209 root = cJSON_CreateObject(); in create_objects()
210 cJSON_AddItemToObject(root, "Image", img = cJSON_CreateObject()); in create_objects()
214 cJSON_AddItemToObject(img, "Thumbnail", thm = cJSON_CreateObject()); in create_objects()
230 cJSON_AddItemToArray(root, fld = cJSON_CreateObject()); in create_objects()
249 root = cJSON_CreateObject(); in create_objects()
DcJSON_Utils.c1105 patch = cJSON_CreateObject(); in compose_patch()
1335 target = cJSON_CreateObject(); in merge_patch()
1410 patch = cJSON_CreateObject(); in generate_merge_patch()
DREADME.md244 You can create an empty object with `cJSON_CreateObject`. `cJSON_CreateObjectReference` can be used…
351 cJSON *monitor = cJSON_CreateObject();
375 resolution = cJSON_CreateObject();
424 cJSON *monitor = cJSON_CreateObject();
439 cJSON *resolution = cJSON_CreateObject();
DcJSON.h204 CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void);
DcJSON.c2161 cJSON *object_item = cJSON_CreateObject(); in cJSON_AddObjectToObject()
2524 CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void) in cJSON_CreateObject() function