Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dcjson_add.c167 cJSON *false_item = NULL; in cjson_add_false_should_add_false() local
171 TEST_ASSERT_NOT_NULL(false_item = cJSON_GetObjectItemCaseSensitive(root, "false")); in cjson_add_false_should_add_false()
172 TEST_ASSERT_EQUAL_INT(false_item->type, cJSON_False); in cjson_add_false_should_add_false()
204 cJSON *false_item = NULL; in cjson_add_bool_should_add_bool() local
213 TEST_ASSERT_NOT_NULL(false_item = cJSON_GetObjectItemCaseSensitive(root, "false")); in cjson_add_bool_should_add_bool()
214 TEST_ASSERT_EQUAL_INT(false_item->type, cJSON_False); in cjson_add_bool_should_add_bool()
/third_party/cJSON/
DcJSON.c2106 cJSON *false_item = cJSON_CreateFalse(); in cJSON_AddFalseToObject() local
2107 if (add_item_to_object(object, name, false_item, &global_hooks, false)) in cJSON_AddFalseToObject()
2109 return false_item; in cJSON_AddFalseToObject()
2112 cJSON_Delete(false_item); in cJSON_AddFalseToObject()