/external/tensorflow/tensorflow/lite/ |
D | simple_memory_arena.cc | 46 ArenaAllocWithUsageInterval* new_alloc) { in Allocate() argument 48 new_alloc->tensor = tensor; in Allocate() 49 new_alloc->first_node = first_node; in Allocate() 50 new_alloc->last_node = last_node; in Allocate() 51 new_alloc->size = size; in Allocate() 53 new_alloc->offset = 0; in Allocate() 86 new_alloc->offset = best_offset; in Allocate() 89 ordered_allocs_.end(), *new_alloc); in Allocate() 90 ordered_allocs_.insert(insertion_it, *new_alloc); in Allocate() 117 char* new_alloc = new char[required_size]; in Commit() local [all …]
|
D | simple_memory_arena.h | 77 ArenaAllocWithUsageInterval* new_alloc);
|
D | interpreter_test.cc | 1571 char* new_alloc = new char[num_bytes + required_alignment]; in NewCustomAlloc() local 1573 AlignTo(required_alignment, reinterpret_cast<intptr_t>(new_alloc))); in NewCustomAlloc() 1574 custom_alloc_buffers_.emplace_back(new_alloc); in NewCustomAlloc()
|
/external/boringssl/src/crypto/stack/ |
D | stack.c | 166 size_t new_alloc = sk->num_alloc << 1; in sk_insert() local 167 size_t alloc_size = new_alloc * sizeof(void *); in sk_insert() 171 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 172 new_alloc = sk->num_alloc + 1; in sk_insert() 173 alloc_size = new_alloc * sizeof(void *); in sk_insert() 177 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 187 sk->num_alloc = new_alloc; in sk_insert()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/stack/ |
D | stack.c | 166 size_t new_alloc = sk->num_alloc << 1; in sk_insert() local 167 size_t alloc_size = new_alloc * sizeof(void *); in sk_insert() 171 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 172 new_alloc = sk->num_alloc + 1; in sk_insert() 173 alloc_size = new_alloc * sizeof(void *); in sk_insert() 177 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 187 sk->num_alloc = new_alloc; in sk_insert()
|
/external/swiftshader/third_party/subzero/runtime/ |
D | szrt_asan.c | 240 char *new_alloc = __asan_malloc(size); in __asan_realloc() local 241 if (new_alloc == NULL) in __asan_realloc() 244 memcpy(new_alloc, ptr, copyable); in __asan_realloc() 246 return new_alloc; in __asan_realloc()
|
/external/mksh/src/ |
D | os2.c | 47 if (new_argc >= new_alloc) { \ 48 new_alloc += 20; \ 50 new_alloc * sizeof(char *)))) \ 62 int i, old_argc, new_argc, new_alloc = 0; in response() local
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_driver_query.c | 154 unsigned new_alloc = MAX2(16, bq->allocated_query_types * 2); in batch_query_add() local 158 new_alloc * sizeof(unsigned)); in batch_query_add() 162 bq->allocated_query_types = new_alloc; in batch_query_add()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/ |
D | conv_emitter.cc | 170 auto new_alloc = builder.create<mlir::memref::AllocOp>( in HoistAndFix() local 188 SetMemRef(new_op, new_alloc); in HoistAndFix() 193 return new_alloc; in HoistAndFix()
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib_test.cc | 414 char* new_alloc = new char[num_bytes + required_alignment]; in NewCustomAlloc() local 416 AlignTo(required_alignment, reinterpret_cast<intptr_t>(new_alloc))); in NewCustomAlloc() 417 custom_alloc_buffers_.emplace_back(new_alloc); in NewCustomAlloc()
|
/external/rust/crates/smallvec/src/ |
D | lib.rs | 903 let new_alloc; in try_grow() localVariable 905 new_alloc = NonNull::new(alloc::alloc::alloc(layout)) in try_grow() 909 ptr::copy_nonoverlapping(ptr, new_alloc, len); in try_grow() 916 new_alloc = NonNull::new(new_ptr) in try_grow() 921 self.data = SmallVecData::from_heap(new_alloc, len); in try_grow()
|
/external/python/cpython3/Objects/ |
D | obmalloc.c | 233 PyMemAllocatorEx new_alloc; in pymem_set_default_allocator() local 237 new_alloc = (PyMemAllocatorEx)PYRAW_ALLOC; in pymem_set_default_allocator() 240 new_alloc = (PyMemAllocatorEx)PYMEM_ALLOC; in pymem_set_default_allocator() 243 new_alloc = (PyMemAllocatorEx)PYOBJ_ALLOC; in pymem_set_default_allocator() 249 PyMem_SetAllocator(domain, &new_alloc); in pymem_set_default_allocator()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 969 fn new_alloc(&mut self, id: u32, flags: u32, size: u32) -> WlResult<WlResp> { in new_alloc() method 1334 self.new_alloc(ctrl.id.into(), ctrl.flags.into(), ctrl.size.into()) in execute()
|