Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functional/
Dtest-iterate.c55 iterate_arg_t *iterate_arg = (iterate_arg_t *) data; in iterate_callback() local
62 if (iterate_arg->allocs[i] >= (uintptr_t) base && iterate_arg->allocs[i] < end) { in iterate_callback()
63 iterate_arg->allocs_reported_number[i]++; in iterate_callback()
64 uintptr_t max_size = end - iterate_arg->allocs[i]; in iterate_callback()
65 iterate_arg->reported_sizes[i] = MIN(size, max_size); in iterate_callback()
70 void fill_allocations_info(const iterate_arg_t *iterate_arg, allocations_info_t *allocations_info) in fill_allocations_info() argument
75 const uintptr_t *allocs = iterate_arg->allocs; in fill_allocations_info()
92 void make_allocations(iterate_arg_t *iterate_arg) in make_allocations() argument
94 uintptr_t *allocs = iterate_arg->allocs; in make_allocations()
95 size_t *allocs_actual_sizes = iterate_arg->allocs_actual_sizes; in make_allocations()
[all …]