Searched refs:new_items (Results 1 – 7 of 7) sorted by relevance
/external/minigbm/ |
D | drv_array_helpers.c | 47 void **new_items = NULL; in drv_array_append() local 49 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_append() 50 assert(new_items); in drv_array_append() 51 array->items = new_items; in drv_array_append() 76 void **new_items = NULL; in drv_array_remove() local 78 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_remove() 79 assert(new_items); in drv_array_remove() 80 array->items = new_items; in drv_array_remove()
|
/external/oj-libjdwp/src/share/back/ |
D | bag.c | 103 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/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_context.cc | 84 llvm::SmallVectorImpl<Operation *> *new_items, bool *changed) { in Handle() argument 99 if (failed(spec->scale_fn(this, op, new_items, changed))) { in Handle() 111 if (failed(PropagateQuantParams(op, params, new_items, changed))) { in Handle() 261 quant::AdjacentOperations *new_items, bool *changed) { in PropagateQuantParams() argument 267 new_items->push_back(op->getOperand(i).getDefiningOp()); in PropagateQuantParams() 277 new_items->append(users.begin(), users.end()); in PropagateQuantParams()
|
D | quantization_context.h | 78 llvm::SmallVectorImpl<Operation *> *new_items, 131 AdjacentOperations *new_items,
|
/external/libgav1/src/utils/ |
D | vector.h | 98 T* const new_items = static_cast<T*>(malloc(new_cap * sizeof(T))); in reserve() local 99 if (new_items == nullptr) return false; in reserve() 106 memcpy(static_cast<void*>(new_items), in reserve() 110 new (&new_items[i]) T(std::move(items_[i])); in reserve() 116 items_ = new_items; in reserve()
|
/external/harfbuzz_ng/src/ |
D | hb-map.hh | 166 item_t *new_items = (item_t *) hb_malloc ((size_t) new_size * sizeof (item_t)); in resize() local 167 if (unlikely (!new_items)) in resize() 172 for (auto &_ : hb_iter (new_items, new_size)) in resize() 182 items = new_items; in resize()
|
/external/rust/crates/hashbrown/src/raw/ |
D | mod.rs | 1390 let new_items = match self.items.checked_add(additional) { in reserve_rehash_inner() localVariable 1391 Some(new_items) => new_items, in reserve_rehash_inner() 1395 if new_items <= full_capacity / 2 { in reserve_rehash_inner() 1404 usize::max(new_items, full_capacity + 1), in reserve_rehash_inner()
|