Lines Matching refs:size
178 unsigned int size; member
187 size_t size = alloc->size; in check_allocation() local
191 size, index, alloc->seed); in check_allocation()
197 if (size > sizeof (expected)) in check_allocation()
200 size, index, alloc->seed); in check_allocation()
204 randomize_buffer (expected, size, alloc->seed); in check_allocation()
205 if (memcmp (alloc->data, expected, size) != 0) in check_allocation()
208 index, size, alloc->seed); in check_allocation()
210 dump_hex (expected, size); in check_allocation()
213 dump_hex (alloc->data, size); in check_allocation()
258 .size = 1 + (i / action_count), in initial_allocations()
271 task->allocation.data = dumped_heap_alloc (task->allocation.size); in initial_allocations()
272 randomize_buffer (task->allocation.data, task->allocation.size, in initial_allocations()
330 alloc->size = rand_next (&global_seed) % (4096U + 1); in heap_activity()
331 alloc->data = xmalloc (alloc->size); in heap_activity()
333 randomize_buffer (alloc->data, alloc->size, alloc->seed); in heap_activity()
406 (task->allocation.data, task->allocation.size + max_size); in do_test()
413 (task->allocation.data, task->allocation.size); in do_test()
419 size_t new_size = task->allocation.size - 1; in do_test()
433 task->allocation.size = new_size; in do_test()