Home | History | Annotate | Download | only in src

Lines Matching refs:puffs

33                         const std::vector<ByteExtent>& puffs) {
34 TEST_AND_RETURN_FALSE(puffs.size() == deflates.size());
36 // puff in |puffs|.
37 if (!puffs.empty()) {
39 puffs.back().offset + puffs.back().length);
42 // Check to make sure |puffs| and |deflates| are sorted and non-overlapping.
49 TEST_AND_RETURN_FALSE(puffs.end() == std::adjacent_find(puffs.begin(),
50 puffs.end(),
62 const std::vector<ByteExtent>& puffs,
64 TEST_AND_RETURN_VALUE(CheckArgsIntegrity(puff_size, deflates, puffs),
70 puffs, max_cache_size));
80 const std::vector<ByteExtent>& puffs) {
81 TEST_AND_RETURN_VALUE(CheckArgsIntegrity(puff_size, deflates, puffs),
86 std::move(stream), nullptr, huffer, puff_size, deflates, puffs, 0));
96 const vector<ByteExtent>& puffs,
103 puffs_(puffs),
114 upper_bounds_.reserve(puffs.size());
115 for (const auto& puff : puffs) {
124 if (!puffs.empty()) {
127 puff_stream_size_ - (puffs.back().offset + puffs.back().length);
135 for (const auto& puff : puffs) {
140 max_cache_size_ = 0; // It means we are not caching puffs.
179 // between two puffs.
337 // Between two puffs or before the first puff. We know that we are