Home
last modified time | relevance | path

Searched refs:stream_data_len_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/filter/
Dgzip_filter.cc153 if (!next_stream_data_ || stream_data_len_ <= 0) in CheckGZipHeader()
158 header_status = gzip_header_->ReadMore(next_stream_data_, stream_data_len_, in CheckGZipHeader()
165 stream_data_len_ = 0; in CheckGZipHeader()
170 int num_chars_left = static_cast<int>(stream_data_len_ - in CheckGZipHeader()
176 stream_data_len_ = num_chars_left; in CheckGZipHeader()
180 stream_data_len_ = 0; in CheckGZipHeader()
201 if (!next_stream_data_ || stream_data_len_ <= 0) { // input in DoInflate()
208 zlib_stream_.get()->avail_in = stream_data_len_; in DoInflate()
221 stream_data_len_ = zlib_stream_.get()->avail_in; in DoInflate()
244 stream_data_len_ = zlib_stream_.get()->avail_in; in DoInflate()
[all …]
Dsdch_filter.cc332 stream_data_len_ = 0; in ReadFilteredData()
347 if (!next_stream_data_ || stream_data_len_ <= 0) in ReadFilteredData()
351 next_stream_data_, stream_data_len_, &dest_buffer_excess_); in ReadFilteredData()
354 source_bytes_ += stream_data_len_; in ReadFilteredData()
355 stream_data_len_ = 0; in ReadFilteredData()
379 if (static_cast<size_t>(stream_data_len_) < bytes_needed) { in InitializeDictionary()
380 dictionary_hash_.append(next_stream_data_, stream_data_len_); in InitializeDictionary()
382 stream_data_len_ = 0; in InitializeDictionary()
387 stream_data_len_ -= bytes_needed; in InitializeDictionary()
388 DCHECK_LE(0, stream_data_len_); in InitializeDictionary()
[all …]
Dfilter.cc129 if (!stream_buffer() || stream_data_len_) in FlushStreamBuffer()
133 stream_data_len_ = stream_data_len; in FlushStreamBuffer()
323 stream_data_len_(0), in Filter()
331 if (0 == stream_data_len_) in CopyOut()
334 out_len = std::min(input_len, stream_data_len_); in CopyOut()
337 stream_data_len_ -= out_len; in CopyOut()
338 if (0 == stream_data_len_) { in CopyOut()
Dfilter.h179 int stream_data_len() const { return stream_data_len_; } in stream_data_len()
241 int stream_data_len_; variable