Searched refs:bytes (Results 1 – 2 of 2) sorted by relevance
/io/ |
A D | tst-open-tmpfile.c | 129 unsigned long long bytes[2]; in get_random_name() local 136 ssize_t ret = read (random_device, bytes, sizeof (bytes)); in get_random_name() 142 if (ret != sizeof (bytes)) in get_random_name() 148 return xasprintf ("tst-open-tmpfile-%08llx%08llx.tmp", bytes[0], bytes[1]); in get_random_name()
|
A D | tst-copy_file_range.c | 132 char *bytes = xmalloc (st.st_size); in simple_file_copy() local 133 TEST_COMPARE (read (outfd, bytes, st.st_size), st.st_size); in simple_file_copy() 135 TEST_COMPARE (bytes[i], 0); in simple_file_copy() 136 TEST_VERIFY (memcmp (bytes + out_skipped, random_data + in_skipped, in simple_file_copy() 138 free (bytes); in simple_file_copy()
|
Completed in 4 milliseconds