Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser.cpp57 class CPDF_Parser::TrailerData {
125 CPDF_Parser::CPDF_Parser() in CPDF_Parser() function in CPDF_Parser
132 CPDF_Parser::~CPDF_Parser() { in ~CPDF_Parser()
136 uint32_t CPDF_Parser::GetLastObjNum() const { in GetLastObjNum()
140 bool CPDF_Parser::IsValidObjectNumber(uint32_t objnum) const { in IsValidObjectNumber()
144 FX_FILESIZE CPDF_Parser::GetObjectPositionOrZero(uint32_t objnum) const { in GetObjectPositionOrZero()
149 CPDF_Parser::ObjectType CPDF_Parser::GetObjectType(uint32_t objnum) const { in GetObjectType()
155 uint16_t CPDF_Parser::GetObjectGenNum(uint32_t objnum) const { in GetObjectGenNum()
161 bool CPDF_Parser::IsObjectFreeOrNull(uint32_t objnum) const { in IsObjectFreeOrNull()
174 bool CPDF_Parser::IsObjectFree(uint32_t objnum) const { in IsObjectFree()
[all …]
Dcpdf_data_avail.h26 class CPDF_Parser; variable
108 std::pair<CPDF_Parser::Error, std::unique_ptr<CPDF_Document>> ParseDocument(
145 bool GetPageKids(CPDF_Parser* pParser, CPDF_Object* pPages);
169 CPDF_Parser m_parser;
186 CPDF_Parser* m_pCurrentParser = nullptr;
Dcpdf_document.h30 class CPDF_Parser; variable
44 explicit CPDF_Document(std::unique_ptr<CPDF_Parser> pParser);
47 CPDF_Parser* GetParser() const { return m_pParser.get(); } in GetParser()
132 std::unique_ptr<CPDF_Parser> m_pParser;
Dcpdf_data_avail.cpp209 CPDF_Parser* pParser = nullptr; in GetObject()
348 bool CPDF_DataAvail::GetPageKids(CPDF_Parser* pParser, CPDF_Object* pPages) { in GetPageKids()
787 CPDF_Parser::Error eRet = in CheckLinearizedData()
790 if (eRet != CPDF_Parser::SUCCESS) in CheckLinearizedData()
1026 std::pair<CPDF_Parser::Error, std::unique_ptr<CPDF_Document>>
1030 return std::make_pair(CPDF_Parser::HANDLER_ERROR, nullptr); in ParseDocument()
1032 auto parser = pdfium::MakeUnique<CPDF_Parser>(); in ParseDocument()
1037 CPDF_Parser::Error error = document->GetParser()->StartLinearizedParse( in ParseDocument()
1043 return std::make_pair(CPDF_Parser::HANDLER_ERROR, nullptr); in ParseDocument()
1046 if (error != CPDF_Parser::SUCCESS) in ParseDocument()
[all …]
Dcpdf_parser.h34 class CPDF_Parser {
50 CPDF_Parser();
51 ~CPDF_Parser();
Dcpdf_hint_tables.cpp300 if (dwFirstSharedObjNum >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable()
301 m_nFirstPageSharedObjs >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable()
302 dwSharedObjTotal >= CPDF_Parser::kMaxObjectNumber) { in ReadSharedObjHintTable()
Dcpdf_security_handler.h23 class CPDF_Parser; variable
Dcpdf_syntax_parser.h66 friend class CPDF_Parser;
Dcpdf_parser_unittest.cpp18 class CPDF_TestParser : public CPDF_Parser {
Dcpdf_document_unittest.cpp227 CPDF_Document document(pdfium::MakeUnique<CPDF_Parser>()); in TEST_F()
Dcpdf_document.cpp341 CPDF_Document::CPDF_Document(std::unique_ptr<CPDF_Parser> pParser) in CPDF_Document()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.h25 class CPDF_Parser; variable
86 UnownedPtr<CPDF_Parser> const m_pParser;
/external/pdfium/fpdfsdk/
Dfpdfview.cpp281 ProcessParseError(CPDF_Parser::FILE_ERROR); in LoadDocumentImpl()
285 auto pParser = pdfium::MakeUnique<CPDF_Parser>(); in LoadDocumentImpl()
289 CPDF_Parser::Error error = in LoadDocumentImpl()
291 if (error != CPDF_Parser::SUCCESS) { in LoadDocumentImpl()
515 void ProcessParseError(CPDF_Parser::Error err) { in ProcessParseError()
519 case CPDF_Parser::SUCCESS: in ProcessParseError()
522 case CPDF_Parser::FILE_ERROR: in ProcessParseError()
525 case CPDF_Parser::FORMAT_ERROR: in ProcessParseError()
528 case CPDF_Parser::PASSWORD_ERROR: in ProcessParseError()
531 case CPDF_Parser::HANDLER_ERROR: in ProcessParseError()
[all …]
Dfpdf_dataavail.cpp150 CPDF_Parser::Error error; in FPDFAvail_GetDocument()
153 if (error != CPDF_Parser::SUCCESS) { in FPDFAvail_GetDocument()
Dfsdk_define.h106 void ProcessParseError(CPDF_Parser::Error err);