Searched refs:cJSON_PrintPreallocated (Results 1 – 6 of 6) sorted by relevance
/third_party/cJSON/ |
D | test.c | 75 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()
|
D | cJSON.h | 163 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const…
|
D | CHANGELOG.md | 288 * 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,…
|
D | README.md | 303 These dynamic buffer allocations can be completely avoided by using `cJSON_PrintPreallocated(cJSON …
|
D | cJSON.c | 1293 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const… in cJSON_PrintPreallocated() function
|
/third_party/cJSON/tests/ |
D | misc_tests.c | 376 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()
|