Home
last modified time | relevance | path

Searched refs:fseeko (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/contrib/libpcap/cmake/Modules/
H A DFindFseeko.cmake1 # CMake support for fseeko
38 # Check for the availability of fseeko()
41 # * Native fseeko()
49 message(STATUS "Looking for native fseeko support")
50 check_symbol_exists(fseeko stdio.h fseeko_native)
53 message(STATUS "Looking for native fseeko support - found")
56 message(STATUS "Looking for native fseeko support - not found")
64 check_symbol_exists(fseeko stdio.h fseeko_need_largefile_source)
67 message(STATUS "Looking for fseeko support with _LARGEFILE_SOURCE - found")
77 set(FSEEKO_LIBRARIES "" CACHE STRING "Extra definitions for fseeko support")
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c208 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
242 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
284 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
436 ATF_CHECK(fseeko(fp, i, SEEK_SET) == 0); in ATF_TC_BODY()
610 ATF_CHECK(fseeko(fp, i, SEEK_END) == 0); in ATF_TC_BODY()
616 ATF_CHECK(fseeko(fp, -i, SEEK_END) == 0); in ATF_TC_BODY()
664 ATF_CHECK(fseeko(fp, -1, SEEK_END) == -1); in ATF_TC_BODY()
671 ATF_CHECK(fseeko(fp, i, SEEK_END) == 0); in ATF_TC_BODY()
709 ATF_CHECK(fseeko(fp, 0, SEEK_END) == 0); in ATF_TC_BODY()
723 ATF_CHECK(fseeko(fp, i, SEEK_END) == 0); in ATF_TC_BODY()
[all …]
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c310 if (fseeko(fd, working_sector * diskStructure->sectorSize, in cd9660_write_file()
335 if (fseeko(fd, working_sector * in cd9660_write_file()
346 if (fseeko(fd, working_sector * in cd9660_write_file()
399 if (fseeko(fd, sector * diskStructure->sectorSize, SEEK_SET) == -1) in cd9660_write_filedata()
404 if (fseeko(fd, curpos, SEEK_SET) == -1) in cd9660_write_filedata()
443 if (fseeko(fd, start_sector * diskStructure->sectorSize, SEEK_SET) == -1) in cd9660_copy_file()
477 if (fseeko(fd, sector * diskStructure->sectorSize + offset, SEEK_SET) == in cd9660_write_rr()
491 if (fseeko(fd, ((off_t)diskStructure-> in cd9660_write_rr()
507 if (fseeko(fd, sector * diskStructure->sectorSize + offset, in cd9660_write_rr()
H A Dcd9660_debug.c199 if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1) in debug_dump_to_xml_path_table()
235 if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1) in debug_dump_to_xml()
H A Dcd9660_eltorito.c555 if (fseeko(fd, (off_t)(idx) * 16 + 0x1be, SEEK_SET) == -1) in cd9660_write_mbr_partition_entry()
594 if (fseeko(fd, (off_t)(idx + 1) * sector_size, SEEK_SET) == -1) in cd9660_write_apm_partition_entry()
639 if (fseeko(fd, (off_t)diskStructure->boot_catalog_sector * in cd9660_write_boot()
/freebsd/usr.bin/lastcomm/
H A Dreadrec.c244 if (fseeko(f, pos - roffsetof(struct acctv2, ac_len2), in readrec_backward()
247 fseeko(f, pos - len, SEEK_SET) == EOF || in readrec_backward()
249 fseeko(f, pos - len, SEEK_SET) == EOF) in readrec_backward()
255 if (fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF || in readrec_backward()
257 fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF) in readrec_backward()
/freebsd/lib/libc/gen/
H A Dpututxline.c98 ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR); in utx_active_add()
124 ret = fseeko(fp, partial, SEEK_SET); in utx_active_add()
162 if (fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR) == -1) in utx_active_remove()
219 ret = fseeko(fp, -(off_t)sizeof fe, SEEK_CUR); in utx_lastlogin_add()
/freebsd/lib/libc/tests/stdio/
H A Dopen_memstream2_test.c66 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY()
158 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) != 0, \ in ATF_TC_BODY()
169 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) == 0, \ in ATF_TC_BODY()
H A Dopen_wmemstream_test.c66 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY()
158 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) != 0, \ in ATF_TC_BODY()
169 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) == 0, \ in ATF_TC_BODY()
/freebsd/usr.bin/tail/
H A Dforward.c108 if (fseeko(fp, off, SEEK_SET) == -1) { in forward()
139 fseeko(fp, -off, SEEK_END) == -1) { in forward()
156 if (fseeko(fp, (off_t)0, SEEK_END) == -1) { in forward()
227 if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) { in rlines()
/freebsd/lib/libfetch/
H A Dfile.c57 if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) { in fetchXGetFile()
87 if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) { in fetchPutFile()
/freebsd/usr.bin/bsdiff/bspatch/
H A Dbspatch.c208 if (fseeko(cpf, offset, SEEK_SET)) in main()
213 if (fseeko(dpf, offset, SEEK_SET)) in main()
218 if (fseeko(epf, offset, SEEK_SET)) in main()
/freebsd/usr.bin/msgs/
H A Dmsgs.c681 fseeko(newmsg, (off_t)0, SEEK_END); in onintr()
710 fseeko(f, oldpos, SEEK_SET); in linecnt()
787 fseeko(newmsg, oldpos, SEEK_SET); in ask()
798 fseeko(newmsg, oldpos, SEEK_SET);/* reposition current message */ in ask()
881 fseeko(infile, frompos, SEEK_SET); in gfrsub()
/freebsd/lib/libc/stdio/
H A Dfsetpos.c44 return (fseeko(iop, (off_t)*pos, SEEK_SET)); in fsetpos()
H A DSymbol.map36 fseeko;
/freebsd/usr.bin/csplit/
H A Dcsplit.c328 fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR); in toomuch()
333 if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0) in toomuch()
341 if (fseeko(ofp, nread - i + 1, SEEK_CUR) != 0) in toomuch()
/freebsd/usr.bin/mail/
H A Dfio.c73 (void)fseeko(ibuf, offset, SEEK_SET); in setptr()
80 (void)fseeko(otf, (off_t)0, SEEK_END); in setptr()
203 if (fseeko(itf, in setinput()
H A Dquit.c110 (void)fseeko(fbuf, mailsize, SEEK_SET); in quit()
435 (void)fseeko(ibuf, mailsize, SEEK_SET); in edstop()
/freebsd/cddl/compat/opensolaris/include/
H A Dstdio.h35 #define fseeko64 fseeko
/freebsd/contrib/libdiff/lib/
H A Ddiff_atomize_text.c92 if (fseeko(d->root->f, line_end, SEEK_SET) == -1) in diff_data_atomize_text_lines_fd()
116 if (fseeko(d->root->f, pos, SEEK_SET) == -1) in diff_data_atomize_text_lines_fd()
/freebsd/bin/ed/
H A Dbuf.c57 if (fseeko(sfp, sfseek, SEEK_SET) < 0) { in get_sbuf_line()
101 if (fseeko(sfp, (off_t)0, SEEK_END) < 0) { in put_sbuf_line()
/freebsd/contrib/elftoolchain/strings/
H A Dstrings.c250 (void)fseeko(pfile, 0, SEEK_SET); in handle_binary()
373 (void)fseeko(pfile, offset, SEEK_SET); in find_strings()
/freebsd/usr.bin/fortune/unstr/
H A Dunstr.c112 fseeko(Inf, be64toh(pos), SEEK_SET); in order_unstr()
/freebsd/usr.bin/fortune/strfile/
H A Dstrfile.c392 fseeko(Sort_1, p1->pos, SEEK_SET); in cmp_str()
393 fseeko(Sort_2, p2->pos, SEEK_SET); in cmp_str()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_open_file.c159 if (fseeko(mine->f, skip, SEEK_CUR) != 0) in file_skip()

123