Home
last modified time | relevance | path

Searched refs:cJSON_GetErrorPtr (Results 1 - 5 of 5) sorted by relevance

/third_party/cJSON/tests/
H A Dparse_with_opts.c45 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
49 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
59 TEST_ASSERT_EQUAL_PTR(json + strlen(json), cJSON_GetErrorPtr()); in parse_with_opts_should_handle_incomplete_json()
H A Dparse_examples.c145 TEST_ASSERT_EQUAL_PTR_MESSAGE(test6, cJSON_GetErrorPtr(), "Error pointer is incorrect."); in file_test6_should_not_be_parsed()
190 TEST_ASSERT_EQUAL_PTR_MESSAGE(test12 + strlen(test12), cJSON_GetErrorPtr(), "Error pointer is incorrect."); in test12_should_not_be_parsed()
H A Dreadme_examples.c178 const char *error_ptr = cJSON_GetErrorPtr(); in supports_full_hd()
/third_party/cJSON/
H A DcJSON.h164 /* If you supply a ptr in return_parse_end and parsing fails, then return_parse_end will contain a pointer to the error so will match cJSON_GetErrorPtr(). */
189 CJSON_PUBLIC(const char *) cJSON_GetErrorPtr(void);
H A DcJSON.c94 CJSON_PUBLIC(const char *) cJSON_GetErrorPtr(void) in cJSON_GetErrorPtr() function

Completed in 27 milliseconds