HomeSort by relevance Sort by last modified time
    Searched refs:lseek (Results 1 - 25 of 334) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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)
  /bionic/libc/arch-x86/syscalls/
lseek.S 6 ENTRY(lseek) function
27 END(lseek)
  /frameworks/base/core/jni/android/graphics/
Utils.h 56 fCurr = ::lseek(fd, 0, SEEK_CUR);
60 ::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);
  /art/compiler/
file_output_stream.cc 33 return lseek(file_->Fd(), offset, static_cast<int>(whence));
  /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/core/toolbox/
mkswap.c 48 swap_size = lseek(fd, 0, SEEK_END);
55 if (lseek(fd, 0, SEEK_SET)) {
73 if (lseek(fd, pagesize - MAGIC_SWAP_HEADER_LEN, SEEK_SET) < 0) {
  /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);
  /system/core/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");
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_largefile.py 91 print('play around with os.lseek() with the built largefile')
93 self.assertEqual(os.lseek(f.fileno(), 0, 0), 0)
94 self.assertEqual(os.lseek(f.fileno(), 42, 0), 42)
95 self.assertEqual(os.lseek(f.fileno(), 42, 1), 84)
96 self.assertEqual(os.lseek(f.fileno(), 0, 1), 84)
97 self.assertEqual(os.lseek(f.fileno(), 0, 2), size+1+0)
98 self.assertEqual(os.lseek(f.fileno(), -10, 2), size+1-10)
99 self.assertEqual(os.lseek(f.fileno(), -size-1, 2), 0)
100 self.assertEqual(os.lseek(f.fileno(), size, 0), size)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_largefile.py 91 print('play around with os.lseek() with the built largefile')
93 self.assertEqual(os.lseek(f.fileno(), 0, 0), 0)
94 self.assertEqual(os.lseek(f.fileno(), 42, 0), 42)
95 self.assertEqual(os.lseek(f.fileno(), 42, 1), 84)
96 self.assertEqual(os.lseek(f.fileno(), 0, 1), 84)
97 self.assertEqual(os.lseek(f.fileno(), 0, 2), size+1+0)
98 self.assertEqual(os.lseek(f.fileno(), -10, 2), size+1-10)
99 self.assertEqual(os.lseek(f.fileno(), -size-1, 2), 0)
100 self.assertEqual(os.lseek(f.fileno(), size, 0), size)

Completed in 481 milliseconds

1 2 3 4 5 6 7 8 91011>>