Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser.cpp53 CPDF_Parser::CPDF_Parser() in CPDF_Parser() function in CPDF_Parser
64 CPDF_Parser::~CPDF_Parser() { in ~CPDF_Parser()
69 uint32_t CPDF_Parser::GetLastObjNum() const { in GetLastObjNum()
73 bool CPDF_Parser::IsValidObjectNumber(uint32_t objnum) const { in IsValidObjectNumber()
77 FX_FILESIZE CPDF_Parser::GetObjectPositionOrZero(uint32_t objnum) const { in GetObjectPositionOrZero()
82 uint8_t CPDF_Parser::GetObjectType(uint32_t objnum) const { in GetObjectType()
88 uint16_t CPDF_Parser::GetObjectGenNum(uint32_t objnum) const { in GetObjectGenNum()
94 bool CPDF_Parser::IsObjectFreeOrNull(uint32_t objnum) const { in IsObjectFreeOrNull()
99 void CPDF_Parser::SetEncryptDictionary(CPDF_Dictionary* pDict) { in SetEncryptDictionary()
103 CPDF_CryptoHandler* CPDF_Parser::GetCryptoHandler() { in GetCryptoHandler()
[all …]
Dcpdf_document.h31 class CPDF_Parser; variable
48 explicit CPDF_Document(std::unique_ptr<CPDF_Parser> pParser);
51 CPDF_Parser* GetParser() const { return m_pParser.get(); } in GetParser()
131 std::unique_ptr<CPDF_Parser> m_pParser;
Dcpdf_security_handler.h23 class CPDF_Parser; variable
30 bool OnInit(CPDF_Parser* pParser, CPDF_Dictionary* pEncryptDict);
101 CPDF_Parser* m_pParser;
Dcpdf_data_avail.h22 class CPDF_Parser; variable
168 bool GetPageKids(CPDF_Parser* pParser, CPDF_Object* pPages);
201 CPDF_Parser m_parser;
232 CPDF_Parser* m_pCurrentParser;
Dcpdf_parser.h29 class CPDF_Parser {
43 CPDF_Parser();
44 ~CPDF_Parser();
Dcpdf_hint_tables.cpp293 if (dwFirstSharedObjNum >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable()
294 m_nFirstPageSharedObjs >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable()
295 dwSharedObjTotal >= CPDF_Parser::kMaxObjectNumber) { in ReadSharedObjHintTable()
Dcpdf_syntax_parser.h60 friend class CPDF_Parser;
Dcpdf_object.h95 friend class CPDF_Parser; variable
Dcpdf_parser_unittest.cpp46 class CPDF_TestParser : public CPDF_Parser {
Dcpdf_data_avail.cpp95 CPDF_Parser* pParser = m_pDocument->GetParser(); in GetObjectSize()
343 CPDF_Parser* pParser = nullptr; in GetObject()
504 bool CPDF_DataAvail::GetPageKids(CPDF_Parser* pParser, CPDF_Object* pPages) { in GetPageKids()
1351 CPDF_Parser::Error eRet = in CheckLinearizedData()
1354 if (eRet != CPDF_Parser::SUCCESS) in CheckLinearizedData()
Dcpdf_document_unittest.cpp203 CPDF_Document document(pdfium::MakeUnique<CPDF_Parser>()); in TEST_F()
Dcpdf_security_handler.cpp91 bool CPDF_SecurityHandler::OnInit(CPDF_Parser* pParser, in OnInit()
Dcpdf_document.cpp340 CPDF_Document::CPDF_Document(std::unique_ptr<CPDF_Parser> pParser) in CPDF_Document()
/external/pdfium/fpdfsdk/
Dfpdf_dataavail.cpp148 std::unique_ptr<CPDF_Parser> pParser(new CPDF_Parser); in FPDFAvail_GetDocument()
153 CPDF_Parser::Error error = pDocument->GetParser()->StartLinearizedParse( in FPDFAvail_GetDocument()
155 if (error != CPDF_Parser::SUCCESS) { in FPDFAvail_GetDocument()
Dfpdfview.cpp440 void ProcessParseError(CPDF_Parser::Error err) { in ProcessParseError()
444 case CPDF_Parser::SUCCESS: in ProcessParseError()
447 case CPDF_Parser::FILE_ERROR: in ProcessParseError()
450 case CPDF_Parser::FORMAT_ERROR: in ProcessParseError()
453 case CPDF_Parser::PASSWORD_ERROR: in ProcessParseError()
456 case CPDF_Parser::HANDLER_ERROR: in ProcessParseError()
497 auto pParser = pdfium::MakeUnique<CPDF_Parser>(); in FPDF_LoadDocument()
501 CPDF_Parser::Error error = in FPDF_LoadDocument()
503 if (error != CPDF_Parser::SUCCESS) { in FPDF_LoadDocument()
574 auto pParser = pdfium::MakeUnique<CPDF_Parser>(); in FPDF_LoadMemDocument()
[all …]
Dfsdk_define.h80 void ProcessParseError(CPDF_Parser::Error err);
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.h21 class CPDF_Parser; variable
79 CPDF_Parser* const m_pParser;
Dfpdf_edit_create.cpp209 CPDF_Parser* pParser = pDocument->GetParser(); in PDF_CreatorWriteTrailer()