Lines Matching refs:alloc_buffer

44 test_empty_array (struct alloc_buffer refbuf)  in test_empty_array()
52 struct alloc_buffer buf = refbuf; in test_empty_array()
58 struct alloc_buffer buf = refbuf; in test_empty_array()
66 struct alloc_buffer buf = refbuf; in test_empty_array()
75 struct alloc_buffer buf = refbuf; in test_empty_array()
87 test_impossible_array (struct alloc_buffer refbuf) in test_impossible_array()
103 struct alloc_buffer buf = refbuf; in test_impossible_array()
108 struct alloc_buffer buf = refbuf; in test_impossible_array()
113 struct alloc_buffer buf = refbuf; in test_impossible_array()
118 struct alloc_buffer buf = refbuf; in test_impossible_array()
123 struct alloc_buffer buf = refbuf; in test_impossible_array()
133 test_after_failure (struct alloc_buffer refbuf) in test_after_failure()
141 struct alloc_buffer buf = refbuf; in test_after_failure()
146 struct alloc_buffer buf = refbuf; in test_after_failure()
151 struct alloc_buffer buf = refbuf; in test_after_failure()
156 struct alloc_buffer buf = refbuf; in test_after_failure()
165 struct alloc_buffer buf = refbuf; in test_after_failure()
170 struct alloc_buffer buf = refbuf; in test_after_failure()
175 struct alloc_buffer buf = refbuf; in test_after_failure()
180 struct alloc_buffer buf = refbuf; in test_after_failure()
189 test_empty (struct alloc_buffer refbuf) in test_empty()
199 struct alloc_buffer buf = refbuf; in test_empty()
204 struct alloc_buffer buf = refbuf; in test_empty()
209 struct alloc_buffer buf = refbuf; in test_empty()
214 struct alloc_buffer buf = refbuf; in test_empty()
219 struct alloc_buffer buf = refbuf; in test_empty()
224 struct alloc_buffer buf = refbuf; in test_empty()
229 struct alloc_buffer buf = refbuf; in test_empty()
236 test_size_1 (struct alloc_buffer refbuf) in test_size_1()
245 struct alloc_buffer buf = refbuf; in test_size_1()
252 struct alloc_buffer buf = refbuf; in test_size_1()
261 struct alloc_buffer buf = refbuf; in test_size_1()
272 struct alloc_buffer buf = refbuf; in test_size_1()
277 struct alloc_buffer buf = refbuf; in test_size_1()
282 struct alloc_buffer buf = refbuf; in test_size_1()
287 struct alloc_buffer buf = refbuf; in test_size_1()
292 struct alloc_buffer buf = refbuf; in test_size_1()
297 struct alloc_buffer buf = refbuf; in test_size_1()
304 test_size_2 (struct alloc_buffer refbuf) in test_size_2()
314 struct alloc_buffer buf = refbuf; in test_size_2()
321 struct alloc_buffer buf = refbuf; in test_size_2()
330 struct alloc_buffer buf = refbuf; in test_size_2()
339 struct alloc_buffer buf = refbuf; in test_size_2()
349 struct alloc_buffer buf = refbuf; in test_size_2()
359 struct alloc_buffer buf = refbuf; in test_size_2()
376 struct alloc_buffer refbuf = alloc_buffer_create (backing + 1, SIZE); in test_misaligned()
379 struct alloc_buffer buf = refbuf; in test_misaligned()
392 struct alloc_buffer buf = refbuf; in test_misaligned()
406 struct alloc_buffer buf = refbuf; in test_misaligned()
421 struct alloc_buffer buf = refbuf; in test_misaligned()
443 struct alloc_buffer refbuf = alloc_buffer_create ((void *) start, 16); in test_large_misaligned()
452 struct alloc_buffer buf = refbuf; in test_large_misaligned()
458 struct alloc_buffer buf = refbuf; in test_large_misaligned()
471 struct alloc_buffer buf = { 1, SIZE_MAX }; in test_large()
478 struct alloc_buffer buf = { 1, SIZE_MAX }; in test_large()
490 struct alloc_buffer buf = { 1, SIZE_MAX }; in test_large()
495 buf = (struct alloc_buffer) { 1, SIZE_MAX }; in test_large()
502 buf = (struct alloc_buffer) { SIZE_MAX, SIZE_MAX }; in test_large()
505 buf = (struct alloc_buffer) { SIZE_MAX, SIZE_MAX }; in test_large()
514 struct alloc_buffer buf = { 1, SIZE_MAX }; in test_large()
520 buf = (struct alloc_buffer) { 2, SIZE_MAX - 1 }; in test_large()
534 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_bytes()
542 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_bytes()
550 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_bytes()
558 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_bytes()
565 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_bytes()
578 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_string()
588 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_string()
598 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_string()
608 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_string()
618 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_string()
625 struct alloc_buffer buf = alloc_buffer_create (backing, sizeof (backing)); in test_copy_string()
641 struct alloc_buffer buf = alloc_buffer_allocate (1, &ptr); in do_test()
648 struct alloc_buffer buf = alloc_buffer_allocate (2, &ptr); in do_test()