Searched refs:cJSON_ParseWithOpts (Results 1 – 9 of 9) sorted by relevance
/third_party/cJSON/tests/ |
D | parse_with_opts.c | 31 …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 …]
|
D | misc_tests.c | 371 TEST_ASSERT_NULL(cJSON_ParseWithOpts(NULL, NULL, true)); in cjson_functions_should_not_crash_with_null_pointers()
|
/third_party/cJSON/fuzzing/ |
D | cjson_read_fuzzer.c | 34 json = cJSON_ParseWithOpts((const char*)data + offset, NULL, require_termination); in LLVMFuzzerTestOneInput()
|
/third_party/vulkan-loader/loader/ |
D | cJSON.h | 147 cJSON *cJSON_ParseWithOpts(const VkAllocationCallbacks *pAllocator, const char *value, const char *…
|
D | cJSON.c | 447 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/ |
D | cJSON.h | 152 CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_b…
|
D | README.md | 300 …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 …
|
D | cJSON.c | 1084 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()
|
D | CHANGELOG.md | 182 * Set the global error pointer even if `return_parse_end` is passed to `cJSON_ParseWithOpts`, see […
|