Lines Matching refs:lseek
54 if ((file_size = lseek(fd, 0, SEEK_END)) == -1) {
60 if (lseek(fd, 0, SEEK_SET) == -1) {
135 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
141 if (lseek(fd, 0, SEEK_SET) == -1) {
167 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
173 if (lseek(fd, -BUF_SIZE, SEEK_END) == -1) {
321 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
336 if (lseek(fd, 0, SEEK_SET) == -1) {
344 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR) == -1) {
375 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
384 if (lseek(fd, 0, SEEK_SET) == -1) {
392 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR) == -1) {
476 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
522 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {