/bionic/libc/arch-arm/syscalls/ |
lseek.S | 5 ENTRY(lseek) function 14 END(lseek)
|
/bionic/libc/arch-sh/syscalls/ |
lseek.S | 5 .type lseek, @function 6 .globl lseek 9 lseek: label
|
/bionic/libc/arch-x86/syscalls/ |
lseek.S | 5 .type lseek, @function 6 .globl lseek 9 lseek: label
|
/external/skia/src/images/ |
SkFDStream.cpp | 18 off_t value = ::lseek(fFD, 0, SEEK_SET); 32 off_t curr = ::lseek(fFD, 0, SEEK_CUR); 35 SkDebugf("xxxxxxxxxxxxx lseek failed 0 CURR\n"); 39 off_t size = ::lseek(fFD, 0, SEEK_END); 42 SkDebugf("xxxxxxxxxxxxx lseek failed 0 END\n"); 46 if (::lseek(fFD, curr, SEEK_SET) != curr) { 49 SkDebugf("xxxxxxxxxxxxx lseek failed %d SET\n", curr); 55 off_t oldCurr = ::lseek(fFD, 0, SEEK_CUR); 62 off_t newCurr = ::lseek(fFD, size, SEEK_CUR);
|
/frameworks/base/core/jni/android/graphics/ |
Utils.h | 45 fCurr = ::lseek(fd, 0, SEEK_CUR); 49 ::lseek(fFD, fCurr, SEEK_SET);
|
/system/core/libcutils/ |
load_file.c | 32 sz = lseek(fd, 0, SEEK_END); 35 if(lseek(fd, 0, SEEK_SET) != 0) goto oops;
|
/external/yaffs2/yaffs2/direct/ |
yaffs_fileem.c | 94 fSize = lseek(filedisk.handle,0,SEEK_END); 100 lseek(filedisk.handle,0,SEEK_SET); 129 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); 137 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); 159 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); 167 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); 198 lseek(filedisk.handle, blockNumber * 32 * 528, SEEK_SET);
|
yaffs_fileem2k.c | 84 fSize = lseek(h,0,SEEK_END); 157 lseek(h,pos,SEEK_SET); 173 lseek(h,pos,SEEK_SET); 225 lseek(h,pos,SEEK_SET); 235 lseek(h,pos,SEEK_SET); 289 lseek(h,((blockNo % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE + PAGE_DATA_SIZE,SEEK_SET); 326 lseek(h,((blockNumber % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE,SEEK_SET); 331 pos = lseek(h, 0,SEEK_CUR);
|
/frameworks/base/include/utils/ |
Compat.h | 31 return lseek(fd, offset, whence);
|
/external/llvm/runtime/libprofile/ |
PathProfiling.c | 82 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); 83 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); 102 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); 103 lseek(outFile, arrayHeaderLocation, SEEK_SET); 111 lseek(outFile, arrayCurrentLocation, SEEK_SET); 234 headerLocation = lseek(outFile, 0, SEEK_CUR); 235 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR); 253 currentLocation = lseek(outFile, 0, SEEK_CUR); 254 lseek(outFile, headerLocation, SEEK_SET); 262 lseek(outFile, currentLocation, SEEK_SET) [all...] |
/external/e2fsprogs/lib/blkid/ |
llseek.c | 50 #define llseek lseek 97 return lseek(fd, (off_t) offset, whence); 136 return lseek(fd, (off_t) offset, origin);
|
/external/e2fsprogs/lib/ext2fs/ |
llseek.c | 51 #define llseek lseek 97 return lseek(fd, (off_t) offset, origin); 132 return lseek (fd, (off_t) offset, origin);
|
/external/oprofile/libutil/ |
op_deviceio.c | 32 lseek(devfd, 0, SEEK_SET);
|
/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 63 lseek(fd, remainingHeader, SEEK_CUR); 81 lseek(fd, remainingHeader, SEEK_CUR); 116 lseek(fd, remainingHeader, SEEK_CUR); 130 lseek(fd, bytesToSkip, SEEK_CUR); 160 pos = lseek(fd, 0, SEEK_CUR); 162 lseek(fd, headerSize, SEEK_CUR); 178 prevPos = lseek(fd, 0, SEEK_CUR); 188 lseek(fd, pos, SEEK_SET); 209 lseek(fd, prevPos, SEEK_SET);
|
/bionic/libc/stdio/ |
stdio.c | 64 (void) lseek(fp->_file, (off_t)0, SEEK_END); 75 ret = lseek(fp->_file, (off_t)offset, whence);
|
/external/e2fsprogs/contrib/ |
make-sparse.c | 72 lseek(fd, sizeof(buf), SEEK_CUR); 81 lseek(fd, -1, SEEK_CUR);
|
/external/e2fsprogs/e2fsck/ |
extend.c | 60 ret = lseek(fd, nblocks*blocksize, SEEK_SET); 62 perror("lseek"); 70 ret = lseek(fd, nblocks*blocksize, SEEK_SET); 72 perror("lseek #2");
|
/external/skia/src/core/ |
SkMMapStream.cpp | 19 off_t offset = lseek(fildes, 0, SEEK_END); // find the file size 22 SkDEBUGF(("---- failed to lseek(%s) for mmap stream error=%d\n", filename, errno)); 26 (void)lseek(fildes, 0, SEEK_SET); // restore file offset to beginning
|
/development/tools/line_endings/ |
line_endings.c | 58 len = lseek(fd, 0, SEEK_END); 59 lseek(fd, 0, SEEK_SET); 92 lseek(fd, 0, SEEK_SET);
|
/external/e2fsprogs/include/nonunix/ |
unistd.h | 25 #define lseek _lseek macro
|
/external/openssl/crypto/bio/ |
bio_lcl.h | 33 #define UP_lseek lseek
|
/external/e2fsprogs/misc/ |
e2label.c | 60 if (lseek(fd, 1024, SEEK_SET) != 1024) { 97 if (lseek(fd, 1024, SEEK_SET) != 1024) {
|
/external/valgrind/main/memcheck/tests/ |
writev.c | 55 lseek(fd, 0, 0); 61 lseek(fd, K_1, 0);
|
/external/zlib/examples/ |
gzlog.c | 231 #include <unistd.h> /* lseek, read, write, close, unlink, sleep, */ 415 if (lseek(log->fd, 0, SEEK_SET) < 0 || 451 ret = lseek(log->fd, HEAD, SEEK_SET) < 0 || 476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 || 491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 || 493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0; 553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) 644 if (lseek(log->fd, log->first - (log->back > 8 ? 2 : 1), 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 | [all...] |
/device/samsung/tuna/reflash-bootloader/ |
reflash-bootloader.c | 135 ret = lseek(to_fd, to_offset, SEEK_SET); 162 ret = lseek(to_fd, to_offset, SEEK_SET); 166 ret = lseek(from_fd, from_offset, SEEK_SET); 219 ret = lseek(to_fd, to_offset, SEEK_SET); 223 ret = lseek(from_fd, from_offset, SEEK_SET);
|