Searched refs:cJSON_Duplicate (Results 1 – 8 of 8) sorted by relevance
/third_party/cJSON/tests/ |
D | json_patch_tests.c | 84 object = cJSON_Duplicate(doc, true); in test_apply_patch() 145 object = cJSON_Duplicate(doc, true); in test_generate_test()
|
D | misc_tests.c | 443 TEST_ASSERT_NULL(cJSON_Duplicate(NULL, true)); in cjson_functions_should_not_crash_with_null_pointers()
|
/third_party/cJSON/ |
D | cJSON_Utils.c | 861 value = cJSON_Duplicate(value, 1); in apply_patch() 932 value = cJSON_Duplicate(value, 1); in apply_patch() 950 value = cJSON_Duplicate(value, 1); in apply_patch() 1131 cJSON_AddItemToObject(patch, "value", cJSON_Duplicate(value, 1)); in compose_patch() 1329 return cJSON_Duplicate(patch, 1); in merge_patch() 1402 return cJSON_Duplicate(to, 1); in generate_merge_patch() 1444 cJSON_AddItemToObject(patch, to_child->string, cJSON_Duplicate(to_child, 1)); in generate_merge_patch()
|
D | cJSON.h | 249 CJSON_PUBLIC(cJSON *) cJSON_Duplicate(const cJSON *item, cJSON_bool recurse);
|
D | cJSON.c | 2707 CJSON_PUBLIC(cJSON *) cJSON_Duplicate(const cJSON *item, cJSON_bool recurse) in cJSON_Duplicate() function 2754 …newchild = cJSON_Duplicate(child, true); /* Duplicate (with recurse) each item in the ->next chain… in cJSON_Duplicate()
|
D | CHANGELOG.md | 412 * fixed a memory leak in `cJSON_Duplicate`, thanks @alperakcan, see [#81](https://github.com/DaveGa…
|
/third_party/vulkan-loader/loader/ |
D | cJSON.h | 138 cJSON *cJSON_Duplicate(cJSON *item, int recurse);
|
D | cJSON.c | 1142 cJSON *cJSON_Duplicate(cJSON *item, int recurse) { in cJSON_Duplicate() function 1170 … newchild = cJSON_Duplicate(cptr, 1); /* Duplicate (with recurse) each item in the ->next chain */ in cJSON_Duplicate()
|