Lines Matching refs:gap_1
62 const int gap_1 = maximum_fd - 8; in close_range_test_common() local
82 TEST_COMPARE (close_range (half_fd + 1, gap_1, flags), 0); in close_range_test_common()
83 for (int i = half_fd + 1; i < gap_1; i++) in close_range_test_common()
88 for (int i = gap_1 + 1; i < maximum_fd; i++) in close_range_test_common()
92 TEST_COMPARE (close_range (gap_1 + 1, maximum_fd - 1, flags), 0); in close_range_test_common()
93 for (int i = gap_1 + 1; i < maximum_fd - 1; i++) in close_range_test_common()
226 const int gap_1 = maximum_fd - 8; in close_range_cloexec_test() local
249 TEST_COMPARE (close_range (half_fd + 1, gap_1, CLOSE_RANGE_CLOEXEC), 0); in close_range_cloexec_test()
250 for (int i = half_fd + 1; i < gap_1; i++) in close_range_cloexec_test()
261 for (int i = gap_1 + 1; i < maximum_fd; i++) in close_range_cloexec_test()
265 TEST_COMPARE (close_range (gap_1 + 1, maximum_fd - 1, CLOSE_RANGE_CLOEXEC), in close_range_cloexec_test()
267 for (int i = gap_1 + 1; i < maximum_fd - 1; i++) in close_range_cloexec_test()