Searched refs:new_alloc (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/ |
D | simple_memory_arena.cc | 37 ArenaAlloc* new_alloc) { in Allocate() argument 41 new_alloc->offset = 0; in Allocate() 42 new_alloc->size = 0; in Allocate() 76 new_alloc->offset = best_offset; in Allocate() 77 new_alloc->size = size; in Allocate() 78 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() 123 underlying_buffer_.reset(new_alloc); in Commit()
|
D | simple_memory_arena.h | 54 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/python/cpython3/Objects/ |
D | obmalloc.c | 226 PyMemAllocatorEx new_alloc; in pymem_set_default_allocator() local 230 new_alloc = (PyMemAllocatorEx)PYRAW_ALLOC; in pymem_set_default_allocator() 233 new_alloc = (PyMemAllocatorEx)PYMEM_ALLOC; in pymem_set_default_allocator() 236 new_alloc = (PyMemAllocatorEx)PYOBJ_ALLOC; in pymem_set_default_allocator() 242 PyMem_SetAllocator(domain, &new_alloc); in pymem_set_default_allocator()
|