/system/core/include/utils/ |
D | Compat.h | 28 typedef off_t off64_t; typedef 30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64()
|
D | FileMap.h | 60 off64_t offset, size_t length, bool readOnly); 80 off64_t getDataOffset(void) const { return mDataOffset; } in getDataOffset() 123 off64_t mDataOffset; // offset used when map was created
|
/system/core/libziparchive/ |
D | zip_archive.cc | 293 off64_t directory_offset; 329 static android::FileMap* MapFileSegment(const int fd, const off64_t start, in MapFileSegment() 450 ZipArchive* archive, off64_t file_length, in MapCentralDirectory0() 451 off64_t read_amount, uint8_t* scan_buffer) { in MapCentralDirectory0() 452 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0() 486 const off64_t eocd_offset = search_start + i; in MapCentralDirectory0() 492 const off64_t calculated_length = eocd_offset + sizeof(EocdRecord) in MapCentralDirectory0() 522 static_cast<off64_t>(eocd->cd_start_offset), in MapCentralDirectory0() 551 off64_t file_length = lseek64(fd, 0, SEEK_END); in MapCentralDirectory() 557 if (file_length > (off64_t) 0xffffffff) { in MapCentralDirectory() [all …]
|
/system/vold/ |
D | cryptfs.c | 387 off64_t len; in get_fs_size() 412 len = ( ((off64_t)sb.s_blocks_count_hi << 32) + sb.s_blocks_count_lo) * block_size; in get_fs_size() 418 static int get_crypt_ftr_info(char **metadata_fname, off64_t *off) in get_crypt_ftr_info() 421 static off64_t cached_off = 0; in get_crypt_ftr_info() 444 cached_off = ((off64_t)nr_sec * 512) - CRYPT_FOOTER_OFFSET; in get_crypt_ftr_info() 480 off64_t starting_off; in put_crypt_ftr_and_key() 549 static void upgrade_crypt_ftr(int fd, struct crypt_mnt_ftr *crypt_ftr, off64_t offset) in upgrade_crypt_ftr() 556 off64_t pdata_offset = offset + CRYPT_FOOTER_TO_PERSIST_OFFSET; in upgrade_crypt_ftr() 616 off64_t starting_off; in get_crypt_ftr_and_key() 806 off64_t write_offset; in save_persistent_data() [all …]
|
/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 | 40 #define off64_t off_t macro 222 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk() 283 off64_t offset; in sparse_file_read_sparse()
|
/system/core/libutils/ |
D | FileMap.cpp | 90 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, in create() 95 off64_t adjOffset; in create() 134 off64_t adjOffset; in create()
|
/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()
|
D | ext4_utils.c | 101 off64_t ret; in read_sb() 117 off64_t ret; in write_sb() 503 off64_t ret; in read_ext()
|
D | ext4_utils.h | 45 #define off64_t off_t macro
|
D | extent.c | 58 off64_t offset = 0; in extent_create_backing_file()
|
/system/extras/libpagemap/ |
D | pm_kernel.c | 117 off64_t off; in pm_kernel_count() 133 off64_t off; in pm_kernel_flags()
|
D | pm_process.c | 109 off64_t off; in pm_process_pagemap_range()
|
/system/core/include/ziparchive/ |
D | zip_archive.h | 73 off64_t offset;
|
/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/toolbox/ |
D | r.c | 65 off64_t mmap_start = addr & ~(PAGE_SIZE - 1); in r_main()
|
/system/extras/f2fs_utils/ |
D | f2fs_ioutils.c | 100 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_fd()
|
D | f2fs_sparseblock.c | 158 off64_t ret; in read_structure() 321 off64_t address = info->sit_blkaddr + sit_block; in gather_sit_info() 561 off64_t ret; in copy_used()
|