Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp129 uint32_t dest_buf_size_ = 0; // Actual allocated size. member in fxcodec::__anon0f322ee60111::CLZWDecoder
176 FX_SAFE_UINT32 new_size = std::max(dest_buf_size_ / 2, additional_size); in ExpandDestBuf()
177 new_size += dest_buf_size_; in ExpandDestBuf()
183 dest_buf_size_ = new_size.ValueOrDie(); in ExpandDestBuf()
184 dest_buf_.reset(FX_Realloc(uint8_t, dest_buf_.release(), dest_buf_size_)); in ExpandDestBuf()
193 dest_buf_size_ = 512; in Decode()
194 dest_buf_.reset(FX_Alloc(uint8_t, dest_buf_size_)); in Decode()
218 if (dest_byte_pos_ >= dest_buf_size_) { in Decode()
219 ExpandDestBuf(dest_byte_pos_ - dest_buf_size_ + 1); in Decode()
261 if (required_size > dest_buf_size_) { in Decode()
[all …]