Lines Matching refs:size
342 unsigned char *buf, size_t size, in test_single_copy_read() argument
355 if (rec_len > size) { in test_single_copy_read()
356 rec_len = size; in test_single_copy_read()
360 size -= rec_len; in test_single_copy_read()
366 if (*fin || size == 0) in test_single_copy_read()
500 size_t off = (r * 10 + s) * 10, size = 10; in test_rstream_random() local
506 if (off <= queued_min && off + size > queued_min) in test_rstream_random()
507 queued_min = off + size; in test_rstream_random()
511 size, 0))) in test_rstream_random()
513 if (queued_max < off + size) in test_rstream_random()
514 queued_max = off + size; in test_rstream_random()
523 size = test_random() % 100 + 1; in test_rstream_random()
524 if (off + size > data_size) in test_rstream_random()
525 off = data_size - size; in test_rstream_random()
526 if (off <= queued_min && off + size > queued_min) in test_rstream_random()
527 queued_min = off + size; in test_rstream_random()
531 size, 0))) in test_rstream_random()
533 if (queued_max < off + size) in test_rstream_random()
534 queued_max = off + size; in test_rstream_random()