Home
last modified time | relevance | path

Searched refs:new_items (Results 1 – 3 of 3) sorted by relevance

/external/minigbm/
Dhelpers_array.c39 void **new_items = NULL; in drv_array_append() local
41 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() local
70 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()
/external/oj-libjdwp/src/share/back/
Dbag.c103 void *new_items; in bagAdd() local
105 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()
/external/harfbuzz_ng/src/
Dhb-map.hh101 item_t *new_items = (item_t *) malloc ((size_t) new_size * sizeof (item_t)); in resize() local
102 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()