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

12345

/external/strace/xlat/
H A Dwhence_codes.h7 #if defined(SEEK_CUR) || (defined(HAVE_DECL_SEEK_CUR) && HAVE_DECL_SEEK_CUR)
8 XLAT(SEEK_CUR),
/external/compiler-rt/SDKs/linux/usr/include/
H A Dstdio.h30 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/external/ltrace/testsuite/ltrace.minor/
H A Dcount-record.c34 fseek (fp, 0, SEEK_CUR);
/external/compiler-rt/SDKs/darwin/usr/include/
H A Dstdio.h66 #ifndef SEEK_CUR
67 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/external/e2fsprogs/contrib/
H A Dmake-sparse.c72 lseek(fd, sizeof(buf), SEEK_CUR);
81 lseek(fd, -1, SEEK_CUR);
/external/valgrind/main/none/tests/
H A Dmmap_fcntl_bug.c35 if (lseek(fd, 0, SEEK_CUR) != 123)
50 if (lseek(fd, 0, SEEK_CUR) != 123)
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
H A Dmpeg_parser.js78 br.seek(offset, ByteReader.SEEK_CUR);
85 br.seek(8, ByteReader.SEEK_CUR);
92 br.seek(40, ByteReader.SEEK_CUR);
99 br.seek(8, ByteReader.SEEK_CUR);
104 br.seek(8, ByteReader.SEEK_CUR);
/external/qemu/android/
H A Dsnapshot.c114 uint64_t start_offset = seek_or_die(fd, 0, SEEK_CUR);
120 seek_or_die(fd, 12, SEEK_CUR); /* skip l1 info */
142 seek_or_die(fd, extra_data_size, SEEK_CUR); /* skip extra data */
150 uint64_t end_offset = seek_or_die(fd, 0, SEEK_CUR);
296 seek_or_die(fd, 52, SEEK_CUR);
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.h55 #ifndef SEEK_CUR
56 #define SEEK_CUR 1 macro
/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/lzma/CPP/Common/
H A DC_FileIO.cpp34 off_t curPos = Seek(0, SEEK_CUR);
/external/chromium_org/media/filters/
H A Dffmpeg_glue.cc39 case SEEK_CUR:
164 int64 pos = AVIOSeekOperation(avio_context_.get()->opaque, 0, SEEK_CUR);
H A Dffmpeg_glue_unittest.cc151 // SEEK_CUR should call GetPosition() first, and if it succeeds add the offset
168 EXPECT_EQ(AVERROR(EIO), Seek(8, SEEK_CUR));
169 EXPECT_EQ(AVERROR(EIO), Seek(8, SEEK_CUR));
170 EXPECT_EQ(16, Seek(8, SEEK_CUR));
/external/chromium_org/third_party/skia/src/ports/
H A DSkOSFile_stdio.cpp79 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
107 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR);
/external/e2fsprogs/util/
H A Dcopy_sparse.c177 lseek(ofd, bs, SEEK_CUR);
195 lseek64(ofd, offset-1, SEEK_CUR);
/external/skia/src/ports/
H A DSkOSFile_stdio.cpp81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
109 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR);
/external/deqp/framework/delibs/deutil/
H A DdeFile.c142 case DE_FILEPOSITION_CURRENT: return SEEK_CUR;
156 return lseek(file->fd, 0, SEEK_CUR);
162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR);
170 size = lseek(file->fd, 0, SEEK_CUR);
/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);
H A Dgzlog.c493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0;
553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end))
646 read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) {
677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 ||
705 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end))
947 if (lseek(log->fd, 0, SEEK_CUR) != log->last + 4 + log->stored)
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dbrowser.c87 case SEEK_CUR:
119 case SEEK_CUR:
396 browser->seek(browser, +1, SEEK_CUR);
405 browser->seek(browser, -1, SEEK_CUR);
418 browser->seek(browser, +offset, SEEK_CUR);
431 browser->seek(browser, -offset, SEEK_CUR);
568 case SEEK_CUR:
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
H A Drtp_file_source.cc143 if (fseek(in_file_, kRtpFileHeaderSize, SEEK_CUR) != 0) {
/external/chromium_org/third_party/zlib/
H A Dgzlib.c186 state->start = LSEEK(state->fd, 0, SEEK_CUR);
298 if (whence != SEEK_SET && whence != SEEK_CUR)
301 /* normalize offset to a SEEK_CUR specification */
311 ret = LSEEK(state->fd, offset - state->have, SEEK_CUR);
406 offset = LSEEK(state->fd, 0, SEEK_CUR);
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dgzlib.c256 state->start = LSEEK(state->fd, 0, SEEK_CUR);
383 if (whence != SEEK_SET && whence != SEEK_CUR)
386 /* normalize offset to a SEEK_CUR specification */
396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
492 offset = LSEEK(state->fd, 0, SEEK_CUR);
/external/qemu/distrib/libsparse/src/
H A Dsparse_read.c132 lseek64(fd, len, SEEK_CUR);
322 lseek64(fd, sparse_header.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR);
335 lseek64(fd, sparse_header.chunk_hdr_sz - CHUNK_HEADER_LEN, SEEK_CUR);
338 offset = lseek64(fd, 0, SEEK_CUR);
/external/qemu/distrib/zlib-1.2.8/
H A Dgzlib.c256 state->start = LSEEK(state->fd, 0, SEEK_CUR);
383 if (whence != SEEK_SET && whence != SEEK_CUR)
386 /* normalize offset to a SEEK_CUR specification */
396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
492 offset = LSEEK(state->fd, 0, SEEK_CUR);

Completed in 2963 milliseconds

12345