Searched refs:num_alloc (Results 1 – 9 of 9) sorted by relevance
30 int num_alloc; member60 ret->num_alloc = 0; in OPENSSL_sk_dup()64 if ((ret->data = OPENSSL_malloc(sizeof(*ret->data) * sk->num_alloc)) == NULL) in OPENSSL_sk_dup()91 ret->num_alloc = 0; in OPENSSL_sk_deep_copy()95 ret->num_alloc = sk->num > min_nodes ? sk->num : min_nodes; in OPENSSL_sk_deep_copy()96 ret->data = OPENSSL_zalloc(sizeof(*ret->data) * ret->num_alloc); in OPENSSL_sk_deep_copy()163 int num_alloc; in sk_reserve() local170 num_alloc = st->num + n; in sk_reserve()171 if (num_alloc < min_nodes) in sk_reserve()172 num_alloc = min_nodes; in sk_reserve()[all …]
74 int num_alloc; in allocate_free() local82 for (num_alloc = 0; num_alloc < MAXPTRS; num_alloc++) { in allocate_free()86 ptrs[num_alloc] = malloc(size); in allocate_free()88 if (!ptrs[num_alloc]) in allocate_free()90 ptrs[num_alloc][0] = num_alloc; in allocate_free()118 for (i = 0; i < num_alloc; i++) { in allocate_free()
105 unsigned num_alloc = DIV_ROUND_UP(num, 32); in util_idalloc_alloc_range() local112 i < num_elements && i - base < num_alloc && !buf->data[i]; i++); in util_idalloc_alloc_range()114 if (i - base == num_alloc) in util_idalloc_alloc_range()125 util_idalloc_resize(buf, num_elements * 2 + num_alloc); in util_idalloc_alloc_range()129 for (unsigned i = base; i < base + num_alloc - (num % 32 != 0); i++) in util_idalloc_alloc_range()132 buf->data[base + num_alloc - 1] |= BITFIELD_MASK(num % 32); in util_idalloc_alloc_range()
34 const typename NodePool::size_type num_alloc = 1 + 3*pool.get_real_num_node(); in allocate_then_deallocate() local44 for(std::size_t i = 0; i < num_alloc; ++i){ in allocate_then_deallocate()54 for(std::size_t i = 0; i < num_alloc; ++i){ in allocate_then_deallocate()
48 stack->num_alloc = MIN_NODES; in OPENSSL_sk_new()
486 ++this->num_alloc; in priv_first_allocation()828 this->num_alloc += n != 0; in vector()845 this->num_alloc += n != 0; in vector()864 this->num_alloc += n != 0; in vector()883 this->num_alloc += n != 0; in vector()900 this->num_alloc += n != 0; in vector()917 this->num_alloc += n != 0; in vector()975 this->num_alloc += x.size() != 0; in vector()1002 this->num_alloc += il.size() != 0; in vector()1041 this->num_alloc += x.size() != 0; in vector()[all …]
54 { return v.num_alloc; } in get_num_alloc()
120 numalloc += v.num_alloc; in vector_test_template()
106 int num_alloc; member