Home
last modified time | relevance | path

Searched refs:num_alloc (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/stack/
Dstack.c84 ret->num_alloc = kMinSize; in sk_new()
153 if (sk->num_alloc <= sk->num + 1) { in sk_insert()
155 size_t new_alloc = sk->num_alloc << 1; 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()
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()
311 s = (void **)OPENSSL_realloc(ret->data, sizeof(void *) * sk->num_alloc); in sk_dup()
320 ret->num_alloc = sk->num_alloc; in sk_dup()
/external/boringssl/src/include/openssl/
Dstack.h106 size_t num_alloc; member