/freebsd-10-stable/lib/libstand/ |
H A D | lseek.c | 87 case SEEK_CUR: 106 if ((filepos = (f->f_ops->fo_seek)(f, (off_t)0, SEEK_CUR)) == -1) 113 case SEEK_CUR: 132 if (where == SEEK_CUR)
|
/freebsd-10-stable/contrib/binutils/binutils/ |
H A D | sysdep.h | 117 #ifndef SEEK_CUR macro 118 #define SEEK_CUR 1
|
/freebsd-10-stable/lib/libfigpar/ |
H A D | figpar.c | 167 curpos = lseek(fd, 0, SEEK_CUR) - 1; 211 if (lseek(fd, 1, SEEK_CUR) != -1) 252 curpos = lseek(fd, 0, SEEK_CUR) - 1; 274 charpos = lseek(fd, 0, SEEK_CUR) - 1; 285 error = (int)lseek(fd, -2, SEEK_CUR); 298 error = (int)lseek(fd, -2, SEEK_CUR); 359 charpos = lseek(fd, 0, SEEK_CUR) - 1;
|
/freebsd-10-stable/contrib/gcc/config/i386/ |
H A D | host-cygwin.c | 55 off_t p = lseek(fd, 0, SEEK_CUR);
|
/freebsd-10-stable/lib/libc/gen/ |
H A D | lockf.c | 49 fl.l_whence = SEEK_CUR;
|
H A D | pututxline.c | 99 ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR); 163 if (fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR) == -1) 220 ret = fseeko(fp, -(off_t)sizeof fe, SEEK_CUR);
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_open_file.c | 156 if (lseek(fileno(mine->f), skip, SEEK_CUR) < 0) 158 if (fseeko(mine->f, skip, SEEK_CUR) != 0) 160 if (_fseeki64(mine->f, skip, SEEK_CUR) != 0) 162 if (fseek(mine->f, skip, SEEK_CUR) != 0)
|
H A D | archive_read_open_fd.c | 155 if (((old_offset = lseek(mine->fd, 0, SEEK_CUR)) >= 0) && 156 ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0))
|
/freebsd-10-stable/contrib/binutils/bfd/ |
H A D | sysdep.h | 107 #ifndef SEEK_CUR 108 #define SEEK_CUR 1 macro
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_open_memstream.c | 81 ATF_CHECK(fseek(fp, -1, SEEK_CUR) == 0); 83 ATF_CHECK(fseek(fp, 5, SEEK_CUR) == 0);
|
H A D | t_fflush.c | 123 ATF_REQUIRE(fseek(f, 0, SEEK_CUR) == 0); 130 ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == 3);
|
/freebsd-10-stable/sys/sys/ |
H A D | unistd.h | 108 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro 119 #define L_INCR SEEK_CUR
|
/freebsd-10-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 */ 1362 assertEqualInt(0, archive_seek_data(a, 0, SEEK_CUR)); 1363 assertEqualInt(-1, archive_seek_data(a, -10, SEEK_CUR)); 1364 assertEqualInt(10, archive_seek_data(a, 10, SEEK_CUR)); 1365 assertEqualInt(-1, archive_seek_data(a, -20, SEEK_CUR)); 1366 assertEqualInt(10, archive_seek_data(a, 0, SEEK_CUR)); 1370 assertEqualInt(file_size + 40, archive_seek_data(a, 0, SEEK_CUR)); 1371 assertEqualInt(file_size + 40 + 20, archive_seek_data(a, 20, SEEK_CUR)); 1372 assertEqualInt(file_size + 40 + 20 + 20, archive_seek_data(a, 20, SEEK_CUR)); 1382 assertEqualInt(file_size + 40, archive_seek_data(a, 40, SEEK_CUR)); [all...] |
/freebsd-10-stable/crypto/heimdal/lib/krb5/ |
H A D | store_mem.c | 50 sp->seek(sp, size, SEEK_CUR); 61 sp->seek(sp, size, SEEK_CUR); 83 case SEEK_CUR:
|
H A D | store_emem.c | 51 sp->seek(sp, size, SEEK_CUR); 74 sp->seek(sp, size, SEEK_CUR); 92 case SEEK_CUR:
|
/freebsd-10-stable/lib/libc/tests/stdio/ |
H A D | open_memstream2_test.c | 182 SEEK_FAIL(-1, SEEK_CUR, EINVAL); 185 SEEK_OK(-1, SEEK_CUR, 2); 189 SEEK_FAIL(2, SEEK_CUR, EOVERFLOW);
|
H A D | open_wmemstream_test.c | 182 SEEK_FAIL(-1, SEEK_CUR, EINVAL); 185 SEEK_OK(-1, SEEK_CUR, 2); 189 SEEK_FAIL(2, SEEK_CUR, EOVERFLOW);
|
/freebsd-10-stable/crypto/heimdal/lib/kadm5/ |
H A D | send_recv.c | 48 len = krb5_storage_seek(sp, 0, SEEK_CUR);
|
H A D | log.c | 68 krb5_storage_seek(sp, -4, SEEK_CUR); 333 off = krb5_storage_seek (sp, 0, SEEK_CUR); 337 len = krb5_storage_seek (sp, 0, SEEK_CUR) - off; 338 krb5_storage_seek(sp, -(len + 4), SEEK_CUR); 342 krb5_storage_seek(sp, len, SEEK_CUR); 413 off = krb5_storage_seek (sp, 0, SEEK_CUR); 419 len = krb5_storage_seek (sp, 0, SEEK_CUR) - off; 421 krb5_storage_seek(sp, -(len + 4), SEEK_CUR); 426 krb5_storage_seek(sp, len, SEEK_CUR); 468 off = krb5_storage_seek(sp, 0, SEEK_CUR); [all...] |
/freebsd-10-stable/cddl/compat/opensolaris/misc/ |
H A D | mnttab.c | 201 nfs = (int)lseek(fileno(fp), 0, SEEK_CUR); 213 if (lseek(fileno(fp), 1, SEEK_CUR) == -1)
|
/freebsd-10-stable/contrib/binutils/ld/ |
H A D | ld.h | 28 #ifndef SEEK_CUR 29 #define SEEK_CUR 1 macro
|
/freebsd-10-stable/release/picobsd/tinyware/help/ |
H A D | help.c | 107 if (fseek(fd, (long)n, SEEK_CUR)<0) return 1; 149 if (fseek(fd, (long)n, SEEK_CUR)<0) break;
|
/freebsd-10-stable/bin/dd/ |
H A D | position.c | 100 if (lseek(in.fd, seek_offset(&in), SEEK_CUR) == -1 && 168 if (lseek(out.fd, seek_offset(&out), SEEK_CUR) == -1 &&
|
/freebsd-10-stable/lib/libc/stdio/ |
H A D | ftell.c | 109 pos = _sseek(fp, (fpos_t)0, SEEK_CUR);
|
/freebsd-10-stable/bin/pax/ |
H A D | ar_io.c | 183 else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE)) 476 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) || 635 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) 771 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) 774 if (lseek(arfd, mpos, SEEK_CUR) < 0) 832 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) >= 0) { 900 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) {
|