Searched refs:new_items (Results 1 – 3 of 3) sorted by relevance
39 void **new_items = NULL; in drv_array_append() local41 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_append()42 assert(new_items); in drv_array_append()43 array->items = new_items; in drv_array_append()68 void **new_items = NULL; in drv_array_remove() local70 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_remove()71 assert(new_items); in drv_array_remove()72 array->items = new_items; in drv_array_remove()
103 void *new_items; in bagAdd() local105 new_items = jvmtiAllocate(allocated * itemSize); in bagAdd()106 if (new_items == NULL) { in bagAdd()109 (void)memcpy(new_items, items, (theBag->used) * itemSize); in bagAdd()111 items = new_items; in bagAdd()
101 item_t *new_items = (item_t *) malloc ((size_t) new_size * sizeof (item_t)); in resize() local102 if (unlikely (!new_items)) in resize()107 memset (new_items, 0xFF, (size_t) new_size * sizeof (item_t)); in resize()116 items = new_items; in resize()