Home
last modified time | relevance | path

Searched refs:cJSON_Compare (Results 1 – 7 of 7) sorted by relevance

/third_party/cJSON/tests/
Dcompare_tests.c38 result = cJSON_Compare(a_json, b_json, case_sensitive); in compare_from_string()
48 TEST_ASSERT_FALSE(cJSON_Compare(NULL, NULL, true)); in cjson_compare_should_compare_null_pointer_as_not_equal()
49 TEST_ASSERT_FALSE(cJSON_Compare(NULL, NULL, false)); in cjson_compare_should_compare_null_pointer_as_not_equal()
57 TEST_ASSERT_FALSE(cJSON_Compare(invalid, invalid, false)); in cjson_compare_should_compare_invalid_as_not_equal()
58 TEST_ASSERT_FALSE(cJSON_Compare(invalid, invalid, true)); in cjson_compare_should_compare_invalid_as_not_equal()
108 TEST_ASSERT_FALSE(cJSON_Compare(invalid, invalid, true)); in cjson_compare_should_not_accept_invalid_types()
109 TEST_ASSERT_FALSE(cJSON_Compare(invalid, invalid, false)); in cjson_compare_should_not_accept_invalid_types()
134 TEST_ASSERT_TRUE(cJSON_Compare(raw1, raw2, true)); in cjson_compare_should_compare_raw()
135 TEST_ASSERT_TRUE(cJSON_Compare(raw1, raw2, false)); in cjson_compare_should_compare_raw()
Djson_patch_tests.c104 successful = cJSON_Compare(object, expected, true); in test_apply_patch()
166 successful = cJSON_Compare(object, expected, true); in test_generate_test()
Dparse_with_opts.c94 TEST_ASSERT_TRUE(cJSON_Compare(with_bom, without_bom, true)); in parse_with_opts_should_parse_utf8_bom()
Dmisc_tests.c444 TEST_ASSERT_FALSE(cJSON_Compare(item, NULL, false)); in cjson_functions_should_not_crash_with_null_pointers()
445 TEST_ASSERT_FALSE(cJSON_Compare(NULL, item, false)); in cjson_functions_should_not_crash_with_null_pointers()
/third_party/cJSON/
DcJSON.h255 CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSON * const b, const cJSON_bo…
DcJSON.c2987 CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSON * const b, const cJSON_bo… in cJSON_Compare() function
3052 if (!cJSON_Compare(a_element, b_element, case_sensitive)) in cJSON_Compare()
3082 if (!cJSON_Compare(a_element, b_element, case_sensitive)) in cJSON_Compare()
3098 if (!cJSON_Compare(b_element, a_element, case_sensitive)) in cJSON_Compare()
DCHANGELOG.md190 * Fix cJSON_Compare for arrays that are prefixes of the other and objects that are a subset of the …
227 * `cJSON_Compare` recursively checks if two cJSON items contain the same values, see [#148](https:/…