/io/ |
A D | tst-getcwd.c | 55 for (i = 0; i < 4; ++i) in do_test() 74 ++i; in do_test() 76 for (; i < 10; sbs >>= 1, ++i) in do_test() 84 for (i = 0; i < 10; ++i) in do_test() 85 if (i != 4 && bufs[i] != NULL) in do_test() 86 memset (bufs[i], '\xff', lens[i]); in do_test() 98 for (i = 0; i < 10; ++i) in do_test() 99 memset (bufs[i], i, lens[i]); in do_test() 101 for (i = 0; i < 10; ++i) in do_test() 139 for (i = len; i < sizeof thepath; ++i) in do_test() [all …]
|
A D | tst-closefrom.c | 47 for (int i = half_fd; i <= maximum_fd; i++) in closefrom_test() local 49 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test() 52 for (int i = lowfd; i < half_fd; i++) in closefrom_test() local 53 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in closefrom_test() 63 for (int i = gap + 1; i < maximum_fd; i++) in closefrom_test() local 65 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test() 68 for (int i = lowfd; i < gap; i++) in closefrom_test() local 69 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in closefrom_test() 73 for (int i = lowfd + 1; i <= maximum_fd; i++) in closefrom_test() local 75 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test() [all …]
|
A D | tst-close_range.c | 66 for (int i = lowfd; i <= half_fd; i++) in close_range_test_common() local 71 for (int i = half_fd + 1; i < maximum_fd; i++) in close_range_test_common() local 83 for (int i = half_fd + 1; i < gap_1; i++) in close_range_test_common() local 88 for (int i = gap_1 + 1; i < maximum_fd; i++) in close_range_test_common() local 93 for (int i = gap_1 + 1; i < maximum_fd - 1; i++) in close_range_test_common() local 153 for (int i = lowfd; i < NFDS; i++) in close_range_test_subprocess() local 195 for (int i = lowfd; i < lowfd + NFDS; i++) in close_range_unshare_test() local 212 for (int i = 0; i < len; i++) in is_in_array() local 235 for (int i = lowfd; i <= half_fd; i++) in close_range_cloexec_test() local 250 for (int i = half_fd + 1; i < gap_1; i++) in close_range_cloexec_test() local [all …]
|
A D | tst-utimensat-skeleton.c | 72 for (int i = 0; i < array_length (tests); i++) in do_test() local 76 if (__builtin_add_overflow (tests[i].v1, 0, &t) in do_test() 77 || __builtin_add_overflow (tests[i].v2, 0, &t)) in do_test() 80 "time_t overflows\n", i, tests[i].v1, tests[i].v2); in do_test() 84 if (tests[i].v1 >= 0x100000000LL && !y2106) in do_test() 88 i, tests[i].v1, tests[i].v2); in do_test() 92 TEST_CALL (testfile, temp_fd, testlink, tests[i].v1, tests[i].v2); in do_test()
|
A D | tst-file_change_detection.c | 34 for (size_t i = 0; i < length; ++i) in all_same() local 38 printf ("info: comparing %zu and %zu\n", i, j); in all_same() 46 for (size_t i = 0; i < length; ++i) in all_different() local 49 if (i == j) in all_different() 52 printf ("info: comparing %zu and %zu\n", i, j); in all_different() 102 int i = 0; in do_test() local 122 TEST_COMPARE (i, array_length (fcd)); in do_test() 130 int i = 0; in do_test() local 134 TEST_COMPARE (i, array_length (fcd)); in do_test() 141 int i = 0; in do_test() local [all …]
|
A D | tst-statvfs.c | 11 for (int i = 1; i < argc; ++i) in do_test() local 14 if (statvfs (argv[i], &st) != 0) in do_test() 15 printf ("%s: failed (%m)\n", argv[i]); in do_test() 17 printf ("%s: free: %llu, mandatory: %s\n", argv[i], in do_test()
|
A D | close_range.c | 38 for (int i = first; i <= last && i < maxfd; i++) in __close_range() local 39 __close_nocancel_nostatus (i); in __close_range()
|
A D | test-stat2.c | 27 int i; in main() local 30 for (i = 1; i < argc; ++i) in main() 36 if (stat (argv[i], &st) != 0) in main() 41 printf ("stat(\"%s\",....) failed: %m", argv[i]); in main() 47 if (stat64 (argv[i], &st64) != 0) in main() 52 printf ("stat64(\"%s\",....) failed: %m", argv[i]); in main() 58 printf ("\nName: %s\n", argv[i]); in main()
|
A D | tst-ftw-bz28126.c | 45 for (int i = 0; i < nsubfolders; i++) in do_cleanup() local 81 for (int i = 0; i < NSUBFOLDERS - 1; i++) in do_test() local
|
A D | bug-ftw4.c | 39 int ret, i, result = 0, fd, fd1, fd2; in main() local 79 for (i = 0; i < 128; ++i) in main()
|
A D | tst-open-tmpfile.c | 292 for (int i = 0; paths[i] != NULL; ++i) in do_test() local 293 if (probe_path (paths[i])) in do_test() 296 check_wrapper ("open", wrap_open, paths[i]); in do_test() 297 check_wrapper ("openat", wrap_openat, paths[i]); in do_test() 298 check_wrapper ("open64", wrap_open64, paths[i]); in do_test() 299 check_wrapper ("openat64", wrap_openat64, paths[i]); in do_test()
|
A D | tst-stat.c | 81 for (int i = 0; i < array_length (tests); i++) in do_test() local 84 tests[i](fd, path, &st); in do_test()
|
A D | tst-lchmod.c | 139 for (size_t i = 0; i < array_length (paths); ++i) in test_1() local 141 const char *path = paths[i]; in test_1() 145 mode_t new_mode = 010 + i; in test_1()
|
A D | tst-copy_file_range.c | 134 for (int i = 0; i < out_skipped; ++i) in simple_file_copy() local 135 TEST_COMPARE (bytes[i], 0); in simple_file_copy()
|
A D | Versions | 29 # i*
|