Lines Matching refs:uint8_t
223 static void allocate(size_t size, std::vector<uint8_t>* buffer) { in allocate()
253 size_t Write(const uint8_t* data, size_t size) { in Write()
362 static bool receive_new_data(const uint8_t* data, size_t size, void* cookie) { in receive_new_data()
402 static bool receive_brotli_new_data(const uint8_t* data, size_t size, void* cookie) { in receive_brotli_new_data()
426 uint8_t buffer[buffer_size]; in receive_brotli_new_data()
429 uint8_t* next_out = buffer; in receive_brotli_new_data()
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;
546 uint8_t* patch_start;
553 const std::vector<uint8_t>& buffer) { in PrintHashForCorruptedSourceBlocks()
610 uint8_t digest[SHA_DIGEST_LENGTH]; in PrintHashForCorruptedSourceBlocks()
620 const std::vector<uint8_t>& buffer, in PrintHashForCorruptedStashedBlocks()
628 uint8_t digest[SHA_DIGEST_LENGTH]; in PrintHashForCorruptedStashedBlocks()
645 std::vector<uint8_t> buffer(src.blocks() * BLOCKSIZE); in PrintHashForMissingStashedBlocks()
653 static int VerifyBlocks(const std::string& expected, const std::vector<uint8_t>& buffer, in VerifyBlocks()
655 uint8_t digest[SHA_DIGEST_LENGTH]; in VerifyBlocks()
656 const uint8_t* data = buffer.data(); in VerifyBlocks()
736 std::vector<uint8_t>* buffer, bool printnoent) { in LoadStash()
810 const std::vector<uint8_t>& buffer, bool checkspace, bool* exists) { in WriteStash()
963 static void MoveRange(std::vector<uint8_t>& dest, const RangeSet& locs, in MoveRange()
964 const std::vector<uint8_t>& source) { in MoveRange()
965 const uint8_t* from = source.data(); in MoveRange()
966 uint8_t* to = dest.data(); in MoveRange()
1040 std::vector<uint8_t> stash; in LoadSourceBlocks()
1115 std::vector<uint8_t> tgtbuffer(tgt->blocks() * BLOCKSIZE); in LoadSrcTgtVersion3()
1542 uint8_t buffer[BLOCKSIZE]; in PerformCommandComputeHashTree()
1589 static bool Sha1DevicePath(const std::string& path, uint8_t digest[SHA_DIGEST_LENGTH]) { in Sha1DevicePath()
1603 SHA1(reinterpret_cast<const uint8_t*>(dm_target_name.data()), dm_target_name.size(), digest); in Sha1DevicePath()
1622 SHA1(reinterpret_cast<const uint8_t*>(path.data()), path.size(), digest); in Sha1DevicePath()
1711 uint8_t digest[SHA_DIGEST_LENGTH]; in PerformBlockImageUpdate()
2112 std::vector<uint8_t> buffer(BLOCKSIZE); in RangeSha1Fn()
2131 uint8_t digest[SHA_DIGEST_LENGTH]; in RangeSha1Fn()
2178 std::vector<uint8_t> block0_buffer(BLOCKSIZE); in CheckFirstBlockFn()
2267 uint8_t buffer[BLOCKSIZE]; in BlockImageRecoverFn()