/system/core/fs_mgr/ |
fs_mgr_avb_ops.cpp | 159 off64_t total_size = lseek64(fd, 0, SEEK_END); 161 PERROR << "Failed to lseek64 to end of the partition"; 166 if (lseek64(fd, 0, SEEK_SET) == -1) { 167 PERROR << "Failed to lseek64 to the beginning of the partition";
|
/bootable/recovery/ |
fuse_sdcard_provider.cpp | 41 if (TEMP_FAILURE_RETRY(lseek64(fd->fd, offset, SEEK_SET)) == -1) {
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
Intercept.cpp | 70 sys::DynamicLibrary::AddSymbol("\x1lseek64", (void*)(intptr_t)lseek64);
|
/frameworks/base/core/jni/android/graphics/ |
Utils.cpp | 118 return ::lseek64(descriptor, 0, SEEK_CUR) != -1;
|
/libcore/ojluni/src/main/native/ |
FileChannelImpl.c | 52 #define lseek64 lseek macro 138 result = lseek64(fd, 0, SEEK_CUR); 140 result = lseek64(fd, offset, SEEK_SET);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 325 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); 329 newFilePos = lseek64(pSession->fileDesc, offset, whence); 340 (void)lseek64(pSession->fileDesc, pSession->dataOffset + pSession->filePos, 345 // The return value should be the file position that lseek64() would have returned 383 if (lseek64(pSession->fileDesc, pSession->dataOffset, SEEK_SET) != 401 (void)lseek64(pSession->fileDesc, pSession->dataOffset + pSession->filePos,
|
/system/extras/ext4_utils/ |
ext4fixup.c | 40 #define lseek64 lseek macro 100 lseek64(fd, 0, SEEK_SET); 149 lseek64(fd, 0, SEEK_SET); 183 if (lseek64(fd, inode_offset, SEEK_SET) < 0) { 202 if (lseek64(fd, off, SEEK_SET) , 0) { 225 if (lseek64(fd, off, SEEK_SET) < 0) { 335 ret = lseek64(fd, ((unsigned long long)i * info.blocks_per_group * info.block_size) +
|
/external/ltp/testcases/kernel/fs/ftest/ |
ftest08.c | 26 * this is the same as ftest5, except that it uses lseek64 29 * fsync, sync, lseek64, read, write 337 if (lseek64(fd, CHUNK(chunk), 0) < 0) { 339 NULL, "\tTest[%d]: lseek64(0) fail at %" 419 if (lseek64(fd, -xfr, 1) < 0) { 421 NULL, "\tTest[%d]: lseek64(1) fail at %" 459 if (lseek64(fd, CHUNK(i), 0) < 462 NULL, "\tTest[%d]: lseek64 fail at %"
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
llseek02.c | 22 * Note that glibc exports the llseek syscall as lseek64. 151 TEST(lseek64(fildes, (loff_t) 0, whence));
|
/frameworks/base/libs/androidfw/tests/ |
ApkAssets_test.cpp | 85 lseek64(fd.get(), start, SEEK_SET);
|
/frameworks/base/tools/aapt2/io/ |
FileInputStream_test.cpp | 36 lseek64(file.fd, 0, SEEK_SET);
|
/system/update_engine/payload_consumer/ |
file_descriptor.cc | 67 return lseek64(fd_, offset, whence);
|
/external/ltp/utils/ffsb-6.0-rc2/ |
fh.c | 41 #define lseek64 lseek macro 203 res = lseek64(fd, offset, whence);
|
/frameworks/av/media/libstagefright/ |
FileSource.cpp | 51 mLength = lseek64(mFd, 0, SEEK_END); 152 off64_t result = lseek64(mFd, offset + mOffset, SEEK_SET);
|
/system/extras/tests/directiotest/ |
directiotest.c | 76 lseek64(fd, start, SEEK_SET); 98 lseek64(fd, start, SEEK_SET);
|
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 126 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { 127 fprintf(stderr, "lseek64 failed\n"); 156 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { 157 fprintf(stderr, "lseek64 failed\n");
|
/external/fsck_msdos/ |
dir.c | 324 if (lseek64(f, off, SEEK_SET) != off) { 326 perror("Unable to lseek64"); 337 if (lseek64(f, off, SEEK_SET) != off) { 339 perror("Unable to lseek64"); 474 if (lseek64(f, off, SEEK_SET) != off) { 476 perror("Unable to lseek64"); 563 if (lseek64(f, off, SEEK_SET) != off) { 565 perror("Unable to lseek64"); 961 if (lseek64(f, off, SEEK_SET) != off 1063 if (lseek64(dosfs, lfoff, SEEK_SET) != lfof [all...] |
/bionic/libc/bionic/ |
legacy_32_bit_support.cpp | 61 // For lseek64 we need to use the llseek system call which splits the off64_t in two and 63 off64_t lseek64(int fd, off64_t off, int whence) { function
|
/development/ndk/platforms/android-12/include/ |
unistd.h | 132 extern off64_t lseek64(int, off64_t, int);
|
/development/ndk/platforms/android-21/include/ |
unistd.h | 130 extern off64_t lseek64(int, off64_t, int);
|
/development/ndk/platforms/android-9/include/ |
unistd.h | 132 extern off64_t lseek64(int, off64_t, int);
|
/external/e2fsprogs/misc/ |
findsuper.c | 43 * - fixed to support > 2G devices by using lseek64 191 for (; lseek64(fd, sk, SEEK_SET) != -1 &&
|
/external/ltp/testcases/kernel/syscalls/open/ |
open12.c | 242 offset = lseek64(fd, 4.1*1024*1024*1024, SEEK_SET); 244 tst_brkm(TBROK | TERRNO, cleanup, "lseek64 failed");
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 203 offset = lseek64(fd, 4.1*1024*1024*1024, SEEK_SET); 205 tst_brkm(TBROK | TERRNO, cleanup, "lseek64 failed");
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/ |
unistd.h | 132 extern off64_t lseek64(int, off64_t, int);
|