/system/core/libsparse/ |
D | append2simg.cpp | 36 #define lseek64 lseek macro 39 #define lseek64 lseek macro 94 input_len = lseek64(input, 0, SEEK_END); in main() 102 lseek64(input, 0, SEEK_SET); in main() 117 lseek64(output, 0, SEEK_SET); in main()
|
D | img2simg.cpp | 36 #define lseek64 lseek macro 86 len = lseek64(in, 0, SEEK_END); in main() 87 lseek64(in, 0, SEEK_SET); in main()
|
D | sparse_read.cpp | 41 #define lseek64 lseek macro 91 void Seek(int64_t off) override { lseek64(fd, off, SEEK_CUR); } in Seek() 93 int64_t GetOffset() override { return lseek64(fd, 0, SEEK_CUR); } in GetOffset() 96 return lseek64(fd, offset, SEEK_SET) == offset ? 0 : -errno; in SetOffset() 558 len = lseek64(fd, 0, SEEK_END); in sparse_file_import_auto() 563 lseek64(fd, 0, SEEK_SET); in sparse_file_import_auto()
|
D | output_file.cpp | 47 #define lseek64 lseek macro 121 ret = lseek64(outn->fd, cnt, SEEK_CUR); in file_skip()
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 98 ret = lseek64(fd, 1024, SEEK_SET); in read_sb() 278 ret = lseek64(fd, info.len, SEEK_SET); in read_ext() 282 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
|
/system/core/libutils/ |
D | FileMap_test.cpp | 45 ASSERT_EQ(offset, lseek64(tf.fd, offset, SEEK_SET)); in TEST()
|
/system/core/libdiskconfig/ |
D | write_lst.c | 73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) { in wlist_commit()
|
D | diskutils.c | 56 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { in write_raw_image()
|
/system/core/libutils/include/utils/ |
D | Compat.h | 36 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() function
|
/system/extras/tests/directiotest/ |
D | directiotest.c | 76 lseek64(fd, start, SEEK_SET); in do_read() 98 lseek64(fd, start, SEEK_SET); in do_write()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_ops.cpp | 198 off64_t total_size = lseek64(fd, 0, SEEK_END); in ReadFromPartition() 205 if (lseek64(fd, 0, SEEK_SET) == -1) { in ReadFromPartition()
|
D | avb_util.cpp | 324 off64_t saved_current = lseek64(fd, 0, SEEK_CUR); in GetTotalSize() 331 off64_t total_size = lseek64(fd, 0, SEEK_END); in GetTotalSize() 338 if (lseek64(fd, saved_current, SEEK_SET) == -1) { in GetTotalSize()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 126 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in stats_test() 156 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in perf_test()
|
/system/core/fastboot/device/ |
D | flashing.cpp | 103 return lseek64(fd, len, SEEK_CUR) >= 0 ? 0 : -errno; in WriteCallback() 117 lseek64(fd, 0, SEEK_SET); in FlashBlockDevice()
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 42 #define lseek64 lseek macro
|
/system/vold/ |
D | Checkpoint.cpp | 562 lseek64(device_fd, 0, SEEK_SET); in restoreSector() 580 lseek64(device_fd, le->source * kSectorSize, SEEK_SET); in restoreSector() 594 lseek64(device_fd, sector * kSectorSize, SEEK_SET); in relocatedRead() 602 lseek64(device_fd, (sector + relocation->second - relocation->first) * kSectorSize, in relocatedRead() 704 lseek64(device_fd, 0, SEEK_SET); in cp_restoreCheckpoint()
|
D | cryptfs.cpp | 489 if (lseek64(fd, 1024, SEEK_SET) < 0) { in get_fs_size() 613 if (lseek64(fd, starting_off, SEEK_SET) == -1) { in put_crypt_ftr_and_key() 684 if (lseek64(fd, pdata_offset, SEEK_SET) == -1) { in upgrade_crypt_ftr() 721 if (lseek64(fd, offset, SEEK_SET) == -1) { in upgrade_crypt_ftr() 758 if (lseek64(fd, starting_off, SEEK_SET) == -1) { in get_crypt_ftr_and_key() 892 if (lseek64(fd, crypt_ftr.persist_data_offset[i], SEEK_SET) < 0) { in load_persistent_data() 969 if (lseek64(fd, crypt_ftr.persist_data_offset[0], SEEK_SET) < 0) { in save_persistent_data() 992 if (lseek64(fd, write_offset, SEEK_SET) < 0) { in save_persistent_data() 998 if (lseek64(fd, erase_offset, SEEK_SET) < 0) { in save_persistent_data()
|
D | secdiscard.cpp | 175 if (lseek64(fd, start, SEEK_SET) != start) { in overwrite_with_zeros()
|
D | EncryptInplace.cpp | 504 if (lseek64(realfd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) { in cryptfs_enable_inplace_full() 509 if (lseek64(cryptofd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) { in cryptfs_enable_inplace_full()
|
/system/extras/libfec/test/ |
D | fec_unittest.cpp | 205 ASSERT_EQ(corrupt_offset, lseek64(verity_image.fd, corrupt_offset, 0)); in TEST_F() 260 ASSERT_EQ(corrupt_offset, lseek64(avb_image.fd, corrupt_offset, 0)); in TEST_F() 282 ASSERT_EQ(corrupt_offset, lseek64(avb_image.fd, corrupt_offset, 0)); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.cc | 67 return lseek64(fd_, offset, whence); in Seek()
|
/system/extras/verity/fec/ |
D | image.cpp | 221 if (lseek64(fd, -FEC_BLOCKSIZE, SEEK_END) < 0) { in image_ecc_load() 271 if (lseek64(fd, 0, SEEK_SET) < 0) { in image_ecc_load()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_test.cpp | 59 EXPECT_EQ(flags_offset, lseek64(fd, flags_offset, SEEK_SET)); in ModifyVBMetaHeaderFlags()
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 166 ret = lseek64(fd, start, SEEK_SET); in read_structure() 572 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET); in copy_used()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 394 off64_t offset = lseek64(file_fd, 0, SEEK_SET); in WriteZeroes() 421 if (lseek64(file_fd, 0, SEEK_SET) < 0) { in WriteZeroes()
|