/external/qemu/hw/core/ |
loader.c | 60 size = lseek(fd, 0, SEEK_END); 73 size = lseek(fd, 0, SEEK_END); 74 lseek(fd, 0, SEEK_SET); 235 lseek(fd, N_TXTOFF(e), SEEK_SET); 243 lseek(fd, N_TXTOFF(e), SEEK_SET); 267 if (lseek(fd, offset, SEEK_SET) < 0) 341 lseek(fd, 0, SEEK_SET);
|
/external/fsck_msdos/ |
boot.c | 128 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 155 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 175 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET) 289 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 303 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
unistd.in.h | 509 <http://www.opengroup.org/susv3xsh/lseek.html>. */ 510 # define lseek rpl_lseek macro 511 extern off_t lseek (int fd, off_t offset, int whence); 514 # undef lseek macro 515 # define lseek(f,o,w) \ macro 516 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \ 517 "systems - use gnulib module lseek for portability"), \ 518 lseek (f, o, w))
|
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 349 if (lseek (desc, 0, 0) < 0) 448 if (lseek (desc, member_offset, 0) < 0) 654 if (lseek (desc, member_offset, 0) != member_offset) 780 if (lseek (fd, pos, 0) < 0) 785 if (lseek (fd, pos, 0) < 0) 805 if (lseek (fd, pos, 0) < 0)
|
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
fd.c | 185 ret = (long)lseek(b->num, num, SEEK_SET); 192 ret = (long)lseek(b->num, 0, SEEK_CUR);
|
/external/oprofile/libpopt/ |
poptconfig.c | 108 fileLength = lseek(fd, 0, SEEK_END); 109 if (fileLength == -1 || lseek(fd, 0, 0) == -1) {
|
/external/pdfium/core/src/fxcrt/ |
fxcrt_posix.cpp | 85 return lseek(m_nFD, 0, SEEK_CUR);
92 return lseek(m_nFD, pos, SEEK_SET);
|
/frameworks/base/cmds/idmap/ |
create.cpp | 59 if (lseek(fd, SEEK_SET, 0) < 0) { 88 if (lseek(idmap_fd, SEEK_SET, 0) < 0) {
|
/frameworks/compile/libbcc/lib/Support/ |
FileBase.cpp | 270 off_t result = ::lseek(mFD, pOffset, SEEK_SET); 286 off_t result = ::lseek(mFD, 0, SEEK_CUR);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_system.cpp | 38 return ::lseek(fd_, offset, SEEK_SET);
|
/libcore/luni/src/main/java/java/io/ |
FileInputStream.java | 186 // Try lseek(2). That returns the new offset, but we'll throw an 188 Libcore.os.lseek(fd, byteCount, SEEK_CUR);
|
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_system.cpp | 38 return ::lseek(fd_, offset, SEEK_SET);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/lib/gcc/x86_64-linux/4.6/include-fixed/X11/ |
Xw32defs.h | 47 # define lseek _lseek macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/ |
Xw32defs.h | 38 # define lseek _lseek macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xw32defs.h | 38 # define lseek _lseek macro
|
/system/core/libbacktrace/ |
GetPss.cpp | 38 if (lseek(fd, place * sizeof(uint64_t), SEEK_SET) < 0) {
|
/system/core/toolbox/ |
hd.c | 60 lseek(fd, base, SEEK_SET);
|
/bootable/recovery/minzip/ |
SysUtil.c | 30 start = lseek(fd, 0L, SEEK_CUR); 31 end = lseek(fd, 0L, SEEK_END); 32 (void) lseek(fd, start, SEEK_SET);
|
/dalvik/libdex/ |
SysUtil.cpp | 88 start = lseek(fd, 0L, SEEK_CUR); 89 end = lseek(fd, 0L, SEEK_END); 90 (void) lseek(fd, start, SEEK_SET);
|
/external/chromium_org/tools/android/heap_profiler/ |
heap_dump.c | 222 // Unfortunately lseek takes a *signed* offset, which is unsuitable for large 227 lseek(fd, (off_t) off, SEEK_SET); 230 lseek(fd, (off_t) OFF_T_MAX, SEEK_SET); 231 lseek(fd, (off_t) (off - OFF_T_MAX), SEEK_CUR);
|
/frameworks/base/libs/androidfw/ |
BackupData.cpp | 64 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 191 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 328 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET);
|
/frameworks/av/media/libstagefright/webm/ |
WebmWriter.cpp | 314 mCuesOffset = ::lseek(mFd, 0, SEEK_CUR); 318 ::lseek(mFd, mCuesOffset, SEEK_SET); 329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); 331 ::lseek(mFd, mSegmentOffset + sizeOf(kMkvSegment), SEEK_SET); 343 ::lseek(mFd, durationOffset, SEEK_SET); 353 ::lseek(mFd, mSegmentDataStart, SEEK_SET); 498 offsets[i] = ::lseek(mFd, 0, SEEK_CUR);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
header.c | 1039 off_t offset = lseek(fd, 0, SEEK_CUR); 1064 lseek(fd, offset, SEEK_SET); [all...] |
/external/libunwind/src/coredump/ |
_UCD_create.c | 147 if (lseek(fd, ofs, SEEK_SET) != ofs) 219 if (lseek(fd, cur->p_offset, SEEK_SET) != (off_t)cur->p_offset 359 if (lseek(ui->coredump_fd, phdr->p_offset, SEEK_SET) != (off_t)phdr->p_offset
|
/external/sonivox/arm-wt-22k/host_src/ |
eas_hostmm.c | 269 if (lseek(fd, 0, SEEK_END) < 0) { 273 if ((file->fileSize = lseek(fd, 0, SEEK_CUR)) == -1L) { 331 lseek(file->fd, file->filePos + file->offset, SEEK_SET);
|