Searched refs:SEEK_SET (Results 1 - 25 of 620) sorted by relevance

1234567891011>>

/macosx-10.9.5/xnu-2422.115.4/bsd/sys/_types/
H A D_seek_set.h30 #ifndef SEEK_SET
31 #define SEEK_SET 0 /* set file offset to offset */ macro
34 #endif /* !SEEK_SET */
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/stdio/
H A Drewind.c31 sfseek(f, (Sfoff_t)0, SEEK_SET|SF_PUBLIC);
/macosx-10.9.5/xnu-2422.115.4/tools/tests/unit_tests/fcntlrangecheck_tests_11202484_src/
H A Dfcntlrangecheck_tests_11202484.c60 if (lseek(fd, (off_t)1, SEEK_SET) != 1){
66 printf("Testing with SEEK_SET\n");
68 /* testing F_GETLK for SEEK_SET with lock_start = constant and len changes */
70 is_read_lock(fd, lock_start, SEEK_SET, 0, SUCCESS);
71 is_read_lock(fd, lock_start, SEEK_SET, LLONG_MAX, SUCCESS);
72 is_read_lock(fd, lock_start, SEEK_SET, LLONG_MIN, FAILURE);
74 /* testing F_GETLK for SEEK_SET with len fixed 0 and lock_start changing */
76 is_read_lock(fd, 0, SEEK_SET, lock_len, SUCCESS);
77 is_read_lock(fd, LLONG_MAX, SEEK_SET, lock_len, SUCCESS);
78 is_read_lock(fd, LLONG_MIN, SEEK_SET, lock_le
[all...]
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dfsetpos.c50 return (fseeko(iop, (off_t)*pos, SEEK_SET));
H A Drewind.c56 if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0) {
/macosx-10.9.5/Chess-310.5/sjeng/
H A Dlearn.c67 fseek(*lrnfile, 0, SEEK_SET);
73 fseek(*lrnfile, 0, SEEK_SET);
81 fseek(*lrnfile, (2*sizeof(int)) + ((next-1)*sizeof(LearnType)), SEEK_SET);
127 fseek(*lrnfile, 0, SEEK_SET);
129 fseek(*lrnfile, 2*sizeof(int), SEEK_SET);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/dir/
H A Dseekdir.c48 lseek(dirp->dd_fd, 0L, SEEK_SET);
/macosx-10.9.5/ntp-88/include/
H A Dntp_io.h5 * SEEK_SET symbol form <unistd.h>.
22 #if !defined(SEEK_SET) && defined(L_SET)
23 # define SEEK_SET L_SET macro
/macosx-10.9.5/postfix-252/postfix/src/global/
H A Dbounce_log.h42 #define bounce_log_rewind(bp) vstream_fseek((bp)->fp, 0L, SEEK_SET)
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Djmemansi.c25 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
26 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
101 if (fseek(info->temp_file, file_offset, SEEK_SET))
114 if (fseek(info->temp_file, file_offset, SEEK_SET))
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/store/XOTclSdbm/
H A Dtune.h14 #define SEEK_SET L_SET macro
/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_cb_see.c63 if(whence != SEEK_SET)
67 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET))
121 if(_lseeki64(fd, where, SEEK_SET) < 0)
/macosx-10.9.5/uucp-11/uucp/unix/
H A Dtrunc.c24 #ifndef SEEK_SET
25 #define SEEK_SET 0 macro
82 itrunc = ltrunc (o, (long) 0, SEEK_SET);
/macosx-10.9.5/Security-55471.14.18/libsecurity_authorization/lib/
H A DtrampolineServer.cpp54 if (lseek(fd, 0, SEEK_SET) ||
/macosx-10.9.5/cctools-845/ar/
H A Dmove.c143 (void)lseek(afd, (off_t)SARMAG, SEEK_SET);
147 (void)lseek(tfd1, (off_t)0, SEEK_SET);
151 (void)lseek(tfd2, (off_t)0, SEEK_SET);
156 (void)lseek(tfd3, (off_t)0, SEEK_SET);
H A Ddelete.c111 (void)lseek(tfd, (off_t)0, SEEK_SET);
112 (void)lseek(afd, (off_t)SARMAG, SEEK_SET);
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_seek.c47 ret = DB_GLOBAL(j_seek)(fhp->fd, offset, SEEK_SET);
50 fhp->fd, offset, SEEK_SET) == -1 ? 1 : 0), ret);
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblutil/
H A Dlockf.c88 file_lock.l_whence = SEEK_SET;
101 file_lock.l_whence = SEEK_SET;
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_utils/
H A DcuFileIo.c46 rtn = (int)lseek(fd, 0, SEEK_SET);
94 rtn = (int)lseek(fd, 0, SEEK_SET);
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_utils/lib/
H A DcuFileIo.c46 rtn = (int)lseek(fd, 0, SEEK_SET);
94 rtn = (int)lseek(fd, 0, SEEK_SET);
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/sslViewer/
H A DfileIo.c49 rtn = lseek(fd, 0, SEEK_SET);
97 rtn = lseek(fd, 0, SEEK_SET);
/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/
H A Dfile_lock.c52 fl.l_whence = SEEK_SET;
64 fl.l_whence = SEEK_SET;
H A Dlseek.c110 if (lseek(ts->ts_fd, 0L, SEEK_SET) != 0) {
113 if (lseek(ts->ts_fd, opts, SEEK_SET) != opts) {
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dtest_store.c52 krb5_storage_seek(sp, 0, SEEK_SET);
77 krb5_storage_seek(sp, 0, SEEK_SET);
102 krb5_storage_seek(sp, 0, SEEK_SET);
127 krb5_storage_seek(sp, 0, SEEK_SET);
152 krb5_storage_seek(sp, 0, SEEK_SET);
177 krb5_storage_seek(sp, 0, SEEK_SET);
231 krb5_storage_seek(sp, 0, SEEK_SET);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/sfio/
H A Dsfseek.c93 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) != SEEK_SET &&
134 if(SFSK(f,r,SEEK_SET,f->disc) != r)
148 r = p + (type == SEEK_SET ? 0 : s);
166 p = (hardseek || r != f->here) ? SFSK(f,r,SEEK_SET,f->disc) : r;
181 (s = SFSK(f, f->here, SEEK_SET, f->disc)) == f->here) )
249 if((hardseek || r != f->here) && (f->here = SFSK(f,r,SEEK_SET,f->disc)) != r)
251 f->here = SFSK(f,p,SEEK_SET,f->disc);
263 if((f->here = SFSK(f,p,SEEK_SET,f->disc)) != p)

Completed in 559 milliseconds

1234567891011>>