Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 25 of 136) sorted by relevance

123456

/dragonfly/stand/lib/
H A Dlseek.c86 case SEEK_CUR: in lseek()
106 if ((filepos = (f->f_ops->fo_seek)(f, (off_t)0, SEEK_CUR)) == -1) in lseek()
113 case SEEK_CUR: in lseek()
132 if (where == SEEK_CUR) in lseek()
H A Dsplitfs.c233 case SEEK_CUR: in splitfs_seek()
270 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR); in splitfs_seek()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_open_file.c156 if (lseek(fileno(mine->f), skip, SEEK_CUR) < 0) in file_skip()
158 if (fseeko(mine->f, skip, SEEK_CUR) != 0) in file_skip()
160 if (_fseeki64(mine->f, skip, SEEK_CUR) != 0) in file_skip()
162 if (fseek(mine->f, skip, SEEK_CUR) != 0) in file_skip()
H A Darchive_read_open_fd.c155 if (((old_offset = lseek(mine->fd, 0, SEEK_CUR)) >= 0) && in file_skip()
156 ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0)) in file_skip()
H A Darchive_read_open_filename.c344 lseek(fd, 0, SEEK_CUR) == 0 && in file_open()
464 if ((old_offset = lseek(mine->fd, 0, SEEK_CUR)) >= 0 && in file_skip_lseek()
465 (new_offset = lseek(mine->fd, request, SEEK_CUR)) >= 0) in file_skip_lseek()
/dragonfly/sys/sys/
H A Dunistd.h118 #ifndef SEEK_CUR
119 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
130 #define L_INCR SEEK_CUR
H A Dfcntl.h267 #ifndef SEEK_CUR
268 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/dragonfly/bin/pax/
H A Dar_io.c179 else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE)) in ar_open()
461 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) || in ar_set_wr()
620 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) in ar_write()
756 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) in ar_rdsync()
759 if (lseek(arfd, mpos, SEEK_CUR) < 0) in ar_rdsync()
817 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) >= 0) { in ar_fow()
885 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) { in ar_rev()
/dragonfly/contrib/binutils-2.27/ld/
H A Dsysdep.h103 #ifndef SEEK_CUR
104 #define SEEK_CUR 1 macro
H A Dld.h26 #ifndef SEEK_CUR
27 #define SEEK_CUR 1 macro
/dragonfly/contrib/binutils-2.34/ld/
H A Dsysdep.h103 #ifndef SEEK_CUR
104 #define SEEK_CUR 1 macro
H A Dld.h26 #ifndef SEEK_CUR
27 #define SEEK_CUR 1 macro
/dragonfly/contrib/binutils-2.27/binutils/
H A Dsysdep.h130 #ifndef SEEK_CUR
131 #define SEEK_CUR 1 macro
/dragonfly/contrib/binutils-2.34/binutils/
H A Dsysdep.h130 #ifndef SEEK_CUR
131 #define SEEK_CUR 1 macro
/dragonfly/contrib/binutils-2.27/bfd/
H A Dsysdep.h115 #ifndef SEEK_CUR
116 #define SEEK_CUR 1 macro
/dragonfly/contrib/gdb-7/bfd/
H A Dsysdep.h112 #ifndef SEEK_CUR
113 #define SEEK_CUR 1 macro
/dragonfly/contrib/bmake/
H A Darch.c605 if (fseek(arch, -(long)elen, SEEK_CUR) != 0) in ArchStatMember()
622 if (fseek(arch, ((long)size + 1) & ~1, SEEK_CUR) != 0) in ArchStatMember()
824 if (fseek(arch, -(long)sizeof *out_arh, SEEK_CUR) != in ArchFindMember()
862 SEEK_CUR) != 0) { in ArchFindMember()
868 if (fseek(arch, -(long)elen, SEEK_CUR) != 0) { in ArchFindMember()
884 if (fseek(arch, (size + 1) & ~1L, SEEK_CUR) != 0) { in ArchFindMember()
/dragonfly/contrib/binutils-2.34/bfd/
H A Dsysdep.h116 #ifndef SEEK_CUR
117 #define SEEK_CUR 1 macro
H A Dbfdio.c328 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
330 if (direction != SEEK_CUR) in bfd_seek()
333 if ((direction == SEEK_CUR && position == 0) in bfd_seek()
350 if (direction == SEEK_CUR) in bfd_seek()
/dragonfly/bin/dd/
H A Dposition.c97 if (lseek(in.fd, seek_offset(&in), SEEK_CUR) == -1 && in pos_in()
168 if (lseek(out.fd, seek_offset(&out), SEEK_CUR) == -1 && in pos_out()
H A Ddd.c289 if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) in getfdtype()
390 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in()
531 out.seek_offset = lseek(out.fd, pending, SEEK_CUR); in dd_out()
/dragonfly/usr.bin/csplit/
H A Dcsplit.c328 fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR); in toomuch()
333 if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0) in toomuch()
341 if (fseeko(ofp, nread - i + 1, SEEK_CUR) != 0) in toomuch()
/dragonfly/contrib/cvs-1.12/diff/
H A Dsystem.h95 #ifndef SEEK_CUR
96 #define SEEK_CUR 1 macro
/dragonfly/contrib/zlib-1.2/
H A Dgzlib.c258 state->start = LSEEK(state->fd, 0, SEEK_CUR);
387 if (whence != SEEK_SET && whence != SEEK_CUR)
400 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
496 offset = LSEEK(state->fd, 0, SEEK_CUR);
/dragonfly/gnu/usr.bin/rcs/lib/
H A Dconf.h369 #ifndef SEEK_CUR
370 #define SEEK_CUR 1 macro

123456