Home
last modified time | relevance | path

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

/third_party/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.cc54 DefaultFieldComparator comparator_;
224 ASSERT_EQ(DefaultFieldComparator::EXACT, comparator_.float_comparison()); in TEST_F()
232 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
255 ASSERT_EQ(DefaultFieldComparator::EXACT, comparator_.float_comparison()); in TEST_F()
263 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
273 comparator_.set_float_comparison(DefaultFieldComparator::EXACT); in TEST_F()
280 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
301 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
416 comparator_.set_float_comparison(DefaultFieldComparator::APPROXIMATE); in TEST_F()
Dmessage_differencer.h72 class DefaultFieldComparator; variable
699 friend class DefaultFieldComparator;
878 DefaultFieldComparator default_field_comparator_;
Dmessage_differencer.cc302 comparison == EXACT ? DefaultFieldComparator::EXACT in set_float_comparison()
303 : DefaultFieldComparator::APPROXIMATE); in set_float_comparison()
Dmessage_differencer_unittest.cc664 util::DefaultFieldComparator field_comparator; in TEST()
669 field_comparator.set_float_comparison(util::DefaultFieldComparator::EXACT); in TEST()
675 util::DefaultFieldComparator::APPROXIMATE); in TEST()
/third_party/protobuf/conformance/
Dconformance_test.cc51 using google::protobuf::util::DefaultFieldComparator;
281 DefaultFieldComparator field_comparator; in VerifyResponse()