Lines Matching refs:bufs
3231 uv_buf_t bufs[4]; in fs_read_bufs() local
3244 bufs, 0, 0, NULL)); in fs_read_bufs()
3246 bufs[0] = uv_buf_init(scratch + 0, 256); in fs_read_bufs()
3247 bufs[1] = uv_buf_init(scratch + 256, 256); in fs_read_bufs()
3248 bufs[2] = uv_buf_init(scratch + 512, 128); in fs_read_bufs()
3249 bufs[3] = uv_buf_init(scratch + 640, 128); in fs_read_bufs()
3254 bufs + 0, in fs_read_bufs()
3264 bufs + 2, in fs_read_bufs()
3271 ASSERT_OK(memcmp(bufs[1].base + 0, bufs[2].base, 128)); in fs_read_bufs()
3272 ASSERT_OK(memcmp(bufs[1].base + 128, bufs[3].base, 190 - 128)); in fs_read_bufs()
3783 static size_t uv_test_fs_buf_offset(uv_buf_t* bufs, size_t size) { in uv_test_fs_buf_offset() argument
3786 for (offset = 0; size > 0 && bufs[offset].len <= size; ++offset) in uv_test_fs_buf_offset()
3787 size -= bufs[offset].len; in uv_test_fs_buf_offset()
3791 bufs[offset].base += size; in uv_test_fs_buf_offset()
3792 bufs[offset].len -= size; in uv_test_fs_buf_offset()
3913 ASSERT_NULL(write_req.fs.info.bufs); in TEST_IMPL()
3916 ASSERT_NULL(write_req.bufs); in TEST_IMPL()