Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dfuse_adb_provider.cpp26 bool FuseAdbDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData()
Dminadbd_services.cpp82 char buffer[kMinadbdMessageSize]; in WaitForCommandStatus() local
/bootable/recovery/fuse_sideload/
Dfuse_provider.cpp49 bool FuseFileDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData()
/bootable/recovery/install/
Dpackage.cpp160 bool MemoryPackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset()
211 bool FilePackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset()
237 std::vector<uint8_t> buffer(read_size); in UpdateHashAtOffset() local
Dadb_install.cpp154 char buffer[kMinadbdMessageSize]; in HandleMessageFromMinadbd() local
Dinstall.cpp425 char buffer[1024]; in try_update_binary() local
/bootable/recovery/tests/unit/
Dpackage_test.cpp66 std::vector<uint8_t> buffer(file_content_.size()); in TEST_F() local
77 std::vector<uint8_t> buffer(file_content_.size()); in TEST_F() local
Dcommands_test.cpp447 std::vector<uint8_t> buffer(source.blocks() * kBlockSize); in TEST() local
469 std::vector<uint8_t> buffer(source.blocks() * kBlockSize); in TEST() local
483 std::vector<uint8_t> buffer(source.blocks() * kBlockSize - 1); in TEST() local
491 std::vector<uint8_t> buffer(source.blocks() * kBlockSize); in TEST() local
Dscreen_ui_test.cpp321 void TestableScreenRecoveryUI::SetKeyBuffer(const std::vector<KeyCode>& buffer) { in SetKeyBuffer()
/bootable/recovery/updater/
Dblockimg.cpp218 static void allocate(size_t size, std::vector<uint8_t>* buffer) { in allocate()
421 uint8_t buffer[buffer_size]; in receive_brotli_new_data() local
477 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks()
497 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks()
540 std::vector<uint8_t> buffer; member
548 const std::vector<uint8_t>& buffer) { in PrintHashForCorruptedSourceBlocks()
615 const std::vector<uint8_t>& buffer, in PrintHashForCorruptedStashedBlocks()
640 std::vector<uint8_t> buffer(src.blocks() * BLOCKSIZE); in PrintHashForMissingStashedBlocks() local
648 static int VerifyBlocks(const std::string& expected, const std::vector<uint8_t>& buffer, in VerifyBlocks()
731 std::vector<uint8_t>* buffer, bool printnoent) { in LoadStash()
[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
184 std::string buffer; in PackageExtractFileFn() local
596 std::string buffer; in FileGetPropFn() local
Dcommands.cpp332 std::vector<uint8_t>* buffer, size_t block_size, in ReadAll()
360 void SourceInfo::DumpBuffer(const std::vector<uint8_t>& buffer, size_t block_size) const { in DumpBuffer() argument
/bootable/recovery/install/include/private/
Dasn1_decoder.h25 asn1_context(const uint8_t* buffer, size_t length) : p_(buffer), length_(length), app_type_(0) {} in asn1_context()
/bootable/recovery/applypatch/
Dapplypatch.cpp82 std::vector<unsigned char> buffer(partition.size); in ReadPartitionToBuffer() local
189 unsigned char buffer[4096]; in WriteBufferToPartition() local
Dimgpatch.cpp87 std::vector<uint8_t> buffer(buffer_size); in ApplyBSDiffPatchAndStreamOutput() local
Dimgdiff.cpp416 std::vector<uint8_t> buffer(BUFFER_SIZE); in TryReconstruction() local
/bootable/recovery/
Drecovery-persist.cpp94 std::string buffer(buf, len); in logsave() 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/otautil/
Drangeset.cpp124 RangeSet buffer; in Split() local
Dlogging.cpp250 std::string buffer(klog_buf_len, 0); in save_kernel_log() local
/bootable/recovery/uncrypt/
Duncrypt.cpp145 static int write_at_offset(unsigned char* buffer, size_t size, int wfd, off64_t offset) { in write_at_offset()
/bootable/recovery/tests/component/
Dupdater_test.cpp272 std::string buffer(65540, '\0'); in TEST_F() local