Searched refs:cJSON_DetachItemViaPointer (Results 1 – 4 of 4) sorted by relevance
/third_party/cJSON/tests/ |
D | misc_tests.c | 263 …TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[1])) == &(list[1]), "Failed to … in cjson_detach_item_via_pointer_should_detach_items() 268 …TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[0])) == &(list[0]), "Failed to … in cjson_detach_item_via_pointer_should_detach_items() 273 …TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[3])) == &(list[3]), "Failed to … in cjson_detach_item_via_pointer_should_detach_items() 278 …TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &list[2]) == &list[2], "Failed to deta… in cjson_detach_item_via_pointer_should_detach_items() 415 TEST_ASSERT_NULL(cJSON_DetachItemViaPointer(NULL, item)); in cjson_functions_should_not_crash_with_null_pointers() 416 TEST_ASSERT_NULL(cJSON_DetachItemViaPointer(item, NULL)); in cjson_functions_should_not_crash_with_null_pointers()
|
/third_party/cJSON/ |
D | cJSON.h | 233 CJSON_PUBLIC(cJSON *) cJSON_DetachItemViaPointer(cJSON *parent, cJSON * const item);
|
D | cJSON.c | 2192 CJSON_PUBLIC(cJSON *) cJSON_DetachItemViaPointer(cJSON *parent, cJSON * const item) in cJSON_DetachItemViaPointer() function 2235 return cJSON_DetachItemViaPointer(array, get_array_item(array, (size_t)which)); in cJSON_DetachItemFromArray() 2247 return cJSON_DetachItemViaPointer(object, to_detach); in cJSON_DetachItemFromObject() 2254 return cJSON_DetachItemViaPointer(object, to_detach); in cJSON_DetachItemFromObjectCaseSensitive()
|
D | CHANGELOG.md | 248 * Added `cJSON_ReplaceItemViaPointer` and `cJSON_DetachItemViaPointer`
|