Home
last modified time | relevance | path

Searched refs:FieldComparator (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Dfield_comparator_test.cc61 EXPECT_EQ(FieldComparator::RECURSE, in TEST_F()
68 EXPECT_EQ(FieldComparator::RECURSE, in TEST_F()
75 EXPECT_EQ(FieldComparator::RECURSE, in TEST_F()
84 EXPECT_EQ(FieldComparator::SAME, in TEST_F()
88 EXPECT_EQ(FieldComparator::DIFFERENT, in TEST_F()
97 EXPECT_EQ(FieldComparator::SAME, in TEST_F()
101 EXPECT_EQ(FieldComparator::DIFFERENT, in TEST_F()
111 EXPECT_EQ(FieldComparator::SAME, in TEST_F()
115 EXPECT_EQ(FieldComparator::DIFFERENT, in TEST_F()
125 EXPECT_EQ(FieldComparator::SAME, in TEST_F()
[all …]
Dfield_comparator.cc48 FieldComparator::FieldComparator() {} in FieldComparator() function in google::protobuf::util::FieldComparator
49 FieldComparator::~FieldComparator() {} in ~FieldComparator()
58 FieldComparator::ComparisonResult DefaultFieldComparator::Compare( in Compare()
204 FieldComparator::ComparisonResult DefaultFieldComparator::ResultFromBoolean( in ResultFromBoolean()
206 return boolean_result ? FieldComparator::SAME : FieldComparator::DIFFERENT; in ResultFromBoolean()
Dfield_comparator.h60 class PROTOBUF_EXPORT FieldComparator {
62 FieldComparator();
63 virtual ~FieldComparator();
94 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldComparator);
100 class PROTOBUF_EXPORT DefaultFieldComparator : public FieldComparator {
Dmessage_differencer.h529 void set_field_comparator(FieldComparator* comparator);
790 FieldComparator::ComparisonResult GetFieldComparisonResult(
879 FieldComparator* field_comparator_;
Dmessage_differencer.cc286 void MessageDifferencer::set_field_comparator(FieldComparator* comparator) { in set_field_comparator()
1079 FieldComparator::ComparisonResult result = GetFieldComparisonResult( in CompareFieldValueUsingParentFields()
1083 result == FieldComparator::RECURSE) { in CompareFieldValueUsingParentFields()
1113 return (result == FieldComparator::SAME); in CompareFieldValueUsingParentFields()
1717 FieldComparator::ComparisonResult MessageDifferencer::GetFieldComparisonResult( in GetFieldComparisonResult()
1721 FieldComparator* comparator = field_comparator_ != NULL in GetFieldComparisonResult()
Dmessage_differencer_unittest.cc2269 class ParentSavingFieldComparator : public util::FieldComparator {