Searched refs:window_end_ (Results 1 – 2 of 2) sorted by relevance
73 window_end_ = kPngSignatureSize; in PngChunkFilter()80 if (window_start_ != window_end_) { in ConsumeWindow()82 const size_t bytes_read = window_end_ - window_start_; in ConsumeWindow()85 window_start_ = window_end_; in ConsumeWindow()103 while (window_end_ < data_.size()) { in Next()108 if (data_.size() - window_end_ < kMinChunkHeaderSize) { in Next()109 error_msg_ = StringPrintf("Not enough space for a PNG chunk @ byte %zu/%zu", window_end_, in Next()115 const uint32_t chunk_len = Peek32LE(data_.data() + window_end_); in Next()116 if ((size_t)chunk_len > data_.size() - window_end_ - kMinChunkHeaderSize) { in Next()118 const uint32_t chunk_type = Peek32LE(data_.data() + window_end_ + sizeof(uint32_t)); in Next()[all …]
86 size_t window_end_ = 0; variable