Searched refs:num_alloc (Results 1 – 4 of 4) sorted by relevance
128 int num_alloc; in allocate_free() local136 for (num_alloc = 0; num_alloc < MAXPTRS; num_alloc++) { in allocate_free()140 ptrs[num_alloc] = malloc(size); in allocate_free()142 if (!ptrs[num_alloc]) in allocate_free()144 ptrs[num_alloc][0] = num_alloc; in allocate_free()172 for (i = 0; i < num_alloc; i++) { in allocate_free()
47 static int num_alloc; variable71 num_alloc++; in malloc()79 num_alloc--; in free()87 num_alloc++; in realloc()97 num_alloc++; in calloc()162 return num_alloc; in get_current_alloc_num()171 if (supposed_alloc != num_alloc) { in check_leaks()173 "Allocated %d blocks, unfreed %d\n", num_alloc, in check_leaks()174 num_alloc - supposed_alloc); in check_leaks()
88 ret->num_alloc = kMinSize; in sk_new()167 if (sk->num_alloc <= sk->num + 1) { in sk_insert()169 size_t new_alloc = sk->num_alloc << 1; 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()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()346 s = (void **)OPENSSL_realloc(ret->data, sizeof(void *) * sk->num_alloc); in sk_dup()355 ret->num_alloc = sk->num_alloc; in sk_dup()
119 size_t num_alloc; member