/system/core/include/utils/ |
D | Compat.h | 26 typedef off_t off64_t; typedef 28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() 32 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64() 36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { in pwrite64()
|
D | FileMap.h | 67 off64_t offset, size_t length, bool readOnly); 89 off64_t getDataOffset(void) const { return mDataOffset; } in getDataOffset() 116 off64_t mDataOffset; // offset used when map was created
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.h | 79 virtual off64_t Seek(off64_t offset, int whence) = 0; 125 off64_t Seek(off64_t offset, int whence) override;
|
D | mtd_file_descriptor.h | 42 off64_t Seek(off64_t offset, int whence) override; 78 off64_t Seek(off64_t offset, int whence) override;
|
D | extent_writer.cc | 49 const off64_t offset = in Write() 53 static_cast<off64_t>(-1)); in Write()
|
D | mtd_file_descriptor.cc | 154 off64_t MtdFileDescriptor::Seek(off64_t offset, int whence) { in Seek() 231 off64_t UbiFileDescriptor::Seek(off64_t offset, int whence) { in Seek()
|
D | file_descriptor.cc | 65 off64_t EintrSafeFileDescriptor::Seek(off64_t offset, int whence) { in Seek()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 218 ZipArchive* archive, off64_t file_length, in MapCentralDirectory0() 219 off64_t read_amount, uint8_t* scan_buffer) { in MapCentralDirectory0() 220 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0() 254 const off64_t eocd_offset = search_start + i; in MapCentralDirectory0() 260 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) in MapCentralDirectory0() 272 if (static_cast<off64_t>(eocd->cd_start_offset) + eocd->cd_size > eocd_offset) { in MapCentralDirectory0() 295 static_cast<off64_t>(eocd->cd_start_offset), in MapCentralDirectory0() 320 off64_t file_length = lseek64(fd, 0, SEEK_END); in MapCentralDirectory() 326 if (file_length > static_cast<off64_t>(0xffffffff)) { in MapCentralDirectory() 331 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory() [all …]
|
D | zip_archive_private.h | 33 off64_t directory_offset;
|
/system/vold/ |
D | cryptfs.c | 502 off64_t len; in get_fs_size() 527 len = ( ((off64_t)sb.s_blocks_count_hi << 32) + sb.s_blocks_count_lo) * block_size; in get_fs_size() 533 static int get_crypt_ftr_info(char **metadata_fname, off64_t *off) in get_crypt_ftr_info() 536 static off64_t cached_off = 0; in get_crypt_ftr_info() 560 cached_off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET; in get_crypt_ftr_info() 606 off64_t starting_off; in put_crypt_ftr_and_key() 685 static void upgrade_crypt_ftr(int fd, struct crypt_mnt_ftr *crypt_ftr, off64_t offset) in upgrade_crypt_ftr() 692 off64_t pdata_offset = offset + CRYPT_FOOTER_TO_PERSIST_OFFSET; in upgrade_crypt_ftr() 754 off64_t starting_off; in get_crypt_ftr_and_key() 942 off64_t write_offset; in save_persistent_data() [all …]
|
D | secdiscard.cpp | 51 bool overwrite_with_zeros(int fd, off64_t start, off64_t length); 213 bool overwrite_with_zeros(int fd, off64_t start, off64_t length) { in overwrite_with_zeros() 221 size_t wlen = static_cast<size_t>(std::min(static_cast<off64_t>(sizeof(buf)), length)); in overwrite_with_zeros()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 41 off64_t offset; 110 static void stats_test(int fd, int write_mode, off64_t max_blocks, int stats_count, in stats_test() 146 static void perf_test(int fd, int write_mode, off64_t max_blocks) in perf_test() 191 off64_t max_blocks; in main()
|
/system/core/libsparse/ |
D | img2simg.c | 38 #define off64_t off_t macro 53 off64_t len; in main()
|
D | append2simg.c | 41 #define off64_t off_t macro 58 off64_t input_len; in main()
|
D | output_file.c | 48 #define off64_t off_t macro 128 off64_t ret; in file_skip() 200 off64_t ret; in gz_file_skip() 213 off64_t ret; in gz_file_pad() 716 off64_t pos; in write_fd_chunk()
|
D | sparse_read.c | 41 #define off64_t off_t macro 223 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk() 284 off64_t offset; in sparse_file_read_sparse()
|
/system/extras/ext4_utils/ |
D | ext4fixup.c | 36 #define off64_t off_t macro 169 off64_t inode_offset; in read_inode() 192 off64_t off; in read_block() 211 off64_t off; in write_block() 266 off64_t ret; in update_superblocks_and_bg_desc() 416 off64_t fs_block_num; in get_extent_ents() 428 fs_block_num = ((off64_t)extent->ee_start_hi << 32) | extent->ee_start_lo; in get_extent_ents() 443 off64_t fs_block_num; in get_extent_idx() 457 fs_block_num = ((off64_t)extent_idx->ei_leaf_hi << 32) | extent_idx->ei_leaf_lo; in get_extent_idx()
|
D | ext2simg.c | 35 #define off64_t off_t macro 62 off64_t ret; in build_sparse_ext()
|
/system/core/libutils/ |
D | FileMap.cpp | 121 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, in create() 126 off64_t adjOffset; in create() 164 off64_t adjOffset; in create()
|
/system/extras/libpagemap/ |
D | pm_kernel.c | 117 off64_t off; in pm_kernel_count() 133 off64_t off; in pm_kernel_flags()
|
/system/extras/verity/ |
D | verify_boot_signature.c | 92 static int get_signature_offset(int fd, off64_t *offset) in get_signature_offset() 130 static int read_signature(int fd, off64_t offset, BootSignature **bs) in read_signature() 367 off64_t offset = 0; in verify()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 449 unsigned int length, off64_t *offset) in metadata_add() 467 unsigned int slength, off64_t *offset) in metadata_find() 553 static int write_verity_state(const char *fname, off64_t offset, int32_t mode) in write_verity_state() 582 static int read_verity_state(const char *fname, off64_t offset, int *mode) in read_verity_state() 659 off64_t offset = 0; in compare_last_signature() 727 static int get_verity_state_offset(struct fstab_rec *fstab, off64_t *offset) in get_verity_state_offset() 745 off64_t offset = 0; in load_verity_state()
|
D | fs_mgr_format.c | 52 info.len = ((off64_t)nr_sec * 512); in format_ext4()
|
/system/extras/tests/directiotest/ |
D | directiotest.c | 71 static ssize_t do_read(int fd, void *buf, off64_t start, size_t count) in do_read() 93 static ssize_t do_write(int fd, const void *buf, off64_t start, size_t count) in do_write()
|
/system/core/include/ziparchive/ |
D | zip_writer.h | 158 off64_t current_offset_;
|