Home
last modified time | relevance | path

Searched refs:cJSON_Duplicate (Results 1 – 8 of 8) sorted by relevance

/third_party/cJSON/tests/
Djson_patch_tests.c84 object = cJSON_Duplicate(doc, true); in test_apply_patch()
145 object = cJSON_Duplicate(doc, true); in test_generate_test()
Dmisc_tests.c443 TEST_ASSERT_NULL(cJSON_Duplicate(NULL, true)); in cjson_functions_should_not_crash_with_null_pointers()
/third_party/cJSON/
DcJSON_Utils.c861 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()
DcJSON.h249 CJSON_PUBLIC(cJSON *) cJSON_Duplicate(const cJSON *item, cJSON_bool recurse);
DcJSON.c2707 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()
DCHANGELOG.md412 * fixed a memory leak in `cJSON_Duplicate`, thanks @alperakcan, see [#81](https://github.com/DaveGa…
/third_party/vulkan-loader/loader/
DcJSON.h138 cJSON *cJSON_Duplicate(cJSON *item, int recurse);
DcJSON.c1142 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()