Searched refs:cJSON_AddBoolToObject (Results 1 – 3 of 3) sorted by relevance
/third_party/cJSON/tests/ |
D | cjson_add.c | 207 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/ |
D | cJSON.h | 267 CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJS…
|
D | cJSON.c | 2111 CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJS… in cJSON_AddBoolToObject() function
|