/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/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/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 | 326 off64_t saved_current = lseek64(fd, 0, SEEK_CUR); in GetTotalSize() 333 off64_t total_size = lseek64(fd, 0, SEEK_END); in GetTotalSize() 340 if (lseek64(fd, saved_current, SEEK_SET) == -1) { in GetTotalSize()
|
/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/extras/ext4_utils/ |
D | ext4_utils.cpp | 88 ret = lseek64(fd, 1024, SEEK_SET); in read_sb() 286 ret = lseek64(fd, info.len, SEEK_SET); in read_ext() 289 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
|
/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 | 104 return lseek64(fd, len, SEEK_CUR) >= 0 ? 0 : -errno; in WriteCallback() 118 lseek64(fd, 0, SEEK_SET); in FlashBlockDevice()
|
/system/core/fs_mgr/tools/ |
D | dmuserd.cpp | 221 if (lseek64(backing_fd, msg.sector * SECTOR_SIZE, SEEK_SET) < 0) { in simple_daemon() 261 if (lseek64(backing_fd, msg.sector * SECTOR_SIZE, SEEK_SET) < 0) { in simple_daemon()
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 42 #define lseek64 lseek macro
|
/system/vold/ |
D | Checkpoint.cpp | 561 lseek64(device_fd, 0, SEEK_SET); in restoreSector() 579 lseek64(device_fd, le->source * kSectorSize, SEEK_SET); in restoreSector() 593 lseek64(device_fd, sector * kSectorSize, SEEK_SET); in relocatedRead() 601 lseek64(device_fd, (sector + relocation->second - relocation->first) * kSectorSize, in relocatedRead() 703 lseek64(device_fd, 0, SEEK_SET); in cp_restoreCheckpoint()
|
D | cryptfs.cpp | 572 if (lseek64(fd, 1024, SEEK_SET) < 0) { in get_fs_size() 696 if (lseek64(fd, starting_off, SEEK_SET) == -1) { in put_crypt_ftr_and_key() 767 if (lseek64(fd, pdata_offset, SEEK_SET) == -1) { in upgrade_crypt_ftr() 804 if (lseek64(fd, offset, SEEK_SET) == -1) { in upgrade_crypt_ftr() 841 if (lseek64(fd, starting_off, SEEK_SET) == -1) { in get_crypt_ftr_and_key() 975 if (lseek64(fd, crypt_ftr.persist_data_offset[i], SEEK_SET) < 0) { in load_persistent_data() 1052 if (lseek64(fd, crypt_ftr.persist_data_offset[0], SEEK_SET) < 0) { in save_persistent_data() 1075 if (lseek64(fd, write_offset, SEEK_SET) < 0) { in save_persistent_data() 1081 if (lseek64(fd, erase_offset, SEEK_SET) < 0) { in save_persistent_data()
|
D | secdiscard.cpp | 216 if (lseek64(fd, start, SEEK_SET) != start) { in overwrite_with_zeros()
|
/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 | 74 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 | 162 ret = lseek64(fd, start, SEEK_SET); in read_structure() 552 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()
|