Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/util/
Dfield_comparator.cc51 DefaultFieldComparator::DefaultFieldComparator() in DefaultFieldComparator() function in google::protobuf::util::DefaultFieldComparator
56 DefaultFieldComparator::~DefaultFieldComparator() {} in ~DefaultFieldComparator()
58 FieldComparator::ComparisonResult DefaultFieldComparator::Compare( in Compare()
130 bool DefaultFieldComparator::Compare(MessageDifferencer* differencer, in Compare()
138 void DefaultFieldComparator::SetDefaultFractionAndMargin(double fraction, in SetDefaultFractionAndMargin()
144 void DefaultFieldComparator::SetFractionAndMargin(const FieldDescriptor* field, in SetFractionAndMargin()
154 bool DefaultFieldComparator::CompareDouble(const FieldDescriptor& field, in CompareDouble()
159 bool DefaultFieldComparator::CompareEnum(const FieldDescriptor& field, in CompareEnum()
165 bool DefaultFieldComparator::CompareFloat(const FieldDescriptor& field, in CompareFloat()
171 bool DefaultFieldComparator::CompareDoubleOrFloat(const FieldDescriptor& field, in CompareDoubleOrFloat()
[all …]
Dfield_comparator.h100 class PROTOBUF_EXPORT DefaultFieldComparator : public FieldComparator {
112 DefaultFieldComparator();
114 ~DefaultFieldComparator() override;
251 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DefaultFieldComparator);
Dfield_comparator_test.cc57 DefaultFieldComparator comparator_;
227 ASSERT_EQ(DefaultFieldComparator::EXACT, comparator_.float_comparison()); in TEST_F()
235 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
258 ASSERT_EQ(DefaultFieldComparator::EXACT, comparator_.float_comparison()); in TEST_F()
266 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
276 comparator_.set_float_comparison(DefaultFieldComparator::EXACT); in TEST_F()
283 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
304 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
419 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
Dmessage_differencer.h72 class DefaultFieldComparator; variable
683 friend class DefaultFieldComparator;
862 DefaultFieldComparator default_field_comparator_;
Dmessage_differencer.cc304 comparison == EXACT ? DefaultFieldComparator::EXACT in set_float_comparison()
305 : DefaultFieldComparator::APPROXIMATE); in set_float_comparison()
Dmessage_differencer_unittest.cc664 util::DefaultFieldComparator field_comparitor; in TEST()
669 field_comparitor.set_float_comparison(util::DefaultFieldComparator::EXACT); in TEST()
675 util::DefaultFieldComparator::APPROXIMATE); in TEST()
/external/tensorflow/tensorflow/python/framework/
Dproto_comparators.cc64 tf::protobuf::util::DefaultFieldComparator comparator; in EqualsGraphDef()
/external/protobuf/conformance/
Dconformance_test.cc51 using google::protobuf::util::DefaultFieldComparator;
267 DefaultFieldComparator field_comparator; in VerifyResponse()