Searched refs:true_item (Results 1 – 2 of 2) sorted by relevance
87 cJSON *true_item = NULL; in cjson_add_true_should_add_true() local91 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() local208 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()
2094 cJSON *true_item = cJSON_CreateTrue(); in cJSON_AddTrueToObject() local2095 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()