/external/compiler-rt/SDKs/linux/usr/include/ |
H A D | stdio.h | 30 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
|
/external/compiler-rt/SDKs/darwin/usr/include/ |
H A D | stdio.h | 66 #ifndef SEEK_CUR 67 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
|
/external/e2fsprogs/contrib/ |
H A D | make-sparse.c | 72 lseek(fd, sizeof(buf), SEEK_CUR); 81 lseek(fd, -1, SEEK_CUR);
|
/external/valgrind/main/none/tests/ |
H A D | mmap_fcntl_bug.c | 35 if (lseek(fd, 0, SEEK_CUR) != 123) 50 if (lseek(fd, 0, SEEK_CUR) != 123)
|
/external/llvm/runtime/libprofile/ |
H A D | PathProfiling.c | 77 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 D | mpeg_parser.js | 78 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 D | byte_reader.js | 48 ByteReader.SEEK_CUR = 1; 492 if (opt_seekStart == ByteReader.SEEK_CUR) {
|
/external/qemu/android/ |
H A D | snapshot.c | 119 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 D | browser.c | 51 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 D | yaffsfs.h | 55 #ifndef SEEK_CUR 56 #define SEEK_CUR 1 macro
|
/external/clang/test/Analysis/ |
H A D | stream.c | 6 #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 D | C_FileIO.cpp | 34 off_t curPos = Seek(0, SEEK_CUR);
|
/external/chromium_org/media/filters/ |
H A D | ffmpeg_glue.cc | 39 case SEEK_CUR: 164 int64 pos = AVIOSeekOperation(avio_context_.get()->opaque, 0, SEEK_CUR);
|
H A D | ffmpeg_glue_unittest.cc | 151 // 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 D | SkOSFile_stdio.cpp | 81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); 109 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR);
|
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 177 lseek(ofd, bs, SEEK_CUR); 195 lseek64(ofd, offset-1, SEEK_CUR);
|
/external/skia/src/ports/ |
H A D | SkOSFile_stdio.cpp | 81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); 109 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR);
|
/external/zlib/src/examples/ |
H A D | gzappend.c | 210 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 D | gzlog.c | 493 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 D | e2image.c | 99 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 D | gzlib.c | 186 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 D | webm_video_source.h | 44 whence = SEEK_CUR;
|
/external/srec/portable/src/ |
H A D | PFile.c | 246 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 D | gzlib.c | 256 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 D | ioapi.c | 156 fseek_origin = SEEK_CUR; 179 fseek_origin = SEEK_CUR;
|