/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | sysdep.h | 120 #ifndef SEEK_END macro 121 #define SEEK_END 2
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | open_memstream2_test.c | 107 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 D | open_wmemstream_test.c | 107 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 D | t_file.c | 101 RL(lseek(fd, 0, SEEK_END)); 123 RL(lseek(fd, 0, SEEK_END)); 125 RL(lseek(fd, event[0].data, SEEK_END));
|
H A D | t_file2.c | 63 RL(lseek(fd1, 0, SEEK_END));
|
/freebsd-11-stable/tools/tools/bus_autoconf/ |
H A D | bus_load_file.c | 50 off = lseek(f, 0, SEEK_END);
|
/freebsd-11-stable/sys/contrib/dev/acpica/common/ |
H A D | cmfsize.c | 190 Status = fseek (File, 0, SEEK_END);
|
/freebsd-11-stable/sys/sys/ |
H A D | unistd.h | 109 #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 D | test_read_format_rar.c | 1359 /* 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 D | opie.h | 104 #ifndef SEEK_END 105 #define SEEK_END 2 macro 106 #endif /* SEEK_END */
|
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | parseunbound.pl | 11 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 D | fopen.c | 96 (void)_sseek(fp, (fpos_t)0, SEEK_END);
|
H A D | ftell.c | 103 pos = _sseek(fp, (fpos_t)0, SEEK_END);
|
H A D | fopencookie.c | 126 case SEEK_END:
|
H A D | stdio.c | 112 if (_sseek(fp, (fpos_t)0, SEEK_END) == -1 &&
|
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | fileHandlingTest.c | 52 fseek(file, 0L, SEEK_END);
|
/freebsd-11-stable/stand/libsa/ |
H A D | lseek.c | 100 * 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 D | t_fmemopen.c | 208 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 D | t_open_memstream.c | 74 ATF_CHECK(fseek(fp, 100, SEEK_END) == 0);
|
/freebsd-11-stable/contrib/binutils/ld/ |
H A D | ld.h | 31 #ifndef SEEK_END 32 #define SEEK_END 2 macro
|
/freebsd-11-stable/usr.bin/tail/ |
H A D | forward.c | 140 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 D | stdio.c | 103 (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 D | local.c | 183 mboxlen = lseek(mbox, 0, SEEK_END);
|
/freebsd-11-stable/bin/ed/ |
H A D | buf.c | 103 if (fseeko(sfp, (off_t)0, SEEK_END) < 0) {
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | argv.c | 406 if (fseek (f, 0L, SEEK_END) == -1)
|