Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp120 : m_pBuf(span) {} in CPDF_StreamParser()
124 : m_pPool(pPool), m_pBuf(span) {} in CPDF_StreamParser()
132 if (m_Pos < m_pBuf.size() && PDFCharIsWhitespace(m_pBuf[m_Pos])) in ReadInlineStream()
135 if (m_Pos == m_pBuf.size()) in ReadInlineStream()
173 dwOrigSize = std::min<uint32_t>(dwOrigSize, m_pBuf.size() - m_Pos); in ReadInlineStream()
175 auto copy_span = m_pBuf.subspan(m_Pos, dwOrigSize); in ReadInlineStream()
180 dwStreamSize = DecodeInlineStream(m_pBuf.subspan(m_Pos), width, height, in ReadInlineStream()
205 auto copy_span = m_pBuf.subspan(m_Pos, dwStreamSize); in ReadInlineStream()
220 uint8_t ch = m_pBuf[m_Pos++]; in ParseNextElement()
226 ch = m_pBuf[m_Pos++]; in ParseNextElement()
[all …]
Dcpdf_streamparser.h59 pdfium::span<const uint8_t> m_pBuf; variable
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c1977 mz_uint8 *m_pBuf; member
1989 pNew_buf = (mz_uint8*)MZ_REALLOC(p->m_pBuf, new_capacity); if (!pNew_buf) return MZ_FALSE; in tdefl_output_buffer_putter()
1990 p->m_pBuf = pNew_buf; p->m_capacity = new_capacity; in tdefl_output_buffer_putter()
1992 memcpy((mz_uint8*)p->m_pBuf + p->m_size, pBuf, len); p->m_size = new_size; in tdefl_output_buffer_putter()
2002 *pOut_len = out_buf.m_size; return out_buf.m_pBuf; in tdefl_compress_mem_to_heap()
2009 out_buf.m_pBuf = (mz_uint8*)pOut_buf; out_buf.m_capacity = out_buf_len; in tdefl_compress_mem_to_mem()
2047 …RUE; out_buf.m_capacity = 57+MZ_MAX(64, (1+bpl)*h); if (NULL == (out_buf.m_pBuf = (mz_uint8*)MZ_MA… in tdefl_write_image_to_png_file_in_memory_ex()
2053 …L, 0, TDEFL_FINISH) != TDEFL_STATUS_DONE) { MZ_FREE(pComp); MZ_FREE(out_buf.m_pBuf); return NULL; } in tdefl_write_image_to_png_file_in_memory_ex()
2062 memcpy(out_buf.m_pBuf, pnghdr, 41); in tdefl_write_image_to_png_file_in_memory_ex()
2065 …2\x60\x82", 16, &out_buf)) { *pLen_out = 0; MZ_FREE(pComp); MZ_FREE(out_buf.m_pBuf); return NULL; } in tdefl_write_image_to_png_file_in_memory_ex()
[all …]