Home
last modified time | relevance | path

Searched refs:count (Results 1 – 7 of 7) sorted by relevance

/malloc/
A Dtst-dynarray.c94 for (unsigned int count = 0; count < max_count; ++count) in test_int() local
98 unsigned int base = count * count; in test_int()
118 if (count > 0) in test_int()
130 if (count == 0) in test_int()
136 final_count = count; in test_int()
221 for (unsigned int count = 0; count < max_count; ++count) in test_str() local
225 unsigned int base = count * count; in test_str()
247 if (count > 0) in test_str()
259 if (count == 0) in test_str()
330 enum { count = 2131 }; in test_str() enumerator
[all …]
A Dtst-interpose-aux.c51 enum { count = 3 }; in fail() enumerator
52 struct iovec iov[count]; in fail()
58 for (int i = 0; i < count; ++i) in fail()
62 unused = writev (STDOUT_FILENO, iov, count); in fail()
211 size_t count = allocation_index; in malloc_allocation_count() local
213 return count; in malloc_allocation_count()
220 size_t count = deallocation_count; in malloc_deallocation_count() local
222 return count; in malloc_deallocation_count()
A Dalloc_buffer_alloc_array.c24 size_t align, size_t count) in __libc_alloc_buffer_alloc_array() argument
30 bool overflow = __builtin_mul_overflow (element_size, count, &size); in __libc_alloc_buffer_alloc_array()
A Dtst-malloc-fork-deadlock.c117 create_threads (pthread_t *threads, size_t count, void *(*func) (void *)) in create_threads() argument
119 for (size_t i = 0; i < count; ++i) in create_threads()
124 join_threads (pthread_t *threads, size_t count) in join_threads() argument
126 for (size_t i = 0; i < count; ++i) in join_threads()
A Dtst-alloc_buffer.c99 size_t count = counts[i]; in test_impossible_array() local
101 printf ("info: %s: count=%zu\n", __func__, count); in test_impossible_array()
104 TEST_VERIFY (alloc_buffer_alloc_bytes (&buf, count) == NULL); in test_impossible_array()
109 TEST_VERIFY (alloc_buffer_alloc_array (&buf, char, count) == NULL); in test_impossible_array()
114 TEST_VERIFY (alloc_buffer_alloc_array (&buf, short, count) == NULL); in test_impossible_array()
124 TEST_VERIFY (alloc_buffer_alloc_array (&buf, struct twelve, count) in test_impossible_array()
162 for (int count = 0; count <= 4; ++count) in test_after_failure() local
166 TEST_VERIFY (alloc_buffer_alloc_bytes (&buf, count) == NULL); in test_after_failure()
171 TEST_VERIFY (alloc_buffer_alloc_array (&buf, char, count) == NULL); in test_after_failure()
181 TEST_VERIFY (alloc_buffer_alloc_array (&buf, struct twelve, count) in test_after_failure()
[all …]
A Dtst-dynarray-fail.c92 size_t count = 0; in test_int_fail() local
109 ++count; in test_int_fail()
111 printf ("info: %s: failure after %zu elements\n", __func__, count); in test_int_fail()
193 size_t count = 0; in test_str_fail() local
234 ++count; in test_str_fail()
238 ++count; in test_str_fail()
240 printf ("info: %s: failure after %zu elements\n", __func__, count); in test_str_fail()
A Dmalloc.c5743 size_t count; in weak_alias() member
5776 sizes[i].count = nthissize; in weak_alias()
5779 sizes[i].from = sizes[i].to = sizes[i].count = 0; in weak_alias()
5781 sizes[i].total = sizes[i].count * sizes[i].to; in weak_alias()
5794 = sizes[NFASTBINS - 1 + i].count = 0; in weak_alias()
5800 ++sizes[NFASTBINS - 1 + i].count; in weak_alias()
5810 if (sizes[NFASTBINS - 1 + i].count == 0) in weak_alias()
5812 nblocks += sizes[NFASTBINS - 1 + i].count; in weak_alias()
5842 if (sizes[i].count != 0 && i != NFASTBINS) in weak_alias()
5847 if (sizes[NFASTBINS].count != 0) in weak_alias()
[all …]

Completed in 23 milliseconds