Searched refs:SEEK_CUR (Results 1 - 25 of 147) sorted by relevance

123456

/external/strace/xlat/
H A Dwhence_codes.h9 #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 Dpread01.c129 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 Dmake-sparse.c76 lseek(fd, sizeof(buf), SEEK_CUR);
85 lseek(fd, -1, SEEK_CUR);
/external/valgrind/none/tests/
H A Dmmap_fcntl_bug.c35 if (lseek(fd, 0, SEEK_CUR) != 123)
50 if (lseek(fd, 0, SEEK_CUR) != 123)
/external/ltp/testcases/kernel/syscalls/sendfile/
H A Dsendfile09.c93 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 Dlseek02.c129 int Whence[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
H A Dlseek01.c129 int Whence[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
H A Dlseek09.c26 * 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 Dpwrite04.c103 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 Dpwrite01.c128 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 Dio.py48 "UnsupportedOperation", "SEEK_SET", "SEEK_CUR", "SEEK_END"]
63 SEEK_CUR = 1 variable
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/
H A Dplatform_DMVerityBitCorruption.py36 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 DPathProfiling.c82 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 Dplatform_DMVerityCorruption.py27 dev.seek(run_count * block_size, os.SEEK_CUR)
/external/autotest/client/site_tests/security_mprotect/src/
H A Dprot_exec.c34 lseek(fd, 100, SEEK_CUR);
/external/clang/test/Analysis/
H A Dstream.c6 #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 Dtool_cb_see.c73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR))
/external/e2fsprogs/contrib/android/
H A Dblock_range.c61 if (fseek(f, -len, SEEK_CUR) == -len)
/external/ltp/testcases/kernel/syscalls/pwritev/
H A Dpwritev01.c76 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) {
/external/lzma/CPP/Common/
H A DC_FileIO.cpp38 off_t curPos = Seek(0, SEEK_CUR);
/external/e2fsprogs/util/
H A Dcopy_sparse.c177 lseek(ofd, bs, SEEK_CUR);
195 lseek64(ofd, offset-1, SEEK_CUR);
/external/ltp/testcases/kernel/syscalls/open/
H A Dopen12.c131 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 Dxfer.h100 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 Dpreadv01.c87 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) {
/external/zlib/src/examples/
H A Dgzappend.c210 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);

Completed in 846 milliseconds

123456