/external/strace/xlat/ |
H A D | whence_codes.h | 9 #if defined(SEEK_CUR) || (defined(HAVE_DECL_SEEK_CUR) && HAVE_DECL_SEEK_CUR) 10 XLAT(SEEK_CUR),
|
/external/ltp/testcases/kernel/syscalls/pread/ |
H A D | pread01.c | 129 l_seek(fildes, 0, SEEK_CUR, K4); 142 l_seek(fildes, 0, SEEK_CUR, 0); 155 l_seek(fildes, 0, SEEK_CUR, K1); 165 l_seek(fildes, 0, SEEK_CUR, K1); 215 l_seek(fildes, 0, SEEK_CUR, 0); 228 l_seek(fildes, 0, SEEK_CUR, K1 / 2); 243 l_seek(fildes, 0, SEEK_CUR, K4);
|
/external/e2fsprogs/contrib/ |
H A D | make-sparse.c | 76 lseek(fd, sizeof(buf), SEEK_CUR); 85 lseek(fd, -1, SEEK_CUR);
|
/external/valgrind/none/tests/ |
H A D | mmap_fcntl_bug.c | 35 if (lseek(fd, 0, SEEK_CUR) != 123) 50 if (lseek(fd, 0, SEEK_CUR) != 123)
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
H A D | sendfile09.c | 93 before_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); 99 after_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); 145 SAFE_LSEEK(cleanup, fd, 1024 * 1024 - 1, SEEK_CUR);
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
H A D | lseek02.c | 129 int Whence[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
|
H A D | lseek01.c | 129 int Whence[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
|
H A D | lseek09.c | 26 * SEEK_CUR and the data read from the specified location should match 112 TEST(lseek(fildes, 1, SEEK_CUR));
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
H A D | pwrite04.c | 103 l_seek(fd, 0, SEEK_CUR, 0); 123 l_seek(fd, 0, SEEK_CUR, K1 / 2); 143 l_seek(fd, 0, SEEK_CUR, K4); 193 l_seek(fd, 0, SEEK_CUR, K2);
|
H A D | pwrite01.c | 128 l_seek(fildes, 0, SEEK_CUR, 0); 149 l_seek(fildes, 0, SEEK_CUR, K1 / 2); 167 l_seek(fildes, 0, SEEK_CUR, K4);
|
/external/python/cpython2/Lib/ |
H A D | io.py | 48 "UnsupportedOperation", "SEEK_SET", "SEEK_CUR", "SEEK_END"] 63 SEEK_CUR = 1 variable
|
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/ |
H A D | platform_DMVerityBitCorruption.py | 36 dev.seek(run_count * block_size + self._adjustment, os.SEEK_CUR) 40 dev.seek(run_count * block_size + self._adjustment, os.SEEK_CUR)
|
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
H A D | PathProfiling.c | 82 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); 83 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); 102 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); 234 headerLocation = lseek(outFile, 0, SEEK_CUR); 235 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR); 253 currentLocation = lseek(outFile, 0, SEEK_CUR);
|
/external/autotest/client/site_tests/platform_DMVerityCorruption/ |
H A D | platform_DMVerityCorruption.py | 27 dev.seek(run_count * block_size, os.SEEK_CUR)
|
/external/autotest/client/site_tests/security_mprotect/src/ |
H A D | prot_exec.c | 34 lseek(fd, 100, SEEK_CUR);
|
/external/clang/test/Analysis/ |
H A D | stream.c | 6 #define SEEK_CUR 1 /* Seek from current position. */ macro 46 fseek(p, 1, 3); // expected-warning {{The whence argument to fseek() should be SEEK_SET, SEEK_END, or SEEK_CUR}}
|
/external/curl/src/ |
H A D | tool_cb_see.c | 73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR))
|
/external/e2fsprogs/contrib/android/ |
H A D | block_range.c | 61 if (fseek(f, -len, SEEK_CUR) == -len)
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
H A D | pwritev01.c | 76 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) {
|
/external/lzma/CPP/Common/ |
H A D | C_FileIO.cpp | 38 off_t curPos = Seek(0, SEEK_CUR);
|
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 177 lseek(ofd, bs, SEEK_CUR); 195 lseek64(ofd, offset-1, SEEK_CUR);
|
/external/ltp/testcases/kernel/syscalls/open/ |
H A D | open12.c | 131 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); 133 len2 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR);
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | xfer.h | 100 SEEK_CUR = 0, enumerator in enum:seek_whence 110 * Must be one of @c SEEK_CUR or @c SEEK_SET. 129 case SEEK_CUR: return "CUR";
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
H A D | preadv01.c | 87 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) {
|
/external/zlib/src/examples/ |
H A D | gzappend.c | 210 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1) 291 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; 331 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in; 340 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; 358 lseek(gz.fd, -1L, SEEK_CUR);
|