/src/tests/lib/libc/stdio/ |
t_open_memstream.c | 56 ATF_CHECK(fseek(fp, -6, SEEK_SET) == -1); 57 ATF_CHECK(fseek(fp, OFFSET, SEEK_SET) == 0); 61 ATF_CHECK(fseek(fp, 0, SEEK_SET) == 0); 74 ATF_CHECK(fseek(fp, 100, SEEK_END) == 0); 77 ATF_CHECK(fseek(fp, 8, SEEK_SET) == 0); 81 ATF_CHECK(fseek(fp, -1, SEEK_CUR) == 0); 83 ATF_CHECK(fseek(fp, 5, SEEK_CUR) == 0);
|
t_fflush.c | 119 ATF_REQUIRE(fseek(f, 0, SEEK_CUR) == 0);
|
/src/sys/external/bsd/acpica/dist/common/ |
cmfsize.c | 190 Status = fseek (File, 0, SEEK_END); 204 Status = fseek (File, CurrentOffset, SEEK_SET);
|
acfileio.c | 465 fseek (File, TableOffset, SEEK_SET); 546 fseek (File, FileOffset, SEEK_SET); 603 if (fseek (File, TableOffset, SEEK_SET)) 608 if (fseek (File, OriginalOffset, SEEK_SET))
|
/src/lib/libc/stdio/ |
rewind.c | 57 (void) fseek(fp, 0L, SEEK_SET);
|
fseek.c | 1 /* $NetBSD: fseek.c,v 1.24 2014/11/16 20:32:52 christos Exp $ */ 34 __RCSID("$NetBSD: fseek.c,v 1.24 2014/11/16 20:32:52 christos Exp $"); 54 fseek(FILE *fp, long l_offset, int whence) function in typeref:typename:int 59 /* This is a bad idea because makes fseek(fp, -6, SEEK_SET) work... */
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/standalone/ |
StandaloneFuzzTargetMain.c | 31 fseek(f, 0, SEEK_END); 33 fseek(f, 0, SEEK_SET);
|
/src/games/hangman/ |
getword.c | 57 fseek(inf, pos, SEEK_SET);
|
/src/usr.bin/ctags/ |
print.c | 67 (void)fseek(inf, lineftell, SEEK_SET); 97 (void)fseek(inf, saveftell, SEEK_SET);
|
/src/usr.sbin/kvm_mkdb/ |
nlist_aout.c | 169 if (fseek(fp, N_SYMOFF(ebuf), SEEK_SET) == -1) { 212 if (fseek(fp, voff, SEEK_SET) == -1) 235 if (fseek(fp, cur_off, SEEK_SET) == -1)
|
/src/sys/external/bsd/acpica/dist/tools/acpixtract/ |
axutils.c | 209 fseek (Handle, 0, SEEK_SET); 252 fseek (Handle, 0, SEEK_SET); 259 fseek (Handle, 0, SEEK_SET);
|
/src/games/phantasia/ |
interplayer.c | 33 fseek(Playersfp, 0L, SEEK_SET); 376 fseek(Energyvoidfp, 0L, SEEK_SET); 525 fseek(Playersfp, 0L, SEEK_SET); 561 fseek(Playersfp, 0L, SEEK_SET); 623 fseek(Playersfp, 0L, SEEK_SET); 659 fseek(Energyvoidfp, 0L, SEEK_SET); 734 fseek(fp, 0L, SEEK_SET); 781 fseek(Energyvoidfp, 0L, SEEK_SET); 879 fseek(Energyvoidfp, loc, SEEK_SET); 882 fseek(Energyvoidfp, 0L, SEEK_SET) [all...] |
gamesupport.c | 456 fseek(Monstfp, 0L, SEEK_SET); 481 fseek(Playersfp, 0L, SEEK_SET); 505 fseek(Playersfp, loc, SEEK_SET); 556 fseek(fp, loc, SEEK_SET);
|
misc.c | 530 fseek(Playersfp, 0L, SEEK_SET); 548 fseek(Playersfp, 0L, SEEK_SET); 652 fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET); 655 fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET); 696 fseek(Playersfp, place, SEEK_SET); 774 fseek(Playersfp, loc, SEEK_SET); 933 fseek(Messagefp, 0L, SEEK_SET); 1063 fseek(fp, 0L, SEEK_SET);
|
/src/usr.bin/msgs/ |
msgs.c | 450 fseek(msgsrc, 0L, 0); 595 fseek(msgsrc, 0L, 0); 610 fseek(msgsrc, 0L, 0); 694 fseek(newmsg, 0L, 2); 724 fseek(f, oldpos, 0); 801 fseek(newmsg, oldpos, 0); 812 fseek(newmsg, oldpos, 0); /* reposition current message */ 863 fseek(infile, 0L, 0); 891 fseek(infile, frompos, 0);
|
/src/usr.bin/qsubst/ |
qsubst.c | 271 fseek(workf, nls[i], 0); 276 fseek(workf, save + s1l - rahead, 0); 295 fseek(workf, save, 0); 407 fseek(workf, tbeg, 0); 409 fseek(tempf, 0L, 0); 433 fseek(tempf, 0L, 0);
|
/src/sys/arch/mmeye/stand/bootcoff/ |
osloader.c | 160 fseek(fp, toffset, SEEK_SET); 167 fseek(fp, doffset, SEEK_SET);
|
/src/sys/arch/x68k/stand/aout2hux/ |
aout2hux.c | 41 /* fseek() offset type */ 220 if (fseek(fp, (foff_t) get_uint32(&hdr->e_phoff), SEEK_SET)) { 251 fseek(fp, 628 fseek(fpx, (foff_t) sizeof xhdr, SEEK_SET)) { /* skip header */ 642 if (fseek(fpa1, inf1.text_off, SEEK_SET)) { 646 if (fseek(fpa2, inf2.text_off, SEEK_SET)) { 662 if (fseek(fpa1, inf1.data_off, SEEK_SET)) { 666 if (fseek(fpa2, inf2.data_off, SEEK_SET)) { 695 if (fseek(fpx, (foff_t) 0, SEEK_SET) ||
|
/src/common/dist/zlib/contrib/minizip/ |
ioapi.h | 16 Oct-2009 - Defined fxxxx64 calls to normal fopen/ftell/fseek so they would compile on windows. 51 #define fseeko64 fseek 65 #define fseeko64 fseek
|
/src/games/fortune/strfile/ |
strfile.c | 176 (void) fseek(outf, sizeof Tbl, SEEK_SET); 244 (void) fseek(outf, (off_t) 0, SEEK_SET); 397 (void) fseek(Sort_1, p1->pos, SEEK_SET); 398 (void) fseek(Sort_2, p2->pos, SEEK_SET);
|
/src/games/fortune/unstr/ |
unstr.c | 136 (void) fseek(Inf, be64toh(pos), SEEK_SET);
|
/src/usr.bin/make/ |
arch.c | 493 if (fseek(arch, -(long)elen, SEEK_CUR) != 0) 511 if (fseek(arch, ((long)size + 1) & ~1, SEEK_CUR) != 0) 679 if (fseek(arch, -(long)sizeof *out_arh, SEEK_CUR) != 715 if (fseek(arch, 723 if (fseek(arch, -(long)elen, SEEK_CUR) != 0) { 734 if (fseek(arch, (size + 1) & ~1L, SEEK_CUR) != 0) {
|
/src/games/boggle/boggle/ |
word.c | 107 * Reset the state of nextword() and do the fseek() 119 return (fseek(fp, offset, ptrname));
|
/src/lib/libc/rpc/ |
xdr_stdio.c | 167 return ((fseek((FILE *)xdrs->x_private, (long)pos, 0) < 0) ?
|
/src/lib/libskey/ |
skeylogin.c | 171 fseek(mp->keyfile, recstart, SEEK_SET); 294 fseek(mp->keyfile, mp->recstart, SEEK_SET); 330 fseek(mp->keyfile, mp->recstart, SEEK_SET); 604 fseek(mp->keyfile, mp->recstart, SEEK_SET);
|