Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp106 : m_pBuf(pData), m_Size(dwSize), m_Pos(0), m_pPool(nullptr) {} in CPDF_StreamParser()
111 : m_pBuf(pData), m_Size(dwSize), m_Pos(0), m_pPool(pPool) {} in CPDF_StreamParser()
119 if (m_Pos == m_Size) in ReadInlineStream()
122 if (PDFCharIsWhitespace(m_pBuf[m_Pos])) in ReadInlineStream()
123 m_Pos++; in ReadInlineStream()
180 if (OrigSize > m_Size - m_Pos) in ReadInlineStream()
181 OrigSize = m_Size - m_Pos; in ReadInlineStream()
183 memcpy(pData.get(), m_pBuf + m_Pos, OrigSize); in ReadInlineStream()
185 m_Pos += OrigSize; in ReadInlineStream()
190 DecodeInlineStream(m_pBuf + m_Pos, m_Size - m_Pos, width, height, in ReadInlineStream()
[all …]
Dcpdf_textobject.cpp106 obj->m_Pos = m_Pos; in Clone()
123 m_Pos = CFX_PointF(text_matrix.e, text_matrix.f); in Transform()
143 pTextMatrix[3], m_Pos.x, m_Pos.y); in GetTextMatrix()
287 float dx = x - m_Pos.x; in SetPosition()
288 float dy = y - m_Pos.y; in SetPosition()
289 m_Pos.x = x; in SetPosition()
290 m_Pos.y = y; in SetPosition()
Dcpdf_streamparser.h34 uint32_t GetPos() const { return m_Pos; } in GetPos()
35 void SetPos(uint32_t pos) { m_Pos = pos; } in SetPos()
55 uint32_t m_Pos; // Current byte position within m_pBuf. variable
Dcpdf_textobject.h48 CFX_PointF GetPos() const { return m_Pos; } in GetPos()
54 void SetPosition(CFX_PointF pos) { m_Pos = pos; } in SetPosition()
66 CFX_PointF m_Pos;
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp53 AutoRestorer<FX_FILESIZE> save_pos(&m_Pos); in GetCharAt()
54 m_Pos = pos; in GetCharAt()
78 FX_FILESIZE pos = m_Pos + m_HeaderOffset; in GetNextChar()
86 m_Pos++; in GetNextChar()
107 if (!m_pFileAccess->ReadBlock(pBuf, m_Pos + m_HeaderOffset, size)) in ReadBlock()
109 m_Pos += size; in ReadBlock()
134 m_Pos--; in GetNextWordInternal()
148 m_Pos--; in GetNextWordInternal()
156 m_Pos--; in GetNextWordInternal()
174 m_Pos--; in GetNextWordInternal()
[all …]
Dcpdf_syntax_parser.h39 FX_FILESIZE GetPos() const { return m_Pos; } in GetPos()
40 void SetPos(FX_FILESIZE pos) { m_Pos = std::min(pos, m_FileLen); } in SetPos()
95 FX_FILESIZE m_Pos; variable
/external/lzma/CS/7zip/Common/
DInBuffer.cs8 uint m_Pos; field in SevenZip.Buffer.InBuffer
26 m_Pos = 0; in Init()
34 m_ProcessedSize += m_Pos; in ReadBlock()
36 m_Pos = 0; in ReadBlock()
51 if (m_Pos >= m_Limit) in ReadByte()
54 b = m_Buffer[m_Pos++]; in ReadByte()
61 if (m_Pos >= m_Limit) in ReadByte()
64 return m_Buffer[m_Pos++]; in ReadByte()
69 return m_ProcessedSize + m_Pos; in GetProcessedSize()
DOutBuffer.cs8 uint m_Pos; field in SevenZip.Buffer.OutBuffer
27 m_Pos = 0; in Init()
32 m_Buffer[m_Pos++] = b; in WriteByte()
33 if (m_Pos >= m_BufferSize) in WriteByte()
39 if (m_Pos == 0) in FlushData()
41 m_Stream.Write(m_Buffer, 0, (int)m_Pos); in FlushData()
42 m_Pos = 0; in FlushData()
45 public ulong GetProcessedSize() { return m_ProcessedSize + m_Pos; } in GetProcessedSize()