Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_avail.cpp18 : validator_(validator), holder_(holder), root_(root) { in CPDF_ObjectAvail()
19 ASSERT(validator_); in CPDF_ObjectAvail()
29 : validator_(validator), in CPDF_ObjectAvail()
32 ASSERT(validator_); in CPDF_ObjectAvail()
60 const CPDF_ReadValidator::Session parse_session(validator_.Get()); in LoadRootObject()
62 if (validator_->has_read_problems()) in LoadRootObject()
89 const CPDF_ReadValidator::Session parse_session(validator_.Get()); in CheckObjects()
94 if (validator_->has_read_problems() || in CheckObjects()
112 const CPDF_ReadValidator::Session parse_session(validator_.Get()); in AppendObjectSubRefs()
123 if (validator_->has_read_problems()) in AppendObjectSubRefs()
Dcpdf_read_validator.cpp31 : validator_(validator) { 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.cpp46 TestHolder() : validator_(pdfium::MakeRetain<TestReadValidator>()) {} in TestHolder()
57 validator_->SimulateReadError(); in GetOrParseIndirectObject()
63 RetainPtr<CPDF_ReadValidator> GetValidator() { return validator_; } in GetValidator()
95 RetainPtr<TestReadValidator> validator_; member in __anon3fb8aff60111::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 __anon4ea2975a0111::TestHolder
Dcpdf_object_avail.h45 UnownedPtr<CPDF_ReadValidator> validator_; variable
Dcpdf_data_avail.cpp61 : validator_(validator) { in HintsScope()
62 ASSERT(validator_); in HintsScope()
63 validator_->SetDownloadHints(hints); in HintsScope()
66 ~HintsScope() { validator_->SetDownloadHints(nullptr); } in ~HintsScope()
69 UnownedPtr<CPDF_ReadValidator> validator_; member in __anon8679cfbe0111::HintsScope
Dcpdf_read_validator.h22 UnownedPtr<CPDF_ReadValidator> validator_;
/external/libbrillo/brillo/dbus/
Dexported_property_set.h191 validator_ = validator; in SetValidator()
215 if (!validator_.is_null() && !validator_.Run(error, value.Get<T>())) { in SetValue()
224 base::Callback<bool(brillo::ErrorPtr*, const T&)> validator_; variable
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.h48 TrtNodeValidator validator_;
Dconvert_nodes_test.cc398 return validator_.op_validators_; in op_validators()
405 return validator_.ConvertToTensorOrWeights( in ConvertToTensorOrWeights()
409 const std::set<string>* GetQuantizeOps() { return validator_.quantize_ops; } in GetQuantizeOps()
412 TrtNodeValidator validator_; member in tensorflow::tensorrt::convert::ValidatorTest
494 ExpectStatus(validator_.ValidateNode(node_def, {}, TrtPrecisionMode::FP32, in TEST_F()
500 TF_EXPECT_OK(validator_.ValidateNode(node_def, {}, TrtPrecisionMode::FP32, in TEST_F()
506 ExpectStatus(validator_.ValidateNode(node_def, {}, TrtPrecisionMode::FP32, in TEST_F()
513 ExpectStatus(validator_.ValidateNode(node_def, {}, TrtPrecisionMode::FP32, in TEST_F()
1081 validator_.reset(nullptr); in Reset()
1093 validator_.reset(new TrtNodeValidator); in Reset()
[all …]
Dconvert_graph.cc82 return validator_.ValidateNode(node->def(), input_node_and_ports, in IsTensorRTCandidate()