Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser.cpp123 m_pSyntax = pdfium::MakeUnique<CPDF_SyntaxParser>(validator, *header_offset); in InitSyntaxParser()
130 if (!m_pSyntax->GetCharAt(5, ch)) in ParseFileVersion()
136 if (!m_pSyntax->GetCharAt(7, ch)) in ParseFileVersion()
216 m_pSyntax->SetPos(m_pSyntax->GetDocumentSize() - strlen(kStartXRefKeyword)); in ParseStartXRef()
217 if (!m_pSyntax->BackwardsSearchToWord(kStartXRefKeyword, 4096)) in ParseStartXRef()
221 m_pSyntax->GetKeyword(); in ParseStartXRef()
225 const ByteString xref_offset_str = m_pSyntax->GetNextWord(&bNumber); in ParseStartXRef()
230 if (!result.IsValid() || result.ValueOrDie() >= m_pSyntax->GetDocumentSize()) in ParseStartXRef()
269 FX_FILESIZE SavedPos = m_pSyntax->GetPos(); in VerifyCrossRefV4()
270 m_pSyntax->SetPos(it.second.pos); in VerifyCrossRefV4()
[all …]
Dcpdf_parser.h119 CPDF_SyntaxParser* GetSyntax() const { return m_pSyntax.get(); } in GetSyntax()
130 std::unique_ptr<CPDF_SyntaxParser> m_pSyntax; variable
Dcpdf_parser_unittest.cpp46 m_pSyntax = pdfium::MakeUnique<CPDF_SyntaxParser>(pFileAccess); in InitTestFromFile()
53 m_pSyntax = CPDF_SyntaxParser::CreateForTesting( in InitTestFromBufferWithOffset()
Dcpdf_data_avail.cpp494 m_parser.m_pSyntax = in CheckHeaderAndLinearized()
911 return m_pDocument ? m_pDocument->GetParser()->m_pSyntax.get() in GetSyntaxParser()
912 : m_parser.m_pSyntax.get(); in GetSyntaxParser()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp601 FX_FILESIZE savePos = m_pSyntax->GetPos(); in Handle_BeginImage()
604 CPDF_StreamParser::SyntaxType type = m_pSyntax->ParseNextElement(); in Handle_BeginImage()
606 if (m_pSyntax->GetWord() != "ID") { in Handle_BeginImage()
607 m_pSyntax->SetPos(savePos); in Handle_BeginImage()
614 auto word = m_pSyntax->GetWord(); in Handle_BeginImage()
616 auto pObj = m_pSyntax->ReadNextObject(false, false, 0); in Handle_BeginImage()
641 m_pSyntax->ReadInlineStream(m_pDocument.Get(), std::move(pDict), pCSObj); in Handle_BeginImage()
643 CPDF_StreamParser::SyntaxType type = m_pSyntax->ParseNextElement(); in Handle_BeginImage()
650 if (m_pSyntax->GetWord() == "EI") { in Handle_BeginImage()
1272 m_pSyntax->GetPos() + m_StartParseOffset); in GetCurrentStreamIndex()
[all …]
Dcpdf_streamcontentparser.h215 UnownedPtr<CPDF_StreamParser> m_pSyntax; variable