Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_avail.cpp20 : validator_(validator), holder_(holder), root_(root) { in CPDF_ObjectAvail()
21 ASSERT(validator_); in CPDF_ObjectAvail()
32 : validator_(validator), in CPDF_ObjectAvail()
35 ASSERT(validator_); in CPDF_ObjectAvail()
63 const CPDF_ReadValidator::Session parse_session(validator_); in LoadRootObject()
65 if (validator_->has_read_problems()) in LoadRootObject()
93 const CPDF_ReadValidator::Session parse_session(validator_); in CheckObjects()
98 if (validator_->has_read_problems() || in CheckObjects()
116 const CPDF_ReadValidator::Session parse_session(validator_); in AppendObjectSubRefs()
127 if (validator_->has_read_problems()) in AppendObjectSubRefs()
Dcpdf_read_validator.cpp31 : validator_(validator.BackPointer()) { in Session()
32 ASSERT(validator_); in Session()
33 saved_read_error_ = validator_->read_error_; in Session()
34 saved_has_unavailable_data_ = validator_->has_unavailable_data_; in Session()
35 validator_->ResetErrors(); in Session()
39 validator_->read_error_ |= saved_read_error_; in ~Session()
40 validator_->has_unavailable_data_ |= saved_has_unavailable_data_; in ~Session()
Dcpdf_page_object_avail_unittest.cpp44 TestHolder() : validator_(pdfium::MakeRetain<TestReadValidator>()) {} in TestHolder()
55 validator_->SimulateReadError(); in GetOrParseIndirectObject()
61 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
93 RetainPtr<TestReadValidator> validator_; member in __anon4abefccd0111::TestHolder
Dcpdf_object_avail_unittest.cpp44 TestHolder() : validator_(pdfium::MakeRetain<TestReadValidator>()) {} in TestHolder()
55 validator_->SimulateReadError(); in GetOrParseIndirectObject()
61 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
93 RetainPtr<TestReadValidator> validator_; member in __anonb7a8c1d10111::TestHolder
Dcpdf_object_avail.h44 RetainPtr<CPDF_ReadValidator> validator_; variable
Dcpdf_read_validator.h19 UnownedPtr<CPDF_ReadValidator> validator_;
Dcpdf_data_avail.cpp61 : validator_(std::move(validator)) { in HintsScope()
62 ASSERT(validator_); in HintsScope()
63 validator_->SetDownloadHints(hints); in HintsScope()
66 ~HintsScope() { validator_->SetDownloadHints(nullptr); } in ~HintsScope()
69 RetainPtr<CPDF_ReadValidator> validator_; member in __anon05474e950111::HintsScope
/external/libbrillo/brillo/dbus/
Dexported_property_set.h192 validator_ = validator; in SetValidator()
216 if (!validator_.is_null() && !validator_.Run(error, value.Get<T>())) { in SetValue()
225 base::Callback<bool(brillo::ErrorPtr*, const T&)> validator_; variable