Searched refs:new_alloc (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/stack/ |
D | stack.c | 155 size_t new_alloc = sk->num_alloc << 1; in sk_insert() local 156 size_t alloc_size = new_alloc * sizeof(void *); in sk_insert() 160 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 161 new_alloc = sk->num_alloc + 1; in sk_insert() 162 alloc_size = new_alloc * sizeof(void *); in sk_insert() 166 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { in sk_insert() 176 sk->num_alloc = new_alloc; in sk_insert()
|
/external/jemalloc/test/integration/ |
D | chunk.c | 34 chunk_alloc_t *new_alloc; in TEST_BEGIN() local 39 new_alloc = chunk_alloc; in TEST_BEGIN() 46 &new_alloc, new_size), 0, "Unexpected alloc error"); in TEST_BEGIN() 47 assert_ptr_ne(old_alloc, new_alloc, "Unexpected alloc error"); in TEST_BEGIN()
|
/external/bison/lib/glthread/ |
D | lock.c | 704 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/ |
D | ssh-agent.c | 911 u_int i, old_alloc, new_alloc; in new_socket() local 931 new_alloc = sockets_alloc + 10; in new_socket() 932 sockets = xrealloc(sockets, new_alloc, sizeof(sockets[0])); in new_socket() 933 for (i = old_alloc; i < new_alloc; i++) in new_socket() 935 sockets_alloc = new_alloc; in new_socket()
|