Searched refs:SEEK_CUR (Results 1 - 25 of 252) sorted by relevance

1234567891011

/macosx-10.10/xnu-2782.1.97/bsd/sys/_types/
H A D_seek_set.h32 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/macosx-10.10/ksh-23/ksh/src/lib/libast/dir/
H A Dtelldir.c40 return(lseek(dirp->dd_fd, 0L, SEEK_CUR) + (long)dirp->dd_loc);
/macosx-10.10/ksh-23/ksh/src/lib/libast/stdio/
H A Dftell.c35 return (long)sfseek(f, (Sfoff_t)0, SEEK_CUR);
45 return (int64_t)sfseek(f, (Sfoff_t)0, SEEK_CUR);
H A Dftello.c35 return sfseek(f, (Sfoff_t)0, SEEK_CUR);
45 return sfseek(f, (Sfoff_t)0, SEEK_CUR) >= 0 ? 0 : -1;
H A Dfgetpos.c35 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1;
45 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1;
H A Dfflush.c39 sfseek(f, (Sfoff_t)0, SEEK_CUR|SF_PUBLIC);
/macosx-10.10/OpenSSL098-52/src/ms/
H A Dsegrenam.pl52 sysseek(FD,$SizeOfOptionalHeader,SEEK_CUR) || die "$file is too short";
59 sysseek(FD,-40,SEEK_CUR) || die "unable to rewind $file";
/macosx-10.10/bash-94.1.2/bash-3.2/lib/sh/
H A Dzread.c33 #ifndef SEEK_CUR
34 # define SEEK_CUR 1 macro
132 r = lseek (fd, -off, SEEK_CUR);
/macosx-10.10/ksh-23/ksh/src/lib/libast/sfio/
H A Dsfseek.c93 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) != SEEK_SET &&
94 type != SEEK_CUR && type != SEEK_END )
101 (void)SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc);
118 if(type == SEEK_CUR)
165 { r = p + (type == SEEK_CUR ? f->here : 0);
176 r = p + (type == SEEK_CUR ? s : 0);
178 { if((hardseek || (type == SEEK_CUR && p == 0)) )
179 { if((s = SFSK(f, (Sfoff_t)0, SEEK_CUR, f->disc)) == f->here ||
201 if((p += type == SEEK_CUR ? s : 0) < 0)
H A Dsfsize.c64 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc);
72 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc);
78 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc);
H A Dsftell.c55 p = sfseek(f,(Sfoff_t)0,SEEK_CUR);
H A Dsfmove.c66 (void)SFSEEK(fr,(Sfoff_t)(-r),SEEK_CUR);
68 (void)SFSEEK(fw,(Sfoff_t)(-w),SEEK_CUR);
97 else if((cur = SFSEEK(fr, (Sfoff_t)0, SEEK_CUR)) >= 0 )
98 { sk = n > 0 ? SFSEEK(fr, n, SEEK_CUR) : SFSEEK(fr, 0, SEEK_END);
196 (void)SFSK(fr,(Sfoff_t)(-w),SEEK_CUR,fr->disc);
213 (void)SFSEEK(fr,(Sfoff_t)(-r),SEEK_CUR);
H A Dsfsk.c61 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) > SEEK_END)
70 else if(type == SEEK_CUR)
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dlockf.c55 fl.l_whence = SEEK_CUR;
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/
H A Dsysdep.h107 #ifndef SEEK_CUR
108 #define SEEK_CUR 1 macro
H A Dhpux-core.c184 bfd_seek (abfd, (file_ptr) core_header.len, SEEK_CUR); local
211 if (bfd_seek (abfd, -((file_ptr) core_header.len), SEEK_CUR) != 0)
269 if (bfd_seek (abfd, (file_ptr) core_header.len, SEEK_CUR) != 0)
287 bfd_seek (abfd, (file_ptr) core_header.len, SEEK_CUR); local
/macosx-10.10/cxxfilt-11/cxxfilt/binutils/
H A Dbucomm.h117 #ifndef SEEK_CUR macro
118 #define SEEK_CUR 1
/macosx-10.10/file_cmds-242/dd/
H A Dposition.c77 if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 &&
142 if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 &&
/macosx-10.10/llvmCore-3425.0.34/runtime/libprofile/
H A DPathProfiling.c77 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR);
78 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR);
97 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR);
229 headerLocation = lseek(outFile, 0, SEEK_CUR);
230 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR);
248 currentLocation = lseek(outFile, 0, SEEK_CUR);
/macosx-10.10/libarchive-30/libarchive/libarchive/
H A Darchive_read_open_fd.c149 if (((old_offset = lseek(mine->fd, 0, SEEK_CUR)) < 0) ||
150 ((new_offset = lseek(mine->fd, request, SEEK_CUR)) < 0))
H A Darchive_read_open_file.c144 if (fseeko(mine->f, request, SEEK_CUR) != 0)
146 if (fseek(mine->f, request, SEEK_CUR) != 0)
H A Darchive_read_data_into_fd.c68 offset - output_offset, SEEK_CUR);
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/
H A Dftell.c109 pos = _sseek(fp, (fpos_t)0, SEEK_CUR);
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_cb_see.c73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR))
/macosx-10.10/ksh-23/ksh/src/lib/libast/disc/
H A Dsfdcsubstr.c65 parent = sfsk(f,(Sfoff_t)0,SEEK_CUR,disc);
131 case SEEK_CUR:
138 { parent = sfsk(f,(Sfoff_t)0,SEEK_CUR,disc);
186 if((here = sfseek(parent,(Sfoff_t)0,SEEK_CUR)) < 0 || sfseek(parent,offset,SEEK_SET) < 0)

Completed in 302 milliseconds

1234567891011