Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp30 CPDF_ReadValidator::Session::Session(CPDF_ReadValidator* validator) in Session()
38 CPDF_ReadValidator::Session::~Session() { in ~Session()
43 CPDF_ReadValidator::CPDF_ReadValidator( in CPDF_ReadValidator() function in CPDF_ReadValidator
53 CPDF_ReadValidator::~CPDF_ReadValidator() {} in ~CPDF_ReadValidator()
55 void CPDF_ReadValidator::ResetErrors() { in ResetErrors()
60 bool CPDF_ReadValidator::ReadBlock(void* buffer, in ReadBlock()
81 FX_FILESIZE CPDF_ReadValidator::GetSize() { in GetSize()
85 void CPDF_ReadValidator::ScheduleDownload(FX_FILESIZE offset, size_t size) { in ScheduleDownload()
109 bool CPDF_ReadValidator::IsDataRangeAvailable(FX_FILESIZE offset, in IsDataRangeAvailable()
115 bool CPDF_ReadValidator::IsWholeFileAvailable() { in IsWholeFileAvailable()
[all …]
Dcpdf_read_validator.h11 class CPDF_ReadValidator : public IFX_SeekableReadStream {
18 explicit Session(CPDF_ReadValidator* validator);
22 UnownedPtr<CPDF_ReadValidator> validator_;
50 CPDF_ReadValidator(const RetainPtr<IFX_SeekableReadStream>& file_read,
52 ~CPDF_ReadValidator() override;
Dcpdf_read_validator_unittest.cpp73 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
97 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
138 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, nullptr); in TEST()
153 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
173 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
176 const CPDF_ReadValidator::Session read_session(validator.Get()); in TEST()
187 const CPDF_ReadValidator::Session read_subsession(validator.Get()); in TEST()
211 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
214 const CPDF_ReadValidator::Session read_session(validator.Get()); in TEST()
225 const CPDF_ReadValidator::Session read_subsession(validator.Get()); in TEST()
[all …]
Dcpdf_object_avail.h19 class CPDF_ReadValidator; variable
24 CPDF_ObjectAvail(CPDF_ReadValidator* validator,
27 CPDF_ObjectAvail(CPDF_ReadValidator* validator,
45 UnownedPtr<CPDF_ReadValidator> validator_;
Dcpdf_object_avail.cpp15 CPDF_ObjectAvail::CPDF_ObjectAvail(CPDF_ReadValidator* validator, in CPDF_ObjectAvail()
26 CPDF_ObjectAvail::CPDF_ObjectAvail(CPDF_ReadValidator* validator, in CPDF_ObjectAvail()
60 const CPDF_ReadValidator::Session parse_session(validator_.Get()); in LoadRootObject()
89 const CPDF_ReadValidator::Session parse_session(validator_.Get()); in CheckObjects()
112 const CPDF_ReadValidator::Session parse_session(validator_.Get()); in AppendObjectSubRefs()
Dcpdf_syntax_parser.h21 class CPDF_ReadValidator; variable
36 void InitParserWithValidator(const RetainPtr<CPDF_ReadValidator>& pValidator,
61 const RetainPtr<CPDF_ReadValidator>& GetValidator() const { in GetValidator()
96 RetainPtr<CPDF_ReadValidator> m_pFileAccess;
Dcpdf_hint_tables.h19 class CPDF_ReadValidator; variable
23 CPDF_HintTables(CPDF_ReadValidator* pValidator,
53 UnownedPtr<CPDF_ReadValidator> m_pValidator;
Dcpdf_page_object_avail_unittest.cpp25 class TestReadValidator : public CPDF_ReadValidator {
34 : CPDF_ReadValidator( in TestReadValidator()
63 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
Dcpdf_data_avail.h27 class CPDF_ReadValidator; variable
106 RetainPtr<CPDF_ReadValidator> GetValidator() const;
168 RetainPtr<CPDF_ReadValidator> m_pFileRead;
Dcpdf_data_avail.cpp59 HintsScope(CPDF_ReadValidator* validator, in HintsScope()
69 UnownedPtr<CPDF_ReadValidator> validator_;
84 pdfium::MakeRetain<CPDF_ReadValidator>(pFileRead, m_pFileAvail)), in CPDF_DataAvail()
167 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckAndLoadAllXref()
218 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetObject()
506 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckHeaderAndLinearized()
908 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckResources()
929 RetainPtr<CPDF_ReadValidator> CPDF_DataAvail::GetValidator() const { in GetValidator()
1036 CPDF_ReadValidator::Session read_session(GetValidator().Get()); in ParseDocument()
Dcpdf_syntax_parser.cpp339 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetNextWord()
358 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetObjectBody()
480 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetIndirectObject()
659 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr), in InitParser()
664 const RetainPtr<CPDF_ReadValidator>& validator, in InitParserWithValidator()
Dcpdf_cross_ref_avail.cpp42 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckAvail()
209 fxcrt::RetainPtr<CPDF_ReadValidator> CPDF_CrossRefAvail::GetValidator() { in GetValidator()
Dcpdf_cross_ref_avail.h44 fxcrt::RetainPtr<CPDF_ReadValidator> GetValidator();
Dcpdf_object_avail_unittest.cpp23 class TestReadValidator : public CPDF_ReadValidator {
32 : CPDF_ReadValidator( in TestReadValidator()
61 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
Dcpdf_hint_tables.cpp39 CPDF_HintTables::CPDF_HintTables(CPDF_ReadValidator* pValidator, in CPDF_HintTables()