Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp29 CPDF_ReadValidator::Session::Session( in Session()
30 const RetainPtr<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::ReadBlockAtOffset(void* buffer, in ReadBlockAtOffset()
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()
[all …]
Dcpdf_read_validator.h11 class CPDF_ReadValidator : public IFX_SeekableReadStream {
15 explicit Session(const RetainPtr<CPDF_ReadValidator>& validator);
19 UnownedPtr<CPDF_ReadValidator> validator_;
50 CPDF_ReadValidator(const RetainPtr<IFX_SeekableReadStream>& file_read,
52 ~CPDF_ReadValidator() override;
Dcpdf_object_avail.h18 class CPDF_ReadValidator; variable
23 CPDF_ObjectAvail(const RetainPtr<CPDF_ReadValidator>& validator,
26 CPDF_ObjectAvail(const RetainPtr<CPDF_ReadValidator>& validator,
44 RetainPtr<CPDF_ReadValidator> validator_;
Dcpdf_read_validator_unittest.cpp71 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
94 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
135 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, nullptr); in TEST()
149 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
169 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
172 const CPDF_ReadValidator::Session read_session(validator); in TEST()
183 const CPDF_ReadValidator::Session read_subsession(validator); in TEST()
207 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
210 const CPDF_ReadValidator::Session read_session(validator); in TEST()
221 const CPDF_ReadValidator::Session read_subsession(validator); in TEST()
[all …]
Dcpdf_object_avail.cpp17 const RetainPtr<CPDF_ReadValidator>& validator, in CPDF_ObjectAvail()
29 const RetainPtr<CPDF_ReadValidator>& validator, in CPDF_ObjectAvail()
63 const CPDF_ReadValidator::Session parse_session(validator_); in LoadRootObject()
93 const CPDF_ReadValidator::Session parse_session(validator_); in CheckObjects()
116 const CPDF_ReadValidator::Session parse_session(validator_); in AppendObjectSubRefs()
Dcpdf_syntax_parser.h21 class CPDF_ReadValidator; variable
35 CPDF_SyntaxParser(const RetainPtr<CPDF_ReadValidator>& pValidator,
61 const RetainPtr<CPDF_ReadValidator>& GetValidator() const { in GetValidator()
104 RetainPtr<CPDF_ReadValidator> m_pFileAccess;
Dcpdf_hint_tables.h18 class CPDF_ReadValidator; variable
75 CPDF_HintTables(CPDF_ReadValidator* pValidator,
103 UnownedPtr<CPDF_ReadValidator> m_pValidator;
Dcpdf_data_avail.cpp59 HintsScope(RetainPtr<CPDF_ReadValidator> validator, in HintsScope()
69 RetainPtr<CPDF_ReadValidator> validator_;
83 pdfium::MakeRetain<CPDF_ReadValidator>(pFileRead, pFileAvail)), in CPDF_DataAvail()
176 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckAndLoadAllXref()
224 const CPDF_ReadValidator::Session read_session(GetValidator()); in GetObject()
243 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckInfo()
259 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckRoot()
438 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckHintTables()
486 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckHeaderAndLinearized()
889 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckResources()
[all …]
Dcpdf_page_object_avail_unittest.cpp24 class TestReadValidator final : public CPDF_ReadValidator {
33 : CPDF_ReadValidator(pdfium::MakeRetain<InvalidSeekableReadStream>(100), in TestReadValidator()
61 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
Dcpdf_parser.h29 class CPDF_ReadValidator; variable
64 Error StartLinearizedParse(const RetainPtr<CPDF_ReadValidator>& validator,
171 bool InitSyntaxParser(const RetainPtr<CPDF_ReadValidator>& validator);
Dcpdf_data_avail.h26 class CPDF_ReadValidator; variable
108 RetainPtr<CPDF_ReadValidator> GetValidator() const;
170 RetainPtr<CPDF_ReadValidator> m_pFileRead;
Dcpdf_hint_tables_unittest.cpp28 RetainPtr<CPDF_ReadValidator> MakeValidatorFromFile( in MakeValidatorFromFile()
33 return pdfium::MakeRetain<CPDF_ReadValidator>( in MakeValidatorFromFile()
170 RetainPtr<CPDF_ReadValidator> validator = in TEST_F()
Dcpdf_syntax_parser.cpp80 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr), in CreateForTesting()
87 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr), in CPDF_SyntaxParser()
91 const RetainPtr<CPDF_ReadValidator>& validator, in CPDF_SyntaxParser()
393 const CPDF_ReadValidator::Session read_session(GetValidator()); in GetNextWord()
416 const CPDF_ReadValidator::Session read_session(GetValidator()); in GetObjectBody()
537 const CPDF_ReadValidator::Session read_session(GetValidator()); in GetIndirectObject()
670 const CPDF_ReadValidator::Session read_session(GetValidator()); in ReadStream()
Dcpdf_cross_ref_avail.cpp43 const CPDF_ReadValidator::Session read_session(GetValidator()); in CheckAvail()
210 RetainPtr<CPDF_ReadValidator> CPDF_CrossRefAvail::GetValidator() { in GetValidator()
Dcpdf_document.h26 class CPDF_ReadValidator; variable
131 const RetainPtr<CPDF_ReadValidator>& validator,
Dcpdf_cross_ref_avail.h43 RetainPtr<CPDF_ReadValidator> GetValidator();
Dcpdf_object_avail_unittest.cpp24 class TestReadValidator final : public CPDF_ReadValidator {
33 : CPDF_ReadValidator(pdfium::MakeRetain<InvalidSeekableReadStream>(100), in TestReadValidator()
61 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
Dcpdf_parser.cpp116 const RetainPtr<CPDF_ReadValidator>& validator) { in InitSyntaxParser()
148 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr))) in StartParse()
962 const RetainPtr<CPDF_ReadValidator>& validator, in StartLinearizedParse()
Dcpdf_hint_tables.cpp78 CPDF_HintTables::CPDF_HintTables(CPDF_ReadValidator* pValidator, in CPDF_HintTables()
Dcpdf_document.cpp99 const RetainPtr<CPDF_ReadValidator>& validator, in LoadLinearizedDoc()