Lines Matching refs:xlseek
75 xlseek (infd, 1, SEEK_SET); in simple_file_copy()
82 xlseek (infd, 3, SEEK_SET); in simple_file_copy()
89 xlseek (outfd, 4, SEEK_SET); in simple_file_copy()
95 xlseek (outfd, 6, SEEK_SET); in simple_file_copy()
107 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 1); in simple_file_copy()
110 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 3 + length); in simple_file_copy()
114 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 4); in simple_file_copy()
117 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 6 + length); in simple_file_copy()
131 xlseek (outfd, 0, SEEK_SET); in simple_file_copy()
156 xlseek (infd, 0, SEEK_SET); in short_copy()
162 xlseek (infd, 2, SEEK_SET); in short_copy()
167 xlseek (infd, shift, SEEK_SET); in short_copy()
170 xlseek (outfd, 0, SEEK_SET); in short_copy()
186 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 2); in short_copy()
189 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), current_size - 1 + shift); in short_copy()
193 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 0); in short_copy()
196 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), current_size - 1); in short_copy()
205 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 2); in short_copy()
208 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), current_size - 1 + shift); in short_copy()
212 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 0); in short_copy()
215 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), current_size - 1); in short_copy()