Home
last modified time | relevance | path

Searched refs:new_alloc (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/crypto/stack/
Dstack.c156 size_t new_alloc = sk->num_alloc << 1; in sk_insert() local
157 size_t alloc_size = new_alloc * sizeof(void *); in sk_insert()
161 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert()
162 new_alloc = sk->num_alloc + 1; in sk_insert()
163 alloc_size = new_alloc * sizeof(void *); in sk_insert()
167 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert()
177 sk->num_alloc = new_alloc; in sk_insert()
/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c240 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/
Dos2.c44 if (new_argc >= new_alloc) { \
45 new_alloc += 20; \
47 new_alloc * sizeof(char *)))) \
59 int i, old_argc, new_argc, new_alloc = 0; in response() local
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_builder.c306 const unsigned new_alloc = (writer->item_alloc) ? in ilo_builder_writer_record() local
312 sizeof(writer->items[0]) * new_alloc); in ilo_builder_writer_record()
317 writer->item_alloc = new_alloc; in ilo_builder_writer_record()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c159 unsigned new_alloc = MAX2(16, bq->allocated_query_types * 2); in batch_query_add() local
163 new_alloc * sizeof(unsigned)); in batch_query_add()
167 bq->allocated_query_types = new_alloc; in batch_query_add()
/external/bison/lib/glthread/
Dlock.c704 unsigned int new_alloc = 2 * wq->alloc + 1; in gl_waitqueue_add() local
706 (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); in gl_waitqueue_add()
729 wq->alloc = new_alloc; in gl_waitqueue_add()
/external/openssh/
Dssh-agent.c972 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()