Home
last modified time | relevance | path

Searched refs:cJSON_AddTrueToObject (Results 1 – 3 of 3) sorted by relevance

/third_party/cJSON/tests/
Dcjson_add.c89 cJSON_AddTrueToObject(root, "true"); in cjson_add_true_should_add_true()
101 TEST_ASSERT_NULL(cJSON_AddTrueToObject(NULL, "true")); in cjson_add_true_should_fail_with_null_pointers()
102 TEST_ASSERT_NULL(cJSON_AddTrueToObject(root, NULL)); in cjson_add_true_should_fail_with_null_pointers()
113 TEST_ASSERT_NULL(cJSON_AddTrueToObject(root, "true")); in cjson_add_true_should_fail_on_allocation_failure()
/third_party/cJSON/
DcJSON.h265 CJSON_PUBLIC(cJSON*) cJSON_AddTrueToObject(cJSON * const object, const char * const name);
DcJSON.c2096 CJSON_PUBLIC(cJSON*) cJSON_AddTrueToObject(cJSON * const object, const char * const name) in cJSON_AddTrueToObject() function