/freebsd/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_open_memstream.c | 56 ATF_CHECK(fseek(fp, -6, SEEK_SET) == -1); in ATF_TC_BODY() 57 ATF_CHECK(fseek(fp, OFFSET, SEEK_SET) == 0); in ATF_TC_BODY() 61 ATF_CHECK(fseek(fp, 0, SEEK_SET) == 0); in ATF_TC_BODY() 74 ATF_CHECK(fseek(fp, 100, SEEK_END) == 0); in ATF_TC_BODY() 77 ATF_CHECK(fseek(fp, 8, SEEK_SET) == 0); in ATF_TC_BODY() 81 ATF_CHECK(fseek(fp, -1, SEEK_CUR) == 0); in ATF_TC_BODY() 83 ATF_CHECK(fseek(fp, 5, SEEK_CUR) == 0); in ATF_TC_BODY()
|
/freebsd/lib/libc/stdio/ |
H A D | Makefile.inc | 11 fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \ 37 fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \ 66 MLINKS+=fseek.3 fgetpos.3 \ 67 fseek.3 fseeko.3 \ 68 fseek.3 fsetpos.3 \ 69 fseek.3 ftell.3 \ 70 fseek.3 ftello.3 \ 71 fseek.3 rewind.3
|
/freebsd/lib/libc/tests/stdio/ |
H A D | open_memstream2_test.c | 104 fseek(fp, 0, SEEK_END); in ATF_TC_BODY() 112 fseek(fp, 4, SEEK_END); in ATF_TC_BODY() 125 fseek(fp, 3, SEEK_SET); in ATF_TC_BODY() 129 fseek(fp, 0, SEEK_END); in ATF_TC_BODY() 141 fseek(fp, 4, SEEK_SET); in ATF_TC_BODY()
|
H A D | open_wmemstream_test.c | 104 fseek(fp, 0, SEEK_END); in ATF_TC_BODY() 112 fseek(fp, 4, SEEK_END); in ATF_TC_BODY() 125 fseek(fp, 3, SEEK_SET); in ATF_TC_BODY() 129 fseek(fp, 0, SEEK_END); in ATF_TC_BODY() 141 fseek(fp, 4, SEEK_SET); in ATF_TC_BODY()
|
H A D | fmemopen2_test.c | 168 rc = fseek(fp, 0, SEEK_END); in ATF_TC_BODY() 186 rc = fseek(fp, 0, SEEK_SET); in ATF_TC_BODY()
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | cmfsize.c | 190 Status = fseek (File, 0, SEEK_END); in CmGetFileSize() 204 Status = fseek (File, CurrentOffset, SEEK_SET); in CmGetFileSize()
|
H A D | acfileio.c | 465 fseek (File, TableOffset, SEEK_SET); in AcGetOneTableFromFile() 546 fseek (File, FileOffset, SEEK_SET); in AcIsFileBinary() 603 if (fseek (File, TableOffset, SEEK_SET)) in AcValidateTableHeader() 608 if (fseek (File, OriginalOffset, SEEK_SET)) in AcValidateTableHeader()
|
/freebsd/usr.sbin/pmcannotate/ |
H A D | pmcannotate.c | 211 if (fseek(fp, agg->ag_offset, SEEK_SET) == -1) in asmparse() 250 if (fseek(fp, agg->ag_offset, SEEK_SET) == -1) in cparse() 547 fseek(fp, nbytes * -1, SEEK_CUR); in general_printasm() 578 fseek(fp, strlen(buffer) * -1, SEEK_CUR); in general_printc() 619 if (fseek(fp, nbytes * -1, SEEK_CUR) == -1) in printblock() 642 if (fseek(fp, lstart, SEEK_SET) == -1) in printblock() 668 if (fseek(fp, nbytes * -1, SEEK_CUR) == -1) in printblock() 673 if (fseek(fp, strlen(buffer) * -1, SEEK_CUR) == -1) in printblock()
|
/freebsd/contrib/libpcap/testprogs/fuzz/ |
H A D | onefile.c | 24 if (fseek(fp, 0L, SEEK_END) != 0) { in main() 33 if (fseek(fp, 0L, SEEK_SET) != 0) { in main()
|
/freebsd/contrib/libcbor/examples/ |
H A D | readfile.c | 25 fseek(f, 0, SEEK_END); in main() 27 fseek(f, 0, SEEK_SET); in main()
|
H A D | streaming_parser.c | 46 fseek(f, 0, SEEK_END); in main() 48 fseek(f, 0, SEEK_SET); in main()
|
H A D | cjson2cbor.c | 123 fseek(f, 0, SEEK_END); in main() 125 fseek(f, 0, SEEK_SET); in main()
|
/freebsd/contrib/ntp/sntp/tests/ |
H A D | fileHandlingTest.c | 52 fseek(file, 0L, SEEK_END); in GetFileSize() 54 fseek(file, 0L, SEEK_SET); in GetFileSize()
|
/freebsd/usr.bin/ctags/ |
H A D | print.c | 53 (void)fseek(inf, lineftell, L_SET); in get_line() 83 (void)fseek(inf, saveftell, L_SET); in get_line()
|
/freebsd/contrib/libcbor/doc/source/ |
H A D | using.rst | 106 fseek(f, 0, SEEK_END); 108 fseek(f, 0, SEEK_SET); 156 fseek(f, 0, SEEK_END); 158 fseek(f, 0, SEEK_SET);
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-section-file.c | 70 errcode = fseek(file, 0, SEEK_END); in pt_section_mk_status() 165 errcode = fseek(file, 0, SEEK_END); in pt_section_map()
|
/freebsd/contrib/bmake/ |
H A D | arch.c | 541 if (fseek(arch, -(long)elen, SEEK_CUR) != 0) in ArchStatMember() 559 if (fseek(arch, ((long)size + 1) & ~1, SEEK_CUR) != 0) in ArchStatMember() 727 if (fseek(arch, -(long)sizeof *out_arh, SEEK_CUR) != in ArchFindMember() 763 if (fseek(arch, in ArchFindMember() 771 if (fseek(arch, -(long)elen, SEEK_CUR) != 0) { in ArchFindMember() 782 if (fseek(arch, (size + 1) & ~1L, SEEK_CUR) != 0) { in ArchFindMember()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_s_file.pod | 38 using fseek(stream, 0, 0). 41 using fseek(stream, ofs, 0). 144 BIO_reset() and BIO_seek() are implemented using fseek() on the underlying 145 stream. The return value for fseek() is 0 for success or -1 if an error
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_section_file.c | 139 errcode = fseek(file, 0, SEEK_END); in pt_sec_file_map() 227 errcode = fseek(file, begin, SEEK_SET); in pt_sec_file_read()
|
/freebsd/contrib/dialog/ |
H A D | tailbox.c | 109 if (fseek(fp, 0L, SEEK_END) == -1 in last_lines() 130 if (fseek(fp, fpos, SEEK_SET) == -1) in last_lines() 159 if (fseek(fp, fpos + offset, SEEK_SET) == -1) in last_lines()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | os_win32.c | 202 fseek(f, 0, SEEK_END); in os_readfile() 204 fseek(f, 0, SEEK_SET); in os_readfile()
|
/freebsd/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 613 fseek(fd, 32 - strlen(part_name) - 1, SEEK_CUR); in cd9660_write_apm_partition_entry() 615 fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR); in cd9660_write_apm_partition_entry() 679 fseek(fd, 0x1fe, SEEK_SET); in cd9660_write_boot() 708 fseek(fd, 0, SEEK_SET); in cd9660_write_boot()
|
/freebsd/contrib/flex/src/ |
H A D | filter.c | 169 fseek (stdin, 0, SEEK_CUR); in filter_apply_chain() 196 fseek (stdout, 0, SEEK_CUR); in filter_apply_chain()
|
/freebsd/contrib/mandoc/ |
H A D | dba_write.c | 73 if (fseek(ofp, pos, SEEK_SET) == -1) in dba_seek()
|
/freebsd/crypto/openssl/ms/ |
H A D | applink.c | 122 OPENSSL_ApplinkTable[APPLINK_FSEEK] = fseek; in OPENSSL_Applink()
|