Searched refs:new_alloc (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/lite/ |
D | simple_memory_arena.cc | 38 ArenaAlloc* new_alloc) { in Allocate() argument 40 new_alloc->tensor = tensor; in Allocate() 41 new_alloc->node = node; in Allocate() 42 new_alloc->size = size; in Allocate() 44 new_alloc->offset = 0; in Allocate() 78 new_alloc->offset = best_offset; in Allocate() 79 allocs_.insert(best_insertion_it, *new_alloc); in Allocate() 107 char* new_alloc = new char[required_size]; in Commit() local 109 AlignTo(arena_alignment_, reinterpret_cast<intptr_t>(new_alloc))); in Commit() 118 new_alloc + required_size - new_underlying_buffer_aligned_ptr); in Commit() [all …]
|
D | simple_memory_arena.h | 65 int32_t tensor, int32_t node, ArenaAlloc* new_alloc);
|
/external/boringssl/src/crypto/stack/ |
D | stack.c | 169 size_t new_alloc = sk->num_alloc << 1; in sk_insert() local 170 size_t alloc_size = new_alloc * sizeof(void *); in sk_insert() 174 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 175 new_alloc = sk->num_alloc + 1; in sk_insert() 176 alloc_size = new_alloc * sizeof(void *); in sk_insert() 180 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 190 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 | 46 if (new_argc >= new_alloc) { \ 47 new_alloc += 20; \ 49 new_alloc * sizeof(char *)))) \ 61 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/openssh/ |
D | ssh-agent.c | 972 u_int i, old_alloc, new_alloc; in new_socket() local 992 new_alloc = sockets_alloc + 10; in new_socket() 993 sockets = xreallocarray(sockets, new_alloc, sizeof(sockets[0])); in new_socket() 994 for (i = old_alloc; i < new_alloc; i++) in new_socket() 996 sockets_alloc = new_alloc; in new_socket()
|
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/experimental/conv_emitter/ |
D | conv_emitter.cc | 326 auto new_alloc = in HoistAndFix() local 344 SetMemRef(new_op, new_alloc); in HoistAndFix() 349 return new_alloc; in HoistAndFix()
|
/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 | 1069 fn new_alloc(&mut self, id: u32, flags: u32, size: u32) -> WlResult<WlResp> { in new_alloc() method 1357 WlOp::NewAlloc { id, flags, size } => self.new_alloc(id, flags, size), in execute()
|