Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dcjson_add.c207 cJSON_AddBoolToObject(root, "true", true); in cjson_add_bool_should_add_bool()
212 cJSON_AddBoolToObject(root, "false", false); in cjson_add_bool_should_add_bool()
223 TEST_ASSERT_NULL(cJSON_AddBoolToObject(NULL, "false", false)); in cjson_add_bool_should_fail_with_null_pointers()
224 TEST_ASSERT_NULL(cJSON_AddBoolToObject(root, NULL, false)); in cjson_add_bool_should_fail_with_null_pointers()
235 TEST_ASSERT_NULL(cJSON_AddBoolToObject(root, "false", false)); in cjson_add_bool_should_fail_on_allocation_failure()
/third_party/cJSON/
DcJSON.h267 CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJS…
DcJSON.c2111 CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJS… in cJSON_AddBoolToObject() function