Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dparse_with_opts.c31 …TEST_ASSERT_NULL_MESSAGE(cJSON_ParseWithOpts(NULL, &error_pointer, false), "Failed to handle NULL … in parse_with_opts_should_handle_null()
32 item = cJSON_ParseWithOpts("{}", NULL, false); in parse_with_opts_should_handle_null()
35 TEST_ASSERT_NULL_MESSAGE(cJSON_ParseWithOpts(NULL, NULL, false), "Failed to handle both NULL."); in parse_with_opts_should_handle_null()
36 …TEST_ASSERT_NULL_MESSAGE(cJSON_ParseWithOpts("{", NULL, false), "Failed to handle NULL error point… in parse_with_opts_should_handle_null()
44 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, NULL, false)); in parse_with_opts_should_handle_empty_strings()
47 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, &error_pointer, false)); in parse_with_opts_should_handle_empty_strings()
57 TEST_ASSERT_NULL(cJSON_ParseWithOpts(json, &parse_end, false)); in parse_with_opts_should_handle_incomplete_json()
64 cJSON *item = cJSON_ParseWithOpts("{}", NULL, true); in parse_with_opts_should_require_null_if_requested()
67 item = cJSON_ParseWithOpts("{} \n", NULL, true); in parse_with_opts_should_require_null_if_requested()
70 TEST_ASSERT_NULL(cJSON_ParseWithOpts("{}x", NULL, true)); in parse_with_opts_should_require_null_if_requested()
[all …]
Dmisc_tests.c371 TEST_ASSERT_NULL(cJSON_ParseWithOpts(NULL, NULL, true)); in cjson_functions_should_not_crash_with_null_pointers()
/third_party/cJSON/fuzzing/
Dcjson_read_fuzzer.c34 json = cJSON_ParseWithOpts((const char*)data + offset, NULL, require_termination); in LLVMFuzzerTestOneInput()
/third_party/vulkan-loader/loader/
DcJSON.h147 cJSON *cJSON_ParseWithOpts(const VkAllocationCallbacks *pAllocator, const char *value, const char *…
DcJSON.c447 cJSON *cJSON_ParseWithOpts(const VkAllocationCallbacks *pAllocator, const char *value, const char *… in cJSON_ParseWithOpts() function
475 return cJSON_ParseWithOpts(pAllocator, value, 0, 0); in cJSON_Parse()
/third_party/cJSON/
DcJSON.h152 CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_b…
DREADME.md300 …ons in multithreading scenarios, in that case it is better to use `cJSON_ParseWithOpts` with `retu…
303 If you want more options, use `cJSON_ParseWithOpts(const char *value, const char **return_parse_end…
574 * `cJSON_GetErrorPtr` is never used (the `return_parse_end` parameter of `cJSON_ParseWithOpts` can …
DcJSON.c1084 CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_b… in cJSON_ParseWithOpts() function
1182 return cJSON_ParseWithOpts(value, 0, 0); in cJSON_Parse()
DCHANGELOG.md182 * Set the global error pointer even if `return_parse_end` is passed to `cJSON_ParseWithOpts`, see […