Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 16 of 16) sorted by relevance

/bootable/recovery/minadbd/
Dfuse_adb_provider.cpp30 int read_block_adb(const adb_data& ad, uint32_t block, uint8_t* buffer, uint32_t fetch_size) { in read_block_adb()
/bootable/recovery/updater/
Dblockimg.cpp181 static int read_all(int fd, std::vector<uint8_t>& buffer, size_t size) { in read_all()
200 static int write_all(int fd, const std::vector<uint8_t>& buffer, size_t size) { in write_all()
228 static void allocate(size_t size, std::vector<uint8_t>& buffer) { in allocate()
430 uint8_t buffer[buffer_size]; in receive_brotli_new_data() local
486 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>& buffer, int fd) { in ReadBlocks()
504 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks()
546 std::vector<uint8_t> buffer; member
554 const std::vector<uint8_t>& buffer) { in PrintHashForCorruptedSourceBlocks()
621 const std::vector<uint8_t>& buffer, in PrintHashForCorruptedStashedBlocks()
646 std::vector<uint8_t> buffer(src.blocks() * BLOCKSIZE); in PrintHashForMissingStashedBlocks() local
[all …]
Dinstall.cpp68 static void uiPrint(State* state, const std::string& buffer) { in uiPrint()
105 std::string buffer = android::base::Join(args, ""); in UIPrintFn() local
183 std::string buffer; in PackageExtractFileFn() local
676 std::string buffer(st.st_size, '\0'); in FileGetPropFn() local
/bootable/recovery/
Dasn1_decoder.h24 asn1_context(const uint8_t* buffer, size_t length) : p_(buffer), length_(length), app_type_(0) {} in asn1_context()
Dfuse_sdcard_provider.cpp41 static int read_block_file(const file_data& fd, uint32_t block, uint8_t* buffer, in read_block_file()
Drecovery-persist.cpp91 std::string buffer(buf, len); in logsave() local
Drecovery.cpp401 std::string buffer(klog_buf_len, 0); in save_kernel_log() local
1246 std::string buffer; in ui_print() local
Dinstall.cpp422 char buffer[1024]; in try_update_binary() local
/bootable/recovery/tests/component/
Dsideload_test.cpp56 vtab.read_block = [&blocks](uint32_t block, uint8_t* buffer, uint32_t fetch_size) { in TEST()
Dupdater_test.cpp221 std::string buffer(65540, '\0'); in TEST_F() local
/bootable/recovery/boot_control/
Dboot_control.cpp94 bool LoadBootloaderControl(const char* misc_device, bootloader_control* buffer) { in LoadBootloaderControl()
111 bool UpdateAndSaveBootloaderControl(const char* misc_device, bootloader_control* buffer) { in UpdateAndSaveBootloaderControl()
/bootable/recovery/applypatch/
Dapplypatch.cpp129 std::vector<unsigned char> buffer(pairs[pair_count - 1].first); in LoadPartitionContents() local
283 unsigned char buffer[4096]; in WriteToPartition() local
Dimgpatch.cpp85 std::vector<uint8_t> buffer(buffer_size); in ApplyBSDiffPatchAndStreamOutput() local
Dimgdiff.cpp416 std::vector<uint8_t> buffer(BUFFER_SIZE); in TryReconstruction() local
/bootable/recovery/otautil/
Drangeset.cpp124 RangeSet buffer; in Split() 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()