/external/ltp/testcases/kernel/syscalls/pread/ |
D | pread01.c | 129 l_seek(fildes, 0, SEEK_CUR, K4); in main() 142 l_seek(fildes, 0, SEEK_CUR, 0); in main() 155 l_seek(fildes, 0, SEEK_CUR, K1); in main() 165 l_seek(fildes, 0, SEEK_CUR, K1); in main() 215 l_seek(fildes, 0, SEEK_CUR, 0); in setup() 228 l_seek(fildes, 0, SEEK_CUR, K1 / 2); in setup() 243 l_seek(fildes, 0, SEEK_CUR, K4); in setup()
|
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
D | PathProfiling.c | 82 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); in writeArrayTable() 83 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); in writeArrayTable() 102 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); in writeArrayTable() 234 headerLocation = lseek(outFile, 0, SEEK_CUR); in pathProfAtExitHandler() 235 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR); in pathProfAtExitHandler() 253 currentLocation = lseek(outFile, 0, SEEK_CUR); in pathProfAtExitHandler()
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite04.c | 103 l_seek(fd, 0, SEEK_CUR, 0); in main() 123 l_seek(fd, 0, SEEK_CUR, K1 / 2); in main() 143 l_seek(fd, 0, SEEK_CUR, K4); in main() 193 l_seek(fd, 0, SEEK_CUR, K2); in main()
|
D | pwrite01.c | 128 l_seek(fildes, 0, SEEK_CUR, 0); in main() 149 l_seek(fildes, 0, SEEK_CUR, K1 / 2); in main() 167 l_seek(fildes, 0, SEEK_CUR, K4); in main()
|
/external/strace/xlat/ |
D | whence_codes.h | 9 #if defined(SEEK_CUR) || (defined(HAVE_DECL_SEEK_CUR) && HAVE_DECL_SEEK_CUR) 10 XLAT(SEEK_CUR),
|
D | whence_codes.in | 2 SEEK_CUR
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile09.c | 93 before_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile() 99 after_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile() 145 SAFE_LSEEK(cleanup, fd, 1024 * 1024 - 1, SEEK_CUR); in setup()
|
D | sendfile02.c | 114 if ((before_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { in do_sendfile() 121 if ((after_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { in do_sendfile()
|
/external/valgrind/none/tests/ |
D | mmap_fcntl_bug.c | 35 if (lseek(fd, 0, SEEK_CUR) != 123) in main() 50 if (lseek(fd, 0, SEEK_CUR) != 123) in main()
|
/external/e2fsprogs/contrib/ |
D | make-sparse.c | 76 lseek(fd, sizeof(buf), SEEK_CUR); in main() 85 lseek(fd, -1, SEEK_CUR); in main()
|
/external/zlib/src/examples/ |
D | gzappend.c | 210 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1) in skip() 291 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; in gzscan() 331 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in; in gzscan() 340 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; in gzscan() 358 lseek(gz.fd, -1L, SEEK_CUR); in gzscan()
|
D | gzlog.c | 493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0; in log_last() 553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) in log_append() 646 read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) { in log_compress() 677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 || in log_compress() 705 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) in log_compress() 947 if (lseek(log->fd, 0, SEEK_CUR) != log->last + 4 + log->stored) in gzlog_compress()
|
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/ |
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/syslinux/gpxe/src/include/gpxe/ |
D | xfer.h | 100 SEEK_CUR = 0, enumerator 129 case SEEK_CUR: return "CUR"; in whence_text()
|
/external/lz4/programs/ |
D | lz4io.c | 636 int const seekResult = fseek(file, 1 GB, SEEK_CUR); in LZ4IO_fwriteSparse() 653 { int const seekResult = fseek(file, storedSkips, SEEK_CUR); in LZ4IO_fwriteSparse() 673 int const seekResult = fseek(file, storedSkips, SEEK_CUR); in LZ4IO_fwriteSparse() 687 int const seekResult = fseek(file, storedSkips-1, SEEK_CUR); in LZ4IO_fwriteSparseEnd() 872 if (where != SEEK_CUR) return -1; /* Only allows SEEK_CUR */ in fseek_u32() 876 errorNb = fseek(fp, (long) s, SEEK_CUR); in fseek_u32() 917 int const errorNb = fseek_u32(finput, size, SEEK_CUR); in selectDecoder()
|
/external/pdfium/third_party/zlib_v128/ |
D | gzlib.c | 256 state->start = LSEEK(state->fd, 0, SEEK_CUR); in gz_open() 383 if (whence != SEEK_SET && whence != SEEK_CUR) in gzseek64() 396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); in gzseek64() 492 offset = LSEEK(state->fd, 0, SEEK_CUR); in gzoffset64()
|
/external/toybox/toys/pending/ |
D | dd.c | 172 if (lseek(TT.in.fd, (off_t)(TT.in.offset * TT.in.sz), SEEK_CUR) < 0) { in dd_main() 191 xlseek(TT.out.fd, bs, SEEK_CUR); in dd_main() 214 xlseek(TT.in.fd, TT.in.sz, SEEK_CUR); in dd_main()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 131 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append() 133 len2 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append()
|
/external/e2fsprogs/util/ |
D | copy_sparse.c | 177 lseek(ofd, bs, SEEK_CUR); in copy_sparse_file() 195 lseek64(ofd, offset-1, SEEK_CUR); in copy_sparse_file()
|
/external/python/cpython2/Modules/zlib/ |
D | gzlib.c | 256 state->start = LSEEK(state->fd, 0, SEEK_CUR); 383 if (whence != SEEK_SET && whence != SEEK_CUR) 396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 492 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/zlib/src/ |
D | gzlib.c | 256 state->start = LSEEK(state->fd, 0, SEEK_CUR); 383 if (whence != SEEK_SET && whence != SEEK_CUR) 396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 492 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/deqp/framework/delibs/deutil/ |
D | deFile.c | 142 case DE_FILEPOSITION_CURRENT: return SEEK_CUR; in mapSeekPosition() 156 return lseek(file->fd, 0, SEEK_CUR); in deFile_getPosition() 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize()
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress07.c | 185 if (lseek64(rwfd, holesize, SEEK_CUR) == -1) { 187 if (lseek(rwfd, holesize, SEEK_CUR) == -1) {
|
/external/tinyalsa/ |
D | tinyplay.c | 116 fseek(file, chunk_header.sz - sizeof(chunk_fmt), SEEK_CUR); in main() 124 fseek(file, chunk_header.sz, SEEK_CUR); in main()
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek02.c | 129 int Whence[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
|