Home
last modified time | relevance | path

Searched defs:size (Results 1 – 14 of 14) sorted by relevance

/bootable/recovery/applypatch/
Dimgdiff_test.sh60 size() { function
Dapplypatch.cpp104 size_t size; in LoadPartitionContents() local
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp70 static bool read_misc_partition(void* p, size_t size, const std::string& misc_blk_device, in read_misc_partition()
94 static bool write_misc_partition(const void* p, size_t size, const std::string& misc_blk_device, in write_misc_partition()
200 bool read_wipe_package(std::string* package_data, size_t size, std::string* err) { in read_wipe_package()
/bootable/recovery/updater/
Dblockimg.cpp69 size_t size; member
161 static int read_all(int fd, uint8_t* data, size_t size) { in read_all()
179 static int read_all(int fd, std::vector<uint8_t>& buffer, size_t size) { in read_all()
183 static int write_all(int fd, const uint8_t* data, size_t size) { in write_all()
198 static int write_all(int fd, const std::vector<uint8_t>& buffer, size_t size) { in write_all()
202 static bool discard_blocks(int fd, off64_t offset, uint64_t size) { in discard_blocks()
227 static void allocate(size_t size, std::vector<uint8_t>& buffer) { in allocate()
243 static ssize_t RangeSinkWrite(const uint8_t* data, ssize_t size, void* token) { in RangeSinkWrite()
327 static bool receive_new_data(const uint8_t* data, size_t size, void* cookie) { in receive_new_data()
373 size_t size = (src.pos[i * 2 + 1] - src.pos[i * 2]) * BLOCKSIZE; in ReadBlocks() local
[all …]
Dinstall.cpp299 int64_t size; in FormatFn() local
/bootable/recovery/otafault/
Dota_io.cpp100 size_t ota_fread(void* ptr, size_t size, size_t nitems, FILE* stream) { in ota_fread()
139 size_t ota_fwrite(const void* ptr, size_t size, size_t count, FILE* stream) { in ota_fwrite()
/bootable/recovery/otautil/
DSysUtil.cpp83 size_t size; in sysMapBlockFile() local
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp151 size_t size = (range_end - range_start) * BLOCKSIZE; in read_blocks() local
/bootable/recovery/
Dfuse_sideload.cpp161 uint64_t nodeid, uint64_t size, uint32_t mode) { in fill_attr()
302 uint32_t size = req->size; in handle_read() local
Dverifier.cpp220 size_t size = std::min(signed_len - so_far, 16 * MiB); in verify_file() local
/bootable/recovery/tests/component/
Dapplypatch_test.cpp298 size_t size; in TEST() local
375 size_t size; in TEST() local
Dimgdiff_test.cpp39 const size_t size = patch.size(); in verify_patch_header() local
/bootable/recovery/minui/
Dresources.cpp40 size_t size = sizeof(GRSurface) + data_size + SURFACE_DATA_ALIGNMENT; in malloc_surface() local
/bootable/recovery/uncrypt/
Duncrypt.cpp141 static int write_at_offset(unsigned char* buffer, size_t size, int wfd, off64_t offset) { in write_at_offset()