Searched refs:SEEK_END (Results 1 - 25 of 129) sorted by relevance

123456

/freebsd-11-stable/contrib/binutils/binutils/
H A Dsysdep.h120 #ifndef SEEK_END macro
121 #define SEEK_END 2
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dopen_memstream2_test.c107 fseek(fp, 0, SEEK_END);
115 fseek(fp, 4, SEEK_END);
132 fseek(fp, 0, SEEK_END);
183 SEEK_FAIL(-1, SEEK_END, EINVAL);
187 SEEK_OK(-1, SEEK_END, 2);
H A Dopen_wmemstream_test.c107 fseek(fp, 0, SEEK_END);
115 fseek(fp, 4, SEEK_END);
132 fseek(fp, 0, SEEK_END);
183 SEEK_FAIL(-1, SEEK_END, EINVAL);
187 SEEK_OK(-1, SEEK_END, 2);
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_file.c101 RL(lseek(fd, 0, SEEK_END));
123 RL(lseek(fd, 0, SEEK_END));
125 RL(lseek(fd, event[0].data, SEEK_END));
H A Dt_file2.c63 RL(lseek(fd1, 0, SEEK_END));
/freebsd-11-stable/tools/tools/bus_autoconf/
H A Dbus_load_file.c50 off = lseek(f, 0, SEEK_END);
/freebsd-11-stable/sys/contrib/dev/acpica/common/
H A Dcmfsize.c190 Status = fseek (File, 0, SEEK_END);
/freebsd-11-stable/sys/sys/
H A Dunistd.h109 #define SEEK_END 2 /* set file offset to EOF plus offset */ macro
120 #define L_XTND SEEK_END
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_rar.c1359 /* Use various combinations of SEEK_SET, SEEK_CUR, and SEEK_END */
1360 assertEqualInt(file_size, archive_seek_data(a, 0, SEEK_END));
1367 assertEqualInt(file_size, archive_seek_data(a, 0, SEEK_END));
1368 assertEqualInt(file_size - 20, archive_seek_data(a, -20, SEEK_END));
1369 assertEqualInt(file_size + 40, archive_seek_data(a, 40, SEEK_END));
1373 assertEqualInt(file_size + 20, archive_seek_data(a, 20, SEEK_END));
1374 assertEqualInt(file_size - 20, archive_seek_data(a, -20, SEEK_END));
1380 assertEqualInt(file_size, archive_seek_data(a, 0, SEEK_END));
1388 archive_seek_data(a, -(int)sizeof(buff), SEEK_END));
1412 assertA(13752 == archive_seek_data(a, 13752 - file_size, SEEK_END));
[all...]
/freebsd-11-stable/contrib/opie/
H A Dopie.h104 #ifndef SEEK_END
105 #define SEEK_END 2 macro
106 #endif /* SEEK_END */
/freebsd-11-stable/contrib/unbound/contrib/
H A Dparseunbound.pl11 use POSIX qw(SEEK_END);
64 $in->seek(-$offset, SEEK_END) or croak "cannot seek $logfile: $!\n";
/freebsd-11-stable/lib/libc/stdio/
H A Dfopen.c96 (void)_sseek(fp, (fpos_t)0, SEEK_END);
H A Dftell.c103 pos = _sseek(fp, (fpos_t)0, SEEK_END);
H A Dfopencookie.c126 case SEEK_END:
H A Dstdio.c112 if (_sseek(fp, (fpos_t)0, SEEK_END) == -1 &&
/freebsd-11-stable/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c52 fseek(file, 0L, SEEK_END);
/freebsd-11-stable/stand/libsa/
H A Dlseek.c100 * length. We don't bother with SEEK_END here, since the code to
105 if (f->f_ralen != 0 && where != SEEK_END) {
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c208 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0);
242 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0);
284 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0);
580 /* test fmemopen_seek(SEEK_END) */
591 * test fmemopen_seek(SEEK_END)
597 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0);
601 ATF_CHECK(fseeko(fp, rest + 1, SEEK_END) == -1);
605 ATF_CHECK(fseeko(fp, -(len + 1), SEEK_END) == -1);
610 ATF_CHECK(fseeko(fp, i, SEEK_END) == 0);
616 ATF_CHECK(fseeko(fp, -i, SEEK_END)
[all...]
H A Dt_open_memstream.c74 ATF_CHECK(fseek(fp, 100, SEEK_END) == 0);
/freebsd-11-stable/contrib/binutils/ld/
H A Dld.h31 #ifndef SEEK_END
32 #define SEEK_END 2 macro
/freebsd-11-stable/usr.bin/tail/
H A Dforward.c140 fseeko(fp, -off, SEEK_END) == -1) {
157 if (fseeko(fp, (off_t)0, SEEK_END) == -1) {
411 if (lseek(ev->ident, (off_t)0, SEEK_END) == -1) {
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dstdio.c103 (void) (*fp->f_seek)((void *)fp, (off_t)0, SEEK_END);
449 (void) (*fp->f_seek)(fp, (off_t)0, SEEK_END);
/freebsd-11-stable/contrib/dma/
H A Dlocal.c183 mboxlen = lseek(mbox, 0, SEEK_END);
/freebsd-11-stable/bin/ed/
H A Dbuf.c103 if (fseeko(sfp, (off_t)0, SEEK_END) < 0) {
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dargv.c406 if (fseek (f, 0L, SEEK_END) == -1)

Completed in 491 milliseconds

123456