Searched refs:num_alloc (Results 1 – 3 of 3) sorted by relevance
170 int num_alloc; /* number of elements in ptrs[] so far */ in allocate_free() local181 for (num_alloc = 0; num_alloc < MAXPTRS; num_alloc++) { in allocate_free()185 getpid(), loop, repeat, num_alloc, size)); in allocate_free()188 ptrs[num_alloc] = malloc(size); in allocate_free()189 if (ptrs[num_alloc] == NULL) { in allocate_free()193 ptrs[num_alloc][0] = num_alloc; in allocate_free()221 for (i = 0; i < num_alloc; i++) { in allocate_free()
87 ret->num_alloc = kMinSize; in sk_new()154 if (sk->num_alloc <= sk->num + 1) { in sk_insert()156 size_t new_alloc = sk->num_alloc << 1; 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()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()307 s = (void **)OPENSSL_realloc(ret->data, sizeof(void *) * sk->num_alloc); in sk_dup()316 ret->num_alloc = sk->num_alloc; in sk_dup()
106 size_t num_alloc; member