Home
last modified time | relevance | path

Searched refs:GetValidator (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_data_avail.cpp158 if (GetValidator()->CheckWholeFileAndRequestIfUnavailable()) { in LoadAllFile()
167 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckAndLoadAllXref()
169 if (GetValidator()->has_read_problems()) in CheckAndLoadAllXref()
218 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetObject()
220 if (GetValidator()->has_read_problems()) in GetObject()
435 if (!GetValidator()->CheckDataRangeAndRequestIfUnavailable(start_pos, in CheckFirstPage()
457 if (!GetValidator()->CheckDataRangeAndRequestIfUnavailable(szHintStart, in CheckHintTables()
461 auto pHintTables = pdfium::MakeUnique<CPDF_HintTables>(GetValidator().Get(), in CheckHintTables()
506 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckHeaderAndLinearized()
507 const int32_t header_offset = GetHeaderOffset(GetValidator()); in CheckHeaderAndLinearized()
[all …]
Dcpdf_object_avail_unittest.cpp61 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator() function in __anon4ea2975a0111::TestHolder
135 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
148 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
169 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
195 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 2); in TEST()
218 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
232 CPDF_ObjectAvailFailOnExclude avail(holder.GetValidator().Get(), &holder, 1); in TEST()
242 CPDF_ObjectAvailFailOnExclude avail(holder.GetValidator().Get(), &holder, 1); in TEST()
261 CPDF_ObjectAvailExcludeArray avail(holder.GetValidator().Get(), &holder, 1); in TEST()
290 CPDF_ObjectAvailExcludeTypeKey avail(holder.GetValidator().Get(), &holder, 1); in TEST()
[all …]
Dcpdf_cross_ref_avail.cpp42 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in CheckAvail()
66 ASSERT(!GetValidator()->has_read_problems()); in CheckAvail()
72 if (GetValidator()->read_error()) { in CheckReadProblems()
76 return GetValidator()->has_unavailable_data(); in CheckReadProblems()
209 fxcrt::RetainPtr<CPDF_ReadValidator> CPDF_CrossRefAvail::GetValidator() { in GetValidator() function in CPDF_CrossRefAvail
210 return parser_->GetValidator(); in GetValidator()
Dcpdf_syntax_parser.cpp339 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetNextWord()
342 if (!GetValidator()->has_read_problems()) in GetNextWord()
358 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetObjectBody()
360 if (GetValidator()->has_read_problems()) in GetObjectBody()
480 const CPDF_ReadValidator::Session read_session(GetValidator().Get()); in GetIndirectObject()
509 return GetValidator()->has_read_problems() ? nullptr : std::move(pObj); in GetIndirectObject()
Dcpdf_page_object_avail_unittest.cpp63 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator() function in __anon3fb8aff60111::TestHolder
121 CPDF_PageObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
Dcpdf_cross_ref_avail.h44 fxcrt::RetainPtr<CPDF_ReadValidator> GetValidator();
Dcpdf_syntax_parser.h61 const RetainPtr<CPDF_ReadValidator>& GetValidator() const { in GetValidator() function
Dcpdf_data_avail.h106 RetainPtr<CPDF_ReadValidator> GetValidator() const;