/system/core/toolbox/upstream-netbsd/bin/rm/ |
rm.c | 438 if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET)) \ 462 if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET)) \
|
/external/qemu/block/ |
raw-posix.c | 619 * There are reports that lseek on some devices fails, but 622 return lseek(s->fd, 0, SEEK_END); 659 size = lseek(fd, 0LL, SEEK_END); 675 size = lseek(fd, 0, SEEK_END); 690 return lseek(s->fd, 0, SEEK_END); 989 else if (lseek(fd, 0, SEEK_END) < total_size * BDRV_SECTOR_SIZE) [all...] |
/external/fsck_msdos/ |
fat.c | 92 if (lseek(fs, off, SEEK_SET) != off) { 185 if (lseek(fs, off, SEEK_SET) != off) { 647 if (lseek(fs, off, SEEK_SET) != off
|
/external/stressapptest/src/ |
os.cc | 679 if (lseek(fd, offset, SEEK_SET) < 0) { 728 if (lseek(fd, offset, SEEK_SET) < 0) { 750 uint32 pos = lseek(fd, address, SEEK_SET);
|
/frameworks/base/libs/androidfw/ |
Asset.cpp | 133 * Under Linux, the lseek fails if we actually opened a directory. To 193 fileLen = lseek(fd, 0, SEEK_END); 198 (void) lseek(fd, 0, SEEK_SET); 387 ALOGD("failed lseek (errno=%d)\n", errno); 872 if (lseek(mFd, mStart, SEEK_SET) != mStart)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
unistd.h | 310 /* Values for the WHENCE argument to lseek. */ 331 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __THROW; 334 extern __off64_t __REDIRECT_NTH (lseek, 338 # define lseek lseek64 macro [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
unistd.h | 310 /* Values for the WHENCE argument to lseek. */ 331 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __THROW; 334 extern __off64_t __REDIRECT_NTH (lseek, 338 # define lseek lseek64 macro [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
showdb.c | 63 lseek(db, ofst, SEEK_SET); 486 lseek(db, 16, SEEK_SET);
|
/external/fio/engines/ |
sync.c | 4 * IO engine that does regular read(2)/write(2) with lseek(2) to transfer 44 if (lseek(f->fd, io_u->offset, SEEK_SET) == -1) { 45 td_verror(td, errno, "lseek"); 282 if (lseek(f->fd, sd->io_us[0]->offset, SEEK_SET) == -1) { 285 td_verror(td, errno, "lseek");
|
/external/libpcap/ |
pcap-pf.c | 125 lseek(pc->fd, 0L, SEEK_CUR) + pc->bufsize < 0) { 129 * read fails with EINVAL. The lseek() 132 (void)lseek(pc->fd, 0L, SEEK_SET);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
trace-event-info.c | 63 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); 560 tdata->size = lseek(output_fd, 0, SEEK_CUR);
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 480 off_t loc = ::lseek(FD, 0, SEEK_CUR); 579 pos = ::lseek(FD, off, SEEK_SET);
|
/external/ltrace/etc/ |
syscalls.conf | 105 long lseek(int,long,int);
|
/external/qemu/android/utils/ |
path.c | 601 sz = lseek(fd, 0, SEEK_END); 607 if (lseek(fd, 0, SEEK_SET) != 0)
|
/external/qemu/include/ |
qemu-common.h | 98 #if !defined(lseek) 99 # define lseek _lseeki64 macro
|
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 264 return Libcore.os.lseek(fd, 0L, SEEK_CUR); 276 Libcore.os.lseek(fd, newPosition, SEEK_SET);
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 161 @Override public long lseek(FileDescriptor fd, long offset, int whence) throws ErrnoException { method in class:BlockGuardOs 163 return os.lseek(fd, offset, whence);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
io.h | 321 long __cdecl lseek(int _FileHandle,long _Offset,int _Origin) __MINGW_ATTRIB_DEPRECATED_MSVC2005; 335 #define lseek lseek64 macro
|
/system/core/init/ |
util.c | 172 sz = lseek(fd, 0, SEEK_END); 175 if(lseek(fd, 0, SEEK_SET) != 0) goto oops;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_proxy.h | 122 // lseek() relies on the filesystem's Stat() to determine whether or not the 124 virtual off_t lseek(int fd, off_t offset, int whence);
|
kernel_wrap.h | 91 off_t NAME(lseek)(int fd, off_t offset, int whence) NOTHROW;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
port.h | 374 inline off_t lseek(int fd, off_t offset, int whence) { function
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
port.h | 371 inline off_t lseek(int fd, off_t offset, int whence) { function
|
/external/elfutils/0.153/libdwfl/ |
gzip.c | 255 off64_t off = lseek (d, start_offset, SEEK_SET);
|
/external/fio/os/ |
os.h | 261 end = lseek(f->fd, 0, SEEK_END);
|