Searched refs:kBufSize (Results 1 – 8 of 8) sorted by relevance
38 static constexpr size_t kBufSize = 65535; variable73 data_.resize(kBufSize); in Init()174 out_.resize(kBufSize); in Init()175 in_.resize(kBufSize); in Init()
256 constexpr size_t kBufSize = 10000000; in TEST_F() local257 std::vector<uint8_t> buffer(kBufSize); in TEST_F()259 for (size_t i = 0; i < kBufSize; i++) { in TEST_F()278 EXPECT_EQ(kBufSize, data.uncompressed_length); in TEST_F()280 std::vector<uint8_t> decompress(kBufSize); in TEST_F()281 memset(decompress.data(), 0, kBufSize); in TEST_F()283 EXPECT_EQ(0, memcmp(decompress.data(), buffer.data(), kBufSize)) in TEST_F()
960 const size_t kBufSize = 32768; in Inflate() local961 std::vector<uint8_t> read_buf(kBufSize); in Inflate()962 std::vector<uint8_t> write_buf(kBufSize); in Inflate()976 zstream.avail_out = kBufSize; in Inflate()1006 const size_t read_size = (remaining_bytes > kBufSize) ? kBufSize : remaining_bytes; in Inflate()1029 if (zstream.avail_out == 0 || (zerr == Z_STREAM_END && zstream.avail_out != kBufSize)) { in Inflate()1038 zstream.avail_out = kBufSize; in Inflate()1074 static const uint32_t kBufSize = 32768; in CopyEntryToWriter() local1075 std::vector<uint8_t> buf(kBufSize); in CopyEntryToWriter()1085 const size_t block_size = (remaining > kBufSize) ? kBufSize : remaining; in CopyEntryToWriter()
48 static const size_t kBufSize = 32768u; variable93 buffer_(kBufSize) { in ZipWriter()
298 const int kBufSize = 10000; in TEST_F() local299 UniquePtr<uint8_t[]> buf(new uint8_t[kBufSize]); in TEST_F()300 for (size_t i = 0; i < kBufSize; ++i) in TEST_F()305 for (size_t i = 0; i < kBufSize; ++i) { in TEST_F()306 keymaster_key_blob_t blob = {buf.get() + i, kBufSize - i}; in TEST_F()
677 const int kBufSize = 10000; in parse_garbage() local678 UniquePtr<uint8_t[]> buf(new uint8_t[kBufSize]); in parse_garbage()679 for (size_t i = 0; i < kBufSize; ++i) in parse_garbage()684 const uint8_t* end = buf.get() + kBufSize; in parse_garbage()685 for (size_t i = 0; i < kBufSize; ++i) { in parse_garbage()
44 static constexpr const int kBufSize = 1024; variable60 char buf[kBufSize]; in CalculateSha512()62 apex.read(buf, kBufSize); in CalculateSha512()
363 static constexpr size_t kBufSize = 1024 * kBlockSize; in readVerityDevice() local364 std::vector<uint8_t> buffer(kBufSize); in readVerityDevice()373 size_t to_read = std::min(bytes_left, kBufSize); in readVerityDevice()