Lines Matching refs:lseek
56 if ((file_size = lseek (fd, 0, SEEK_END)) == -1) {
62 if (lseek (fd, 0, SEEK_SET) == -1) {
150 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
157 if (lseek (fd, 0, SEEK_SET) == -1) {
183 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
190 if (lseek (fd, -BUF_SIZE, SEEK_END) == -1) {
340 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
355 if (lseek (fd, 0, SEEK_SET) == -1) {
363 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR)
394 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
404 if (lseek (fd, 0, SEEK_SET) == -1) {
412 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read),
499 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
545 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {