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.cpp126 : m_pSyntax(pdfium::MakeUnique<CPDF_SyntaxParser>()), in CPDF_Parser()
183 return m_pSyntax->GetFileAccess(); in GetFileAccess()
210 m_pSyntax->InitParser(file_access, header_offset); in InitSyntaxParser()
217 if (!m_pSyntax->GetCharAt(5, ch)) in ParseFileVersion()
223 if (!m_pSyntax->GetCharAt(7, ch)) in ParseFileVersion()
306 m_pSyntax->SetPos(m_pSyntax->m_FileLen - m_pSyntax->m_HeaderOffset - in ParseStartXRef()
308 if (!m_pSyntax->BackwardsSearchToWord(kStartXRefKeyword, 4096)) in ParseStartXRef()
312 m_pSyntax->GetKeyword(); in ParseStartXRef()
316 const ByteString xrefpos_str = m_pSyntax->GetNextWord(&bNumber); in ParseStartXRef()
387 FX_FILESIZE SavedPos = m_pSyntax->GetPos(); in VerifyCrossRefV4()
[all …]
Dcpdf_parser_unittest.cpp31 m_pSyntax->InitParser(pFileAccess, 0); in InitTestFromFile()
38 m_pSyntax->InitParser( in InitTestFromBuffer()
Dcpdf_data_avail.cpp514 m_parser.m_pSyntax->InitParserWithValidator(GetValidator(), header_offset); in CheckHeaderAndLinearized()
934 return m_pDocument ? m_pDocument->GetParser()->m_pSyntax.get() in GetSyntaxParser()
935 : m_parser.m_pSyntax.get(); in GetSyntaxParser()
Dcpdf_parser.h130 std::unique_ptr<CPDF_SyntaxParser> m_pSyntax; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp606 FX_FILESIZE savePos = m_pSyntax->GetPos(); in Handle_BeginImage()
610 CPDF_StreamParser::SyntaxType type = m_pSyntax->ParseNextElement(); in Handle_BeginImage()
612 if (m_pSyntax->GetWord() != "ID") { in Handle_BeginImage()
613 m_pSyntax->SetPos(savePos); in Handle_BeginImage()
620 auto word = m_pSyntax->GetWord(); in Handle_BeginImage()
622 auto pObj = m_pSyntax->ReadNextObject(false, false, 0); in Handle_BeginImage()
646 m_pSyntax->ReadInlineStream(m_pDocument.Get(), std::move(pDict), pCSObj); in Handle_BeginImage()
648 CPDF_StreamParser::SyntaxType type = m_pSyntax->ParseNextElement(); in Handle_BeginImage()
655 if (m_pSyntax->GetWord() == "EI") { in Handle_BeginImage()
1519 CPDF_StreamParserAutoClearer auto_clearer(&m_pSyntax, &syntax); in Parse()
[all …]
Dcpdf_streamcontentparser.h207 CPDF_StreamParser* m_pSyntax; variable