Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 25 of 105) sorted by relevance

12345

/external/strace/xlat/
Dwhence_codes.h9 #if defined(SEEK_CUR) || (defined(HAVE_DECL_SEEK_CUR) && HAVE_DECL_SEEK_CUR)
10 XLAT(SEEK_CUR),
Dwhence_codes.in2 SEEK_CUR
/external/valgrind/none/tests/
Dmmap_fcntl_bug.c35 if (lseek(fd, 0, SEEK_CUR) != 123) in main()
50 if (lseek(fd, 0, SEEK_CUR) != 123) in main()
/external/e2fsprogs/contrib/
Dmake-sparse.c72 lseek(fd, sizeof(buf), SEEK_CUR); in main()
81 lseek(fd, -1, SEEK_CUR); in main()
/external/zlib/src/examples/
Dgzappend.c210 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()
Dgzlog.c493 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/
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/skia/src/ports/
DSkOSFile_stdio.cpp124 int err = fseek(f, (long)byteCount, SEEK_CUR); in sk_fread()
160 int err = fseek(f, byteCount, SEEK_CUR); in sk_fmove()
/external/pdfium/third_party/zlib_v128/
Dgzlib.c256 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/opencv3/3rdparty/libtiff/
Dtif_stream.cxx178 case SEEK_CUR: in _tiffosSeekProc()
220 case SEEK_CUR: in _tiffosSeekProc()
271 case SEEK_CUR: in _tiffisSeekProc()
/external/e2fsprogs/util/
Dcopy_sparse.c177 lseek(ofd, bs, SEEK_CUR); in copy_sparse_file()
195 lseek64(ofd, offset-1, SEEK_CUR); in copy_sparse_file()
/external/zlib/src/
Dgzlib.c256 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/opencv3/3rdparty/zlib/
Dgzlib.c256 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/
DdeFile.c142 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/toybox/toys/pending/
Ddd.c185 if (lseek(in.fd, (off_t)(in.offset * in.sz), SEEK_CUR) < 0) { in setup_inout()
200 if (out.offset) xlseek(out.fd, (off_t)(out.offset * out.sz), SEEK_CUR); in setup_inout()
250 xlseek(in.fd, in.sz, SEEK_CUR); in do_dd()
/external/ltrace/testsuite/ltrace.minor/
Dcount-record.c34 fseek (fp, 0, SEEK_CUR); in main()
/external/tinyalsa/
Dtinyplay.c116 fseek(file, chunk_header.sz - sizeof(chunk_fmt), SEEK_CUR); in main()
124 fseek(file, chunk_header.sz, SEEK_CUR); in main()
/external/autotest/client/site_tests/security_mprotect/src/
Dprot_exec.c34 lseek(fd, 100, SEEK_CUR); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dstdio_h.pass.cpp40 #ifndef SEEK_CUR
41 #error SEEK_CUR not defined
/external/libcxx/test/std/input.output/file.streams/c.files/
Dcstdio.pass.cpp39 #ifndef SEEK_CUR
40 #error SEEK_CUR not defined
/external/autotest/client/site_tests/platform_DMVerityCorruption/
Dplatform_DMVerityCorruption.py27 dev.seek(run_count * block_size, os.SEEK_CUR)
/external/lzma/CPP/Common/
DC_FileIO.cpp38 off_t curPos = Seek(0, SEEK_CUR); in GetLength()
/external/curl/src/
Dtool_cb_see.c73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR)) in tool_seek_cb()
/external/zlib/src/contrib/minizip/
Dioapi.c168 fseek_origin = SEEK_CUR; in fseek_file_func()
191 fseek_origin = SEEK_CUR; in fseek64_file_func()
/external/clang/test/Analysis/
Dstream.c6 #define SEEK_CUR 1 /* Seek from current position. */ macro

12345