Home
last modified time | relevance | path

Searched refs:window_end_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPngChunkFilter.cpp76 window_end_ = kPngSignatureSize; in PngChunkFilter()
83 if (window_start_ != window_end_) { in ConsumeWindow()
85 const size_t bytes_read = window_end_ - window_start_; in ConsumeWindow()
88 window_start_ = window_end_; in ConsumeWindow()
106 while (window_end_ < data_.size()) { in Next()
111 if (data_.size() - window_end_ < kMinChunkHeaderSize) { in Next()
112 error_msg_ = StringPrintf("Not enough space for a PNG chunk @ byte %zu/%zu", window_end_, in Next()
118 const uint32_t chunk_len = Peek32LE(data_.data() + window_end_); in Next()
119 if ((size_t)chunk_len > data_.size() - window_end_ - kMinChunkHeaderSize) { in Next()
121 const uint32_t chunk_type = Peek32LE(data_.data() + window_end_ + sizeof(uint32_t)); in Next()
[all …]
DPng.h86 size_t window_end_ = 0; variable