| /NextBSD/contrib/libarchive/libarchive/test/ |
| HD | test_read_format_rar.c | 1199 archive_seek_data(a, file_size - (int)sizeof(buff), SEEK_SET)); in DEFINE_TEST() 1204 assertA(0 == archive_seek_data(a, 0, SEEK_SET)); in DEFINE_TEST() 1209 assertA(10054 == archive_seek_data(a, 10054, SEEK_SET)); in DEFINE_TEST() 1214 assertA(6860 == archive_seek_data(a, 6860, SEEK_SET)); in DEFINE_TEST() 1219 assertA(13752 == archive_seek_data(a, 13752, SEEK_SET)); in DEFINE_TEST() 1225 assertEqualInt(0, archive_seek_data(a, 0, SEEK_SET)); in DEFINE_TEST() 1250 assertA(0 == archive_seek_data(a, 0, SEEK_SET)); in DEFINE_TEST() 1391 archive_seek_data(a, file_size - (int)sizeof(buff), SEEK_SET)); in DEFINE_TEST() 1396 assertA(0 == archive_seek_data(a, 0, SEEK_SET)); in DEFINE_TEST() 1439 assertEqualIntA(a, 0, archive_seek_data(a, 0, SEEK_SET)); in test_read_format_rar_multivolume_uncompressed_files_helper() [all …]
|
| /NextBSD/lib/libc/tests/stdio/ |
| HD | open_wmemstream_test.c | 69 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY() 128 fseek(fp, 3, SEEK_SET); in ATF_TC_BODY() 144 fseek(fp, 4, SEEK_SET); in ATF_TC_BODY() 181 SEEK_FAIL(-1, SEEK_SET, EINVAL); in ATF_TC_BODY() 186 SEEK_OK(0, SEEK_SET, 0); in ATF_TC_BODY() 188 SEEK_OK(OFF_MAX - 1, SEEK_SET, OFF_MAX - 1); in ATF_TC_BODY()
|
| HD | open_memstream_test.c | 69 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY() 128 fseek(fp, 3, SEEK_SET); in ATF_TC_BODY() 144 fseek(fp, 4, SEEK_SET); in ATF_TC_BODY() 181 SEEK_FAIL(-1, SEEK_SET, EINVAL); in ATF_TC_BODY() 186 SEEK_OK(0, SEEK_SET, 0); in ATF_TC_BODY() 188 SEEK_OK(OFF_MAX - 1, SEEK_SET, OFF_MAX - 1); in ATF_TC_BODY()
|
| /NextBSD/usr.sbin/makefs/cd9660/ |
| HD | cd9660_write.c | 322 SEEK_SET) == -1) in cd9660_write_file() 347 diskStructure.sectorSize, SEEK_SET) == -1) in cd9660_write_file() 360 SEEK_SET) == -1) in cd9660_write_file() 410 if (fseeko(fd, sector * diskStructure.sectorSize, SEEK_SET) == -1) in cd9660_write_filedata() 415 if (fseeko(fd, curpos, SEEK_SET) == -1) in cd9660_write_filedata() 457 if (fseeko(fd, start_sector * diskStructure.sectorSize, SEEK_SET) == -1) in cd9660_copy_file() 491 if (fseeko(fd, sector * diskStructure.sectorSize + offset, SEEK_SET) == in cd9660_write_rr() 509 SEEK_SET) == -1) in cd9660_write_rr() 522 SEEK_SET) == -1) in cd9660_write_rr()
|
| /NextBSD/lib/libc/iconv/ |
| HD | citrus_db.c | 72 if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET)) in _citrus_db_open() 129 if (_citrus_memory_stream_seek(&ms, offset, SEEK_SET)) in _citrus_db_lookup() 154 SEEK_SET)) in _citrus_db_lookup() 166 SEEK_SET)) in _citrus_db_lookup() 311 if (_citrus_memory_stream_seek(&ms, offset, SEEK_SET)) in _citrus_db_get_entry() 318 if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), SEEK_SET)) in _citrus_db_get_entry() 324 if (_memstream_seek(&ms, be32toh(dex->dex_data_offset), SEEK_SET)) in _citrus_db_get_entry()
|
| /NextBSD/crypto/heimdal/lib/krb5/ |
| HD | test_store.c | 52 krb5_storage_seek(sp, 0, SEEK_SET); in test_int8() 77 krb5_storage_seek(sp, 0, SEEK_SET); in test_int16() 102 krb5_storage_seek(sp, 0, SEEK_SET); in test_int32() 127 krb5_storage_seek(sp, 0, SEEK_SET); in test_uint8() 152 krb5_storage_seek(sp, 0, SEEK_SET); in test_uint16() 177 krb5_storage_seek(sp, 0, SEEK_SET); in test_uint32() 231 krb5_storage_seek(sp, 0, SEEK_SET); in check_too_large()
|
| HD | store_mem.c | 76 case SEEK_SET: in mem_seek() 84 return sp->seek(sp, s->ptr - s->base + offset, SEEK_SET); in mem_seek() 86 return sp->seek(sp, s->size + offset, SEEK_SET); in mem_seek()
|
| /NextBSD/usr.bin/lastcomm/ |
| HD | readrec.c | 210 SEEK_SET) == EOF || in readrec_backward() 212 fseeko(f, pos - len, SEEK_SET) == EOF || in readrec_backward() 214 fseeko(f, pos - len, SEEK_SET) == EOF) in readrec_backward() 220 if (fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF || in readrec_backward() 222 fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF) in readrec_backward()
|
| /NextBSD/tests/sys/file/ |
| HD | flock_helper.c | 155 fl1.l_whence = SEEK_SET; in test1() 199 fl.l_whence = SEEK_SET; in test2() 270 fl.l_whence = SEEK_SET; in test3() 339 fl.l_whence = SEEK_SET; in test4() 425 fl.l_whence = SEEK_SET; in test5() 511 fl.l_whence = SEEK_SET; in test6() 614 fl.l_whence = SEEK_SET; in test7() 686 fl.l_whence = SEEK_SET; in test8() 763 fl.l_whence = SEEK_SET; in test9() 834 fl.l_whence = SEEK_SET; in test10() [all …]
|
| /NextBSD/contrib/netbsd-tests/rump/rumpvfs/ |
| HD | t_basic.c | 65 rv = rump_sys_lseek(37, FIVE_MEGS, SEEK_SET); in ATF_TC_BODY() 68 rv = rump_sys_lseek(fd, FIVE_MEGS, SEEK_SET); in ATF_TC_BODY() 71 rv = rump_sys_lseek(fd, FIVE_GIGS, SEEK_SET); in ATF_TC_BODY()
|
| /NextBSD/sbin/fsirand/ |
| HD | fsirand.c | 136 if (lseek(devfd, sblockloc, SEEK_SET) == -1) { in fsirand() 172 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { in fsirand() 217 if (lseek(devfd, sblockloc, SEEK_SET) == -1) { in fsirand() 235 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { in fsirand() 250 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { in fsirand() 279 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { in fsirand()
|
| /NextBSD/contrib/binutils/bfd/ |
| HD | sco5-core.c | 92 if (bfd_seek (abfd, (file_ptr) filepos, SEEK_SET) != 0 138 SEEK_SET) != 0) 148 if ((bfd_seek (abfd, (file_ptr) (coresize - coffset_siz), SEEK_SET) != 0) 196 SEEK_SET) != 0) 201 || (bfd_seek (abfd, (file_ptr) cheadoffs, SEEK_SET) != 0) 217 if ((bfd_seek (abfd, (file_ptr) chead.cs_hseek, SEEK_SET) != 0)
|
| HD | bfdio.c | 271 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek() 282 if (direction == SEEK_SET) in bfd_seek() 320 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek() 339 if (direction == SEEK_SET && abfd->my_archive != NULL) in bfd_seek() 367 if (direction == SEEK_SET) in bfd_seek()
|
| HD | coff-ia64.c | 80 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 106 if (bfd_seek (abfd, offset, SEEK_SET) != 0 125 if (bfd_seek (abfd, offset - sizeof (dos_hdr), SEEK_SET) != 0)
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | coff-pe-read.c | 159 bfd_seek (abfd, (file_ptr) where, SEEK_SET); in pe_get16() 169 bfd_seek (abfd, (file_ptr) where, SEEK_SET); in pe_get32() 244 bfd_seek (dll, (file_ptr) secptr1, SEEK_SET); in read_pe_exported_syms() 273 bfd_seek (dll, (file_ptr) secptr1 + 0, SEEK_SET); in read_pe_exported_syms() 288 bfd_seek (dll, (file_ptr) expptr, SEEK_SET); in read_pe_exported_syms()
|
| /NextBSD/sys/sys/ |
| HD | unistd.h | 106 #ifndef SEEK_SET 107 #define SEEK_SET 0 /* set file offset to offset */ macro 118 #define L_SET SEEK_SET
|
| /NextBSD/include/apple/sys/_types/ |
| HD | _seek_set.h | 30 #ifndef SEEK_SET 31 #define SEEK_SET 0 /* set file offset to offset */ macro
|
| /NextBSD/sbin/fsck_msdosfs/ |
| HD | boot.c | 104 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 130 boot->bpbBytesPerSec, SEEK_SET) in readboot() 151 SEEK_SET) in readboot() 242 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo() 256 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
|
| /NextBSD/lib/libc/stdio/ |
| HD | fseek.c | 142 whence = SEEK_SET; in _fseeko() 146 case SEEK_SET: in _fseeko() 188 if (whence == SEEK_SET) in _fseeko() 262 if (_sseek(fp, curoff, SEEK_SET) == POS_ERR) in _fseeko()
|
| /NextBSD/usr.bin/bsdiff/bspatch/ |
| HD | bspatch.c | 127 if (fseeko(cpf, 32, SEEK_SET)) in main() 134 if (fseeko(dpf, 32 + bzctrllen, SEEK_SET)) in main() 141 if (fseeko(epf, 32 + bzctrllen + bzdatalen, SEEK_SET)) in main() 150 (lseek(fd,0,SEEK_SET)!=0) || in main()
|
| /NextBSD/contrib/file/src/ |
| HD | pread.c | 13 if ((old = lseek(fd, off, SEEK_SET)) == -1) in pread() 19 if (lseek(fd, old, SEEK_SET) == -1) in pread()
|
| /NextBSD/contrib/ntp/include/ |
| HD | ntp_io.h | 21 #if !defined(SEEK_SET) && defined(L_SET) 22 # define SEEK_SET L_SET macro
|
| /NextBSD/contrib/tcp_wrappers/ |
| HD | rfc931.c | 30 #ifndef SEEK_SET 31 #define SEEK_SET 0 macro 197 fseek(fp, 0, SEEK_SET);
|
| /NextBSD/contrib/opie/libmissing/ |
| HD | pututline.c | 38 if (fseek(f, i * sizeof(struct utmp), SEEK_SET) < 0) 49 if (fseek(f, i - sizeof(struct utmp), SEEK_SET) < 0)
|
| /NextBSD/lib/libstand/ |
| HD | lseek.c | 84 case SEEK_SET: in lseek() 111 case SEEK_SET: in lseek()
|