Home
last modified time | relevance | path

Searched refs:cJSON_PrintPreallocated (Results 1 – 6 of 6) sorted by relevance

/third_party/cJSON/
Dtest.c75 if (!cJSON_PrintPreallocated(root, buf, (int)len, 1)) { in print_preallocated()
92 if (cJSON_PrintPreallocated(root, buf_fail, (int)len_fail, 1)) { in print_preallocated()
DcJSON.h163 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const…
DCHANGELOG.md288 * Add a note in the header about required buffer size when using `cJSON_PrintPreallocated`, see [4b…
410 * Add a function `cJSON_PrintPreallocated` to print to a preallocated buffer, thanks @ChisholmKyle,…
DREADME.md303 These dynamic buffer allocations can be completely avoided by using `cJSON_PrintPreallocated(cJSON …
DcJSON.c1293 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const… in cJSON_PrintPreallocated() function
/third_party/cJSON/tests/
Dmisc_tests.c376 TEST_ASSERT_FALSE(cJSON_PrintPreallocated(NULL, buffer, sizeof(buffer), true)); in cjson_functions_should_not_crash_with_null_pointers()
377 TEST_ASSERT_FALSE(cJSON_PrintPreallocated(item, NULL, 1, true)); in cjson_functions_should_not_crash_with_null_pointers()