Searched refs:CPDF_Parser (Results 1 – 15 of 15) sorted by relevance
57 class CPDF_Parser::TrailerData {125 CPDF_Parser::CPDF_Parser() in CPDF_Parser() function in CPDF_Parser132 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 …]
26 class CPDF_Parser; variable108 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;
30 class CPDF_Parser; variable44 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;
209 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 …]
34 class CPDF_Parser {50 CPDF_Parser();51 ~CPDF_Parser();
300 if (dwFirstSharedObjNum >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable()301 m_nFirstPageSharedObjs >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable()302 dwSharedObjTotal >= CPDF_Parser::kMaxObjectNumber) { in ReadSharedObjHintTable()
23 class CPDF_Parser; variable
66 friend class CPDF_Parser;
18 class CPDF_TestParser : public CPDF_Parser {
227 CPDF_Document document(pdfium::MakeUnique<CPDF_Parser>()); in TEST_F()
341 CPDF_Document::CPDF_Document(std::unique_ptr<CPDF_Parser> pParser) in CPDF_Document()
25 class CPDF_Parser; variable86 UnownedPtr<CPDF_Parser> const m_pParser;
281 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 …]
150 CPDF_Parser::Error error; in FPDFAvail_GetDocument()153 if (error != CPDF_Parser::SUCCESS) { in FPDFAvail_GetDocument()
106 void ProcessParseError(CPDF_Parser::Error err);