Home
last modified time | relevance | path

Searched refs:MessageDifferencer (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc66 class NumDiffsReporter : public google::protobuf::util::MessageDifferencer::Reporter {
77 const std::vector<google::protobuf::util::MessageDifferencer::SpecificField>& in ReportAdded()
85 const std::vector<google::protobuf::util::MessageDifferencer::SpecificField>& in ReportDeleted()
93 const std::vector<google::protobuf::util::MessageDifferencer::SpecificField>& in ReportModified()
107 class MessageDifferencer::MultipleFieldsMapKeyComparator
108 : public MessageDifferencer::MapKeyComparator {
111 MessageDifferencer* message_differencer, in MultipleFieldsMapKeyComparator()
120 MultipleFieldsMapKeyComparator(MessageDifferencer* message_differencer, in MultipleFieldsMapKeyComparator()
179 MessageDifferencer* message_differencer_;
205 MessageDifferencer::MapEntryKeyComparator::MapEntryKeyComparator( in MapEntryKeyComparator()
[all …]
Dmessage_differencer_unittest.cc81 void ExpectEqualsWithDifferencer(util::MessageDifferencer* differencer, in ExpectEqualsWithDifferencer()
83 differencer->set_scope(util::MessageDifferencer::FULL); in ExpectEqualsWithDifferencer()
86 differencer->set_scope(util::MessageDifferencer::PARTIAL); in ExpectEqualsWithDifferencer()
99 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST()
113 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST()
127 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST()
131 util::MessageDifferencer differencer; in TEST()
162 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST()
174 util::MessageDifferencer differencer; in TEST()
175 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST()
[all …]
Dmessage_differencer.h120 class PROTOBUF_EXPORT MessageDifferencer {
346 explicit MessageDifferencer();
348 ~MessageDifferencer();
694 explicit MapEntryKeyComparator(MessageDifferencer* message_differencer);
700 MessageDifferencer* message_differencer_;
895 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageDifferencer);
903 std::vector<MessageDifferencer::SpecificField>* parent_fields) in FieldContext()
906 std::vector<MessageDifferencer::SpecificField>* parent_fields() const { in parent_fields()
911 std::vector<MessageDifferencer::SpecificField>* parent_fields_;
Dfield_comparator.h54 class MessageDifferencer; variable
157 bool Compare(MessageDifferencer* differencer, const Message& message1,
Dfield_comparator.cc130 bool DefaultFieldComparator::Compare(MessageDifferencer* differencer, in Compare()
/external/libprotobuf-mutator/src/
Dmutator_test.cc32 using protobuf::util::MessageDifferencer;
401 EXPECT_FALSE(MessageDifferencer::Equals(from, to)); in Mutate()
404 EXPECT_FALSE(MessageDifferencer::Equals(from, to)); in Mutate()
408 if (MessageDifferencer::Equals(*message, to)) return true; in Mutate()
419 EXPECT_FALSE(MessageDifferencer::Equals(from, to)); in CrossOver()
422 EXPECT_FALSE(MessageDifferencer::Equals(from, to)); in CrossOver()
426 if (MessageDifferencer::Equals(*message, to)) return true; in CrossOver()
540 EXPECT_FALSE(MessageDifferencer::Equals(*m1_, *m2_)); in TEST_P()
601 EXPECT_FALSE(MessageDifferencer::Equals(m, tmp)); in TYPED_TEST()
607 if (MessageDifferencer::Equals(tmp, messages[1]) || in TYPED_TEST()
[all …]
Dmutator.cc40 using protobuf::util::MessageDifferencer;
156 return MessageDifferencer::Equals(*a, *b); in IsEqual()
/external/nos/host/generic/libnos/generator/test/
Dtest.cpp26 using ::google::protobuf::util::MessageDifferencer;
43 MATCHER_P(ProtoMessageEq, msg, "") { return MessageDifferencer::Equals(arg, msg); }
50 && MessageDifferencer::Equals(decoded, msg);
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dreplayer_test.cpp109 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
197 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
361 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dreplayer_test.cpp109 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
197 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
361 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dreplayer_test.cpp109 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
197 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
361 ASSERT_TRUE(google::protobuf::util::MessageDifferencer::Equals( in TEST()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_test.cc20 using protobuf_mutator::protobuf::util::MessageDifferencer;
50 return MessageDifferencer::Equals(arg, msg.get());
/external/tensorflow/tensorflow/python/framework/
Dproto_comparators.cc54 tf::protobuf::util::MessageDifferencer differencer; in EqualsGraphDef()
/external/protobuf/src/google/protobuf/
Dtest_util2.h76 return util::MessageDifferencer::Equals(message, other); in EqualsToSerialized()
Dmap_test.cc3110 EXPECT_TRUE(util::MessageDifferencer::Equals(u, t)); in TestDeterministicSerialization()
/external/protobuf/conformance/
Dconformance_test.cc53 using google::protobuf::util::MessageDifferencer;
266 MessageDifferencer differencer; in VerifyResponse()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc155 if (!MessageDifferencer::Equivalent(expected, *message)) { in CheckOutput()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2157 if (equals && !google::protobuf::util::MessageDifferencer::Equals( in RichCompare()
/external/protobuf/
DCHANGES.txt1169 - MessageDifferencer: compare two proto messages and report their