Home
last modified time | relevance | path

Searched refs:fseek (Results 1 – 25 of 230) sorted by relevance

12345678910

/openbsd/regress/lib/libc/open_memstream/
H A Dopen_memstreamtest.c65 if (fseek(fp, OFFSET, SEEK_SET) != 0) { in main()
86 if (fseek(fp, 0, SEEK_SET) != 0) { in main()
125 if (fseek(fp, 100, SEEK_END) != 0) { in main()
141 if (fseek(fp, -1, SEEK_END) != 0) { in main()
146 if (fseek(fp, 8, SEEK_SET) != 0) { in main()
157 if (fseek(fp, -1, SEEK_CUR) != 0) { in main()
167 if (fseek(fp, 5, SEEK_CUR) != 0) { in main()
/openbsd/regress/lib/libc/fmemopen/
H A Dfmemopentest.c56 fseek(s2, 0, SEEK_SET); in simpletest()
85 fseek(s1, 0, SEEK_SET); in appendtest()
104 fseek(s1, 0, SEEK_SET); in appendtest()
149 fseek(s1, 0, SEEK_SET); in updatetest()
225 if (fseek(s1, 8, SEEK_SET) != 0) { in seektest()
236 if (fseek(s1, -1, SEEK_CUR) != 0) { in seektest()
/openbsd/usr.sbin/kvm_mkdb/
H A Dnlist.c81 if (fseek(fp, (off_t)0, SEEK_SET) == -1 || in __elf_knlist()
93 if (fseek(fp, eh.e_shoff, SEEK_SET) == -1) { in __elf_knlist()
149 if (fseek(fp, symstroff, SEEK_SET) == -1) { in __elf_knlist()
161 if (fseek(fp, symoff, SEEK_SET) == -1) { in __elf_knlist()
236 if (fseek(fp, voff, SEEK_SET) == -1) { in __elf_knlist()
283 if (!ksyms && fseek(fp, cur_off, SEEK_SET) == -1) { in __elf_knlist()
/openbsd/games/phantasia/
H A Dinterplayer.c50 fseek(Playersfp, 0L, SEEK_SET); in checkbattle()
475 fseek(Energyvoidfp, 0L, SEEK_SET); in checktampered()
652 fseek(Playersfp, 0L, SEEK_SET); in tampered()
720 fseek(Playersfp, 0L, SEEK_SET); in userlist()
810 fseek(Playersfp, 0L, SEEK_SET); in throneroom()
846 fseek(Energyvoidfp, 0L, SEEK_SET); in throneroom()
948 fseek(fp, 0L, SEEK_SET); in dotampered()
995 fseek(Energyvoidfp, 0L, SEEK_SET); in dotampered()
1118 fseek(Energyvoidfp, loc, SEEK_SET); in writevoid()
1121 fseek(Energyvoidfp, 0L, SEEK_SET); in writevoid()
[all …]
H A Dmisc.c686 fseek(Playersfp, 0L, SEEK_SET); in findname()
728 fseek(Playersfp, 0L, SEEK_SET); in allocrecord()
903 fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET); in death()
907 fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET); in death()
971 fseek(Playersfp, place, SEEK_SET); in writerecord()
1147 fseek(Playersfp, loc, SEEK_SET); in readrecord()
1376 fseek(Messagefp, 0L, SEEK_SET); in readmessage()
1613 fseek(fp, 0L, SEEK_SET); in collecttaxes()
H A Dgamesupport.c522 fseek(Monstfp, 0L, SEEK_SET); in monstlist()
593 fseek(Playersfp, 0L, SEEK_SET); in activelist()
641 fseek(Playersfp, loc, SEEK_SET); in purgeoldplayers()
722 fseek(fp, loc, SEEK_SET); in enterscore()
/openbsd/gnu/usr.sbin/mkhybrid/src/
H A Dapple_driver.c83 if (fseek(fp, i * HFS_BLOCKSZ, 0) != 0) in main()
103 if (fseek(fp, hfs_start*HFS_BLOCKSZ, 0) != 0) in main()
123 if (fseek(fp, i*sbBlkSize, 0) != 0) in main()
144 if (fseek(fp, start*sbBlkSize, 0) != 0) in main()
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/standalone/
H A DStandaloneFuzzTargetMain.c30 fseek(f, 0, SEEK_END); in main()
32 fseek(f, 0, SEEK_SET); in main()
/openbsd/gnu/usr.bin/binutils-2.17/include/aout/
H A Dencap.h94 fseek ((f), -sizeof (short), 1), \
100 #define HEADER_SEEK(f) (fseek ((f), HEADER_OFFSET((f)), 1))
/openbsd/gnu/usr.bin/binutils/include/aout/
H A Dencap.h95 fseek ((f), -sizeof (short), 1), \
101 #define HEADER_SEEK(f) (fseek ((f), HEADER_OFFSET((f)), 1))
/openbsd/usr.bin/ctags/
H A Dprint.c55 (void)fseek(inf, lineftell, SEEK_SET); in get_line()
85 (void)fseek(inf, saveftell, SEEK_SET); in get_line()
/openbsd/gnu/gcc/gcc/
H A Dc-pch.c192 if (fseek (asm_out_file, asm_file_startpos, SEEK_SET) != 0) in c_common_write_pch()
209 if (fseek (asm_out_file, 0, SEEK_END) != 0) in c_common_write_pch()
215 if (fseek (pch_outfile, 0, SEEK_SET) != 0 in c_common_write_pch()
406 if (fseek (f, h.asm_size, SEEK_CUR) != 0) in c_common_read_pch()
/openbsd/games/fortune/strfile/
H A Dstrfile.c154 (void) fseek(outf, sizeof Tbl, SEEK_SET); in main()
226 (void) fseek(outf, 0, SEEK_SET); in main()
391 (void) fseek(Sort_1, ((STR *)p1)->pos, SEEK_SET); in cmp_str()
392 (void) fseek(Sort_2, ((STR *)p2)->pos, SEEK_SET); in cmp_str()
/openbsd/regress/lib/libc/orientation/
H A Dorientation_test.c151 TEST_UNCHANGED(fseek(f, 1, SEEK_CUR)); in main()
152 TEST_UNCHANGED(fseek(f, 1, SEEK_SET)); in main()
153 TEST_UNCHANGED(fseek(f, 1, SEEK_END)); in main()
/openbsd/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_cstdio.h70 #undef fseek
117 using ::fseek;
/openbsd/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_cstdio.h71 #undef fseek
118 using ::fseek;
/openbsd/lib/libc/stdio/
H A DMakefile.inc11 fseek.c fsetpos.c ftell.c funopen.c fvwrite.c fwalk.c fwrite.c \
25 fopen.3 fputs.3 fread.3 fseek.3 funopen.3 getc.3 \
/openbsd/usr.bin/make/
H A Darch.c476 if (fseek(arch, -elen, SEEK_CUR) != 0) in read_archive()
488 if (fseek(arch, (size + 1) & ~1, SEEK_CUR) != 0) in read_archive()
804 if (fseek(arch, -elength, SEEK_CUR) != 0) in ArchFindMember()
818 if (fseek(arch, (size + 1) & ~1, SEEK_CUR) != 0) in ArchFindMember()
841 if (fseek(arch, -sizeof(struct ar_hdr), SEEK_CUR) == 0) in ArchTouch()
/openbsd/gnu/lib/libiberty/src/
H A Dargv.c351 if (fseek (f, 0L, SEEK_END) == -1)
356 if (fseek (f, 0L, SEEK_SET) == -1)
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlow.cpp167 fseek(In, 0, SEEK_END); in main()
169 fseek(In, 0, SEEK_SET); in main()
/openbsd/gnu/lib/libstdc++/libstdc++/config/io/
H A Dbasic_file_stdio.cc201 if (!fseek(_M_cfile, __off, __way)) in seekoff()
211 if (!fseek(_M_cfile, __pos, ios_base::beg)) in seekpos()
/openbsd/usr.bin/htpasswd/
H A Dhtpasswd.c189 if (fseek(in, 0, SEEK_SET) == -1) in main()
191 if (fseek(out, 0, SEEK_SET) == -1) in main()
/openbsd/gnu/usr.bin/perl/
H A Dnostdio.h50 #undef fseek
103 #define fseek(f,o,w) _CANNOT _fseek_ macro
H A Dfakesdio.h35 #undef fseek
94 #define fseek(f,o,w) PerlIO_seek(f,o,w) macro
/openbsd/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c546 fseek(fd, 32 - strlen(part_name) - 1, SEEK_CUR); in cd9660_write_apm_partition_entry()
548 fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR); in cd9660_write_apm_partition_entry()
598 fseek(fd, 0x1fe, SEEK_SET); in cd9660_write_boot()
621 fseek(fd, 0, SEEK_SET); in cd9660_write_boot()

12345678910