/bionic/libc/arch-mips/syscalls/ |
lseek.S | 4 .globl lseek 6 .ent lseek 8 lseek: label 22 .end lseek
|
/bionic/libc/arch-arm/syscalls/ |
lseek.S | 6 ENTRY(lseek) function 15 END(lseek)
|
/external/skia/legacy/src/images/ |
SkFDStream.cpp | 25 off_t value = ::lseek(fFD, 0, SEEK_SET); 39 off_t curr = ::lseek(fFD, 0, SEEK_CUR); 42 SkDebugf("xxxxxxxxxxxxx lseek failed 0 CURR\n"); 46 off_t size = ::lseek(fFD, 0, SEEK_END); 49 SkDebugf("xxxxxxxxxxxxx lseek failed 0 END\n"); 53 if (::lseek(fFD, curr, SEEK_SET) != curr) { 56 SkDebugf("xxxxxxxxxxxxx lseek failed %d SET\n", curr); 62 off_t oldCurr = ::lseek(fFD, 0, SEEK_CUR); 69 off_t newCurr = ::lseek(fFD, size, SEEK_CUR);
|
/external/skia/src/images/ |
SkFDStream.cpp | 25 off_t value = ::lseek(fFD, 0, SEEK_SET); 39 off_t curr = ::lseek(fFD, 0, SEEK_CUR); 42 SkDebugf("xxxxxxxxxxxxx lseek failed 0 CURR\n"); 46 off_t size = ::lseek(fFD, 0, SEEK_END); 49 SkDebugf("xxxxxxxxxxxxx lseek failed 0 END\n"); 53 if (::lseek(fFD, curr, SEEK_SET) != curr) { 56 SkDebugf("xxxxxxxxxxxxx lseek failed %d SET\n", curr); 62 off_t oldCurr = ::lseek(fFD, 0, SEEK_CUR); 69 off_t newCurr = ::lseek(fFD, size, SEEK_CUR);
|
/bionic/libc/arch-x86/syscalls/ |
lseek.S | 6 ENTRY(lseek) function 27 END(lseek)
|
/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);
|
/external/valgrind/main/none/tests/ |
mmap_fcntl_bug.c | 32 initial = lseek(fd, 123, SEEK_SET); 35 if (lseek(fd, 0, SEEK_CUR) != 123) 50 if (lseek(fd, 0, SEEK_CUR) != 123)
|
/external/llvm/runtime/libprofile/ |
PathProfiling.c | 77 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); 78 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); 97 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); 98 lseek(outFile, arrayHeaderLocation, SEEK_SET); 106 lseek(outFile, arrayCurrentLocation, SEEK_SET); 229 headerLocation = lseek(outFile, 0, SEEK_CUR); 230 lseek(outFile, 2*sizeof(uint32_t), SEEK_CUR); 248 currentLocation = lseek(outFile, 0, SEEK_CUR); 249 lseek(outFile, headerLocation, SEEK_SET); 257 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);
|
/system/extras/tests/ext4/ |
corrupt_gdt_free_blocks.c | 34 if (lseek(fd, SB_OFFSET, SEEK_SET) == -1) { 35 fprintf(stderr, "%s: Cannot lseek to superblock to read\n", me); 67 if (lseek(fd, block_size, SEEK_SET) == -1) { 68 fprintf(stderr, "%s: Cannot lseek to block group descriptor table to read\n", me); 86 if (lseek(fd, -sizeof(gd), SEEK_CUR) == -1) { 87 fprintf(stderr, "%s: Cannot lseek to block group descriptor table to write\n", me);
|
set_ext4_err_bit.c | 30 if (lseek(fd, SB_OFFSET, SEEK_SET) == -1) { 31 fprintf(stderr, "%s: Cannot lseek to superblock to read\n", me); 48 if (lseek(fd, SB_OFFSET, SEEK_SET) == -1) { 49 fprintf(stderr, "%s: Cannot lseek to superblock to write\n", me);
|
/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);
|
/frameworks/native/include/utils/ |
Compat.h | 31 return lseek(fd, offset, whence);
|
/device/asus/flo/conn_init/ |
wfc_util_fctrl.c | 83 sz_file = lseek( fd, 0, SEEK_END ); 101 lseek( fd, (int)(pSPointer-pReadBuff), SEEK_SET ); 112 lseek( fd, (int)(pETagPointer-pReadBuff), SEEK_SET ); 154 sz_file = lseek( fd, 0, SEEK_END ); 185 lseek( fd, 0, SEEK_SET ); 214 sz_file = lseek( fd, 0, SEEK_END ); 226 lseek( fd, 0, SEEK_SET ); 230 lseek( fd, positionStart, SEEK_SET ); 277 sz_file = lseek( fd, 0, SEEK_END ); 290 lseek( fd, 0, SEEK_SET ) [all...] |
/device/lge/mako/conn_init/ |
wfc_util_fctrl.c | 83 sz_file = lseek( fd, 0, SEEK_END ); 101 lseek( fd, (int)(pSPointer-pReadBuff), SEEK_SET ); 112 lseek( fd, (int)(pETagPointer-pReadBuff), SEEK_SET ); 154 sz_file = lseek( fd, 0, SEEK_END ); 185 lseek( fd, 0, SEEK_SET ); 214 sz_file = lseek( fd, 0, SEEK_END ); 226 lseek( fd, 0, SEEK_SET ); 230 lseek( fd, positionStart, SEEK_SET ); 277 sz_file = lseek( fd, 0, SEEK_END ); 290 lseek( fd, 0, SEEK_SET ) [all...] |
/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/legacy/src/core/ |
SkMMapStream.cpp | 26 off_t offset = lseek(fildes, 0, SEEK_END); // find the file size 29 SkDEBUGF(("---- failed to lseek(%s) for mmap stream error=%d\n", filename, errno)); 33 (void)lseek(fildes, 0, SEEK_SET); // restore file offset to beginning
|
/external/skia/src/core/ |
SkMMapStream.cpp | 27 off_t offset = lseek(fildes, 0, SEEK_END); // find the file size 30 SkDEBUGF(("---- failed to lseek(%s) for mmap stream error=%d\n", filename, errno)); 34 (void)lseek(fildes, 0, SEEK_SET); // restore file offset to beginning
|