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

12345

/external/compiler-rt/SDKs/linux/usr/include/
H A Dstdio.h30 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/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/llvm/runtime/libprofile/
H A DPathProfiling.c77 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR);
78 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR);
97 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR);
229 headerLocation = lseek(outFile, 0, SEEK_CUR);
230 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR);
248 currentLocation = lseek(outFile, 0, SEEK_CUR);
/external/chromium_org/chrome/browser/resources/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);
H A Dbyte_reader.js48 ByteReader.SEEK_CUR = 1;
492 if (opt_seekStart == ByteReader.SEEK_CUR) {
/external/qemu/android/
H A Dsnapshot.c119 uint64_t start_offset = seek_or_die(fd, 0, SEEK_CUR);
125 seek_or_die(fd, 12, SEEK_CUR); /* skip l1 info */
147 seek_or_die(fd, extra_data_size, SEEK_CUR); /* skip extra data */
155 uint64_t end_offset = seek_or_die(fd, 0, SEEK_CUR);
295 seek_or_die(fd, 52, SEEK_CUR);
/external/linux-tools-perf/util/ui/
H A Dbrowser.c51 case SEEK_CUR:
81 case SEEK_CUR:
254 self->seek(self, +1, SEEK_CUR);
263 self->seek(self, -1, SEEK_CUR);
276 self->seek(self, +offset, SEEK_CUR);
289 self->seek(self, -offset, 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.cpp81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
109 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/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/e2fsprogs/misc/
H A De2image.c99 hdr.offset_super = lseek(fd, 0, SEEK_CUR);
106 hdr.offset_inode = lseek(fd, 0, SEEK_CUR);
114 hdr.offset_blockmap = lseek(fd, 0, SEEK_CUR);
121 hdr.offset_inodemap = lseek(fd, 0, SEEK_CUR);
319 if (lseek64(fd, sparse_offset, SEEK_CUR) < 0)
322 if (lseek(fd, sparse_offset, 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/libvpx/libvpx/test/
H A Dwebm_video_source.h44 whence = SEEK_CUR;
/external/srec/portable/src/
H A DPFile.c246 if (PFileSeek(self, - (int)(bufferSize - i), SEEK_CUR))
265 if (PFileSeek(self, - (int) count, SEEK_CUR))
320 if (PFileSeek(self, -(int)(bufferSize - i), SEEK_CUR))
330 if (PFileSeek(self, - (int) count, SEEK_CUR))
/external/zlib/src/
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/chromium_org/third_party/zlib/contrib/minizip/
H A Dioapi.c156 fseek_origin = SEEK_CUR;
179 fseek_origin = SEEK_CUR;

Completed in 678 milliseconds

12345