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

123

/external/skia/src/images/
H A DSkFDStream.cpp32 off_t curr = ::lseek(fFD, 0, SEEK_CUR);
55 off_t oldCurr = ::lseek(fFD, 0, SEEK_CUR);
62 off_t newCurr = ::lseek(fFD, size, SEEK_CUR);
/external/e2fsprogs/contrib/
H A Dmake-sparse.c72 lseek(fd, sizeof(buf), SEEK_CUR);
81 lseek(fd, -1, SEEK_CUR);
/external/llvm/runtime/libprofile/
H A DPathProfiling.c82 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR);
83 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR);
102 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR);
234 headerLocation = lseek(outFile, 0, SEEK_CUR);
235 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR);
253 currentLocation = lseek(outFile, 0, SEEK_CUR);
/external/bluetooth/glib/gio/
H A Dglocalfileinputstream.c184 start = lseek (file->priv->fd, 0, SEEK_CUR);
196 res = lseek (file->priv->fd, count, SEEK_CUR);
251 pos = lseek (file->priv->fd, 0, SEEK_CUR);
267 pos = lseek (file->priv->fd, 0, SEEK_CUR);
282 return 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/yaffs2/yaffs2/direct/
H A Dyaffsfs.h55 #ifndef SEEK_CUR
56 #define SEEK_CUR 1 macro
H A Dyaffs_fileem2k.c331 pos = lseek(h, 0,SEEK_CUR);
/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/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.cpp73 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
/external/zlib/examples/
H A Dgzappend.c208 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1)
289 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
329 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in;
338 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
356 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))
946 if (lseek(log->fd, 0, SEEK_CUR) != log->last + 4 + log->stored)
H A Dgzjoin.c181 lseek(in->fd, skip - 1, SEEK_CUR);
188 lseek(in->fd, skip - left, SEEK_CUR);
/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/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/
H A Dgzlib.c184 state->start = LSEEK(state->fd, 0, SEEK_CUR);
296 if (whence != SEEK_SET && whence != SEEK_CUR)
299 /* normalize offset to a SEEK_CUR specification */
309 ret = LSEEK(state->fd, offset - state->have, SEEK_CUR);
404 offset = LSEEK(state->fd, 0, SEEK_CUR);
H A Dzconf.in.h297 # define SEEK_CUR 1 /* Seek from current position. */ macro
/external/zlib/contrib/minizip/
H A Dioapi.c156 fseek_origin = SEEK_CUR;
179 fseek_origin = SEEK_CUR;
/external/chromium/sdch/open-vcdiff/src/
H A Dzconf.h300 # define SEEK_CUR 1 /* Seek from current position. */ macro
/external/qemu/audio/
H A Dwavcapture.c46 qemu_fseek (wav->f, 32, SEEK_CUR);
/external/qemu/distrib/zlib-1.2.3/
H A Dzconf.h297 # define SEEK_CUR 1 /* Seek from current position. */ macro
/external/stlport/src/
H A Dstdio_streambuf.cpp84 whence = SEEK_CUR;
/external/stlport/src/details/
H A Dfstream_stdio.cpp353 whence = SEEK_CUR;
H A Dfstream_unistd.cpp297 whence = SEEK_CUR;
/external/webkit/Source/WebCore/platform/posix/
H A DFileSystemPOSIX.cpp103 whence = SEEK_CUR;

Completed in 705 milliseconds

123