Home
last modified time | relevance | path

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

12345

/external/llvm/runtime/libprofile/
DPathProfiling.c77 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); in writeArrayTable()
78 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); in writeArrayTable()
97 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); in writeArrayTable()
229 headerLocation = lseek(outFile, 0, SEEK_CUR); in pathProfAtExitHandler()
230 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR); in pathProfAtExitHandler()
248 currentLocation = lseek(outFile, 0, SEEK_CUR); in pathProfAtExitHandler()
/external/qemu/android/
Dsnapshot.c119 uint64_t start_offset = seek_or_die(fd, 0, SEEK_CUR); in snapshot_info_read()
125 seek_or_die(fd, 12, SEEK_CUR); /* skip l1 info */ in snapshot_info_read()
147 seek_or_die(fd, extra_data_size, SEEK_CUR); /* skip extra data */ in snapshot_info_read()
155 uint64_t end_offset = seek_or_die(fd, 0, SEEK_CUR); in snapshot_info_read()
295 seek_or_die(fd, 52, SEEK_CUR); in snapshot_read_qcow_header()
/external/linux-tools-perf/util/ui/
Dbrowser.c51 case SEEK_CUR: in ui_browser__list_head_seek()
81 case SEEK_CUR: in ui_browser__rb_tree_seek()
254 self->seek(self, +1, SEEK_CUR); in ui_browser__run()
263 self->seek(self, -1, SEEK_CUR); in ui_browser__run()
276 self->seek(self, +offset, SEEK_CUR); in ui_browser__run()
289 self->seek(self, -offset, SEEK_CUR); in ui_browser__run()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
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/valgrind/main/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/compiler-rt/SDKs/darwin/usr/include/
Dstdio.h66 #ifndef SEEK_CUR
67 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/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/yaffs2/yaffs2/direct/
Dyaffsfs.h55 #ifndef SEEK_CUR
56 #define SEEK_CUR 1 macro
/external/chromium_org/media/filters/
Dffmpeg_glue_unittest.cc168 EXPECT_EQ(AVERROR(EIO), Seek(8, SEEK_CUR)); in TEST_F()
169 EXPECT_EQ(AVERROR(EIO), Seek(8, SEEK_CUR)); in TEST_F()
170 EXPECT_EQ(16, Seek(8, SEEK_CUR)); in TEST_F()
Dffmpeg_glue.cc39 case SEEK_CUR: in AVIOSeekOperation()
164 int64 pos = AVIOSeekOperation(avio_context_.get()->opaque, 0, SEEK_CUR); in OpenContext()
/external/e2fsprogs/misc/
De2image.c99 hdr.offset_super = lseek(fd, 0, SEEK_CUR); in write_image_file()
106 hdr.offset_inode = lseek(fd, 0, SEEK_CUR); in write_image_file()
114 hdr.offset_blockmap = lseek(fd, 0, SEEK_CUR); in write_image_file()
121 hdr.offset_inodemap = lseek(fd, 0, SEEK_CUR); in write_image_file()
319 if (lseek64(fd, sparse_offset, SEEK_CUR) < 0) in write_block()
322 if (lseek(fd, sparse_offset, SEEK_CUR) < 0) in write_block()
/external/skia/src/ports/
DSkOSFile_stdio.cpp81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread()
109 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR); in sk_fmove()
/external/chromium_org/third_party/skia/src/ports/
DSkOSFile_stdio.cpp81 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread()
109 int err = ::fseek((FILE*)f, byteCount, SEEK_CUR); in sk_fmove()
/external/linux-tools-perf/util/
Dheader.c420 trace_sec->offset = lseek(fd, 0, SEEK_CUR); in perf_header__adds_write()
422 trace_sec->size = lseek(fd, 0, SEEK_CUR) - trace_sec->offset; in perf_header__adds_write()
431 buildid_sec->offset = lseek(fd, 0, SEEK_CUR); in perf_header__adds_write()
437 buildid_sec->size = lseek(fd, 0, SEEK_CUR) - in perf_header__adds_write()
487 attr->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
503 header->attr_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
520 header->event_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
530 header->data_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
918 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header()
1170 off_t offset = lseek(session->fd, 0, SEEK_CUR); in perf_event__process_tracing_data()
/external/srec/portable/src/
DPFile.c246 if (PFileSeek(self, - (int)(bufferSize - i), SEEK_CUR)) in PFileReadInt()
265 if (PFileSeek(self, - (int) count, SEEK_CUR)) in PFileReadInt()
320 if (PFileSeek(self, -(int)(bufferSize - i), SEEK_CUR)) in PFileReadLCHAR()
330 if (PFileSeek(self, - (int) count, SEEK_CUR)) in PFileReadLCHAR()
/external/chromium_org/third_party/zlib/
Dgzlib.c186 state->start = LSEEK(state->fd, 0, SEEK_CUR);
298 if (whence != SEEK_SET && whence != SEEK_CUR)
311 ret = LSEEK(state->fd, offset - state->have, SEEK_CUR);
406 offset = LSEEK(state->fd, 0, SEEK_CUR);
/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/compiler-rt/SDKs/linux/usr/include/
Dstdio.h30 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dkernel_proxy_test.cc363 ASSERT_EQ(9, ki_lseek(fd, 0, SEEK_CUR)); in TEST_F()
373 ASSERT_EQ(9, ki_lseek(fd, 0, SEEK_CUR)); in TEST_F()
399 ASSERT_EQ(9, ki_lseek(fd, 0, SEEK_CUR)); in TEST_F()
400 ASSERT_EQ(9, ki_lseek(dup_fd, 0, SEEK_CUR)); in TEST_F()
404 ASSERT_EQ(9, ki_lseek(dup2_fd, 0, SEEK_CUR)); in TEST_F()
/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/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/lzma/CPP/Common/
DC_FileIO.cpp34 off_t curPos = Seek(0, SEEK_CUR); in GetLength()
/external/clang/test/Analysis/
Dstream.c6 #define SEEK_CUR 1 /* Seek from current position. */ macro

12345