Home
last modified time | relevance | path

Searched refs:decompressor_ (Results 1 – 6 of 6) sorted by relevance

/external/bsdiff/
Dbrotli_decompressor_unittest.cc27 decompressor_.reset(new BrotliDecompressor()); in SetUp()
28 EXPECT_NE(nullptr, decompressor_.get()); in SetUp()
31 std::unique_ptr<BrotliDecompressor> decompressor_; member in bsdiff::BrotliDecompressorTest
35 EXPECT_TRUE(decompressor_->SetInputData(kBrotliHello, sizeof(kBrotliHello))); in TEST_F()
37 EXPECT_TRUE(decompressor_->Read(output_data.data(), output_data.size())); in TEST_F()
44 EXPECT_TRUE(decompressor_->SetInputData(&data, 0)); in TEST_F()
47 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
54 decompressor_->SetInputData(kBrotliHello, sizeof(kBrotliHello) / 2)); in TEST_F()
56 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
61 EXPECT_TRUE(decompressor_->SetInputData(kBrotliHello, sizeof(kBrotliHello))); in TEST_F()
[all …]
Dbz2_decompressor_unittest.cc28 decompressor_.reset(new BZ2Decompressor()); in SetUp()
29 EXPECT_NE(nullptr, decompressor_.get()); in SetUp()
32 std::unique_ptr<BZ2Decompressor> decompressor_; member in bsdiff::BZ2DecompressorTest
37 EXPECT_TRUE(decompressor_->SetInputData(&data, 0)); in TEST_F()
40 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
46 EXPECT_TRUE(decompressor_->SetInputData(kBZ2Hello, sizeof(kBZ2Hello) / 2)); in TEST_F()
48 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
53 EXPECT_TRUE(decompressor_->SetInputData(kBZ2Hello, sizeof(kBZ2Hello))); in TEST_F()
55 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_tokenizer.cc36 decompressor_.Reset(); in Decompress()
37 decompressor_.SetInput(input.data(), input.length()); in Decompress()
41 auto res = decompressor_.Decompress(out, base::ArraySize(out)); in Decompress()
Dproto_trace_tokenizer.h188 GzipDecompressor decompressor_; variable
/external/perfetto/src/trace_processor/importers/gzip/
Dgzip_trace_parser.cc77 decompressor_.SetInput(start, len); in ParseUnowned()
86 decompressor_.Decompress(buffer_.get() + bytes_written_, in ParseUnowned()
Dgzip_trace_parser.h44 GzipDecompressor decompressor_; variable