Home
last modified time | relevance | path

Searched refs:true_item (Results 1 – 2 of 2) sorted by relevance

/third_party/cJSON/tests/
Dcjson_add.c87 cJSON *true_item = NULL; in cjson_add_true_should_add_true() local
91 TEST_ASSERT_NOT_NULL(true_item = cJSON_GetObjectItemCaseSensitive(root, "true")); in cjson_add_true_should_add_true()
92 TEST_ASSERT_EQUAL_INT(true_item->type, cJSON_True); in cjson_add_true_should_add_true()
203 cJSON *true_item = NULL; in cjson_add_bool_should_add_bool() local
208 TEST_ASSERT_NOT_NULL(true_item = cJSON_GetObjectItemCaseSensitive(root, "true")); in cjson_add_bool_should_add_bool()
209 TEST_ASSERT_EQUAL_INT(true_item->type, cJSON_True); in cjson_add_bool_should_add_bool()
/third_party/cJSON/
DcJSON.c2094 cJSON *true_item = cJSON_CreateTrue(); in cJSON_AddTrueToObject() local
2095 if (add_item_to_object(object, name, true_item, &global_hooks, false)) in cJSON_AddTrueToObject()
2097 return true_item; in cJSON_AddTrueToObject()
2100 cJSON_Delete(true_item); in cJSON_AddTrueToObject()