Home
last modified time | relevance | path

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

12

/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs279 buffer: B, field
657 buffer: B, field
1211 buffer: &'a mut [u8], field
1315 let mut buffer = ZbiAligned::default(); in zbi_test_item_new() localVariable
1343 let mut buffer = ZbiAligned::default(); in zbi_test_item_new_too_small() localVariable
1359 let mut buffer = ZbiAligned::default(); in zbi_test_item_new_not_aligned() localVariable
1376 let mut buffer = ZbiAligned::default(); in zbi_test_item_parse() localVariable
1377 let buffer = TestZbiBuilder::new(&mut buffer.0[..]).container_hdr(0).build(); in zbi_test_item_parse() localVariable
1388 let mut buffer = ZbiAligned::default(); in zbi_test_item_edit() localVariable
1403 let mut buffer = ZbiAligned::default(); in zbi_test_container_new() localVariable
[all …]
/bootable/libbootloader/gbl/libbootconfig/src/
Dlib.rs36 buffer: &'a mut [u8], field
213 let mut buffer = [0u8; TEST_CONFIG.len() + TEST_CONFIG_TRAILER.len()]; in test_add() localVariable
224 let mut buffer = [0u8; TEST_CONFIG.len() + TEST_CONFIG_TRAILER.len()]; in test_add_incremental() localVariable
238 let mut buffer = [0u8; TEST_CONFIG.len() + TEST_CONFIG_TRAILER.len()]; in test_add_incremental_via_fmt_write() localVariable
251 let mut buffer = [0u8; BOOTCONFIG_TRAILER_SIZE - 1]; in test_new_buffer_too_small() localVariable
257 let mut buffer = [0u8; BOOTCONFIG_TRAILER_SIZE + 1]; in test_add_buffer_too_small() localVariable
264 let mut buffer = [0u8; BOOTCONFIG_TRAILER_SIZE + 1]; in test_add_empty_string() localVariable
271 let mut buffer = [0u8; BOOTCONFIG_TRAILER_SIZE + 1]; in test_add_with_error() localVariable
/bootable/recovery/minadbd/
Dfuse_adb_provider.cpp26 bool FuseAdbDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData()
Dminadbd_services.cpp83 char buffer[kMinadbdMessageSize]; in WaitForCommandStatus() local
/bootable/recovery/fuse_sideload/
Dfuse_provider.cpp57 bool FuseFileDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData()
93 bool FuseBlockDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData()
/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
/bootable/recovery/otautil/
Dpackage.cpp176 bool MemoryPackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset()
227 bool FilePackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset()
253 std::vector<uint8_t> buffer(read_size); in UpdateHashAtOffset() local
Drangeset.cpp124 RangeSet buffer; in Split() local
/bootable/deprecated-ota/updater/
Dblockimg.cpp223 static void allocate(size_t size, std::vector<uint8_t>* buffer) { in allocate()
426 uint8_t buffer[buffer_size]; in receive_brotli_new_data() local
482 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks()
502 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks()
545 std::vector<uint8_t> buffer; member
553 const std::vector<uint8_t>& buffer) { in PrintHashForCorruptedSourceBlocks()
620 const std::vector<uint8_t>& buffer, in PrintHashForCorruptedStashedBlocks()
645 std::vector<uint8_t> buffer(src.blocks() * BLOCKSIZE); in PrintHashForMissingStashedBlocks() local
653 static int VerifyBlocks(const std::string& expected, const std::vector<uint8_t>& buffer, in VerifyBlocks()
736 std::vector<uint8_t>* buffer, bool printnoent) { in LoadStash()
[all …]
Dcommands.cpp331 std::vector<uint8_t>* buffer, size_t block_size, in ReadAll()
359 void SourceInfo::DumpBuffer(const std::vector<uint8_t>& buffer, size_t block_size) const { in DumpBuffer() argument
Dinstall.cpp91 std::string buffer = android::base::Join(args, ""); in UIPrintFn() local
175 std::string buffer; in PackageExtractFileFn() local
570 std::string buffer; in FileGetPropFn() local
/bootable/recovery/otautil/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/libbootloader/gbl/libefi/src/protocol/
Dsimple_text_output.rs54 let mut buffer = [0u16; 3]; in write_str() localVariable
/bootable/libbootloader/libxbc/
Dlibxbc.c33 static uint32_t checksum(const unsigned char* const buffer, uint32_t size) { in checksum()
/bootable/deprecated-ota/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
/bootable/deprecated-ota/tests/unit/
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
/bootable/recovery/
Drecovery-persist.cpp98 std::string buffer(buf, len); in logsave() local
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dsparse.rs182 let buffer = fill_buffer.get(v, sz)?; in write_sparse_image() localVariable
206 buffer: &'a mut [u8], field
/bootable/recovery/install/
Dadb_install.cpp159 char buffer[kMinadbdMessageSize]; in HandleMessageFromMinadbd() local
/bootable/recovery/recovery_utils/
Dlogging.cpp249 std::string buffer(klog_buf_len, 0); in save_kernel_log() local
/bootable/libbootloader/gbl/libefi/src/
Dlib.rs601 buffer: &'a mut [u8], field
638 pub fn buffer(&self) -> &[u8] { in buffer() method
1240 let buffer = unsafe { in test_exit_boot_services() localVariable
1305 let mut buffer = [0u8; 256]; in test_exit_boot_services_unaligned_buffer() localVariable
/bootable/libbootloader/gbl/libstorage/src/
Dtestlib.rs143 let buffer = unsafe { &mut *buffer }; in write_blocks() localVariable
163 let buffer = unsafe { &mut *buffer }; in read_blocks() localVariable
Dgpt.rs180 let buffer = aligned_subslice(buffer, GPT_ENTRY_ALIGNMENT)?; in new_from_buffer() localVariable
192 let buffer = aligned_subslice(buffer, GPT_ENTRY_ALIGNMENT)?; in from_existing() localVariable
/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()

12