Searched refs:fields2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | message_differencer.cc | 559 const vector<const FieldDescriptor*>& fields2, in CombineFields() argument 566 while (index1 < fields1.size() && index2 < fields2.size()) { in CombineFields() 568 const FieldDescriptor* field2 = fields2[index2]; in CombineFields() 577 combined_fields->push_back(fields2[index2]); in CombineFields() 1067 vector<IndexUnknownFieldPair> fields2; // unknown_field_set2, sorted in CompareUnknownFields() local 1069 fields2.reserve(unknown_field_set2.field_count()); in CompareUnknownFields() 1075 fields2.push_back(std::make_pair(i, &unknown_field_set2.field(i))); in CompareUnknownFields() 1080 std::stable_sort(fields2.begin(), fields2.end(), is_before); in CompareUnknownFields() 1095 while (index1 < fields1.size() || index2 < fields2.size()) { in CompareUnknownFields() 1104 if (index2 == fields2.size() || in CompareUnknownFields() [all …]
|
D | message_differencer_unittest.cc | 794 vector<const FieldDescriptor*> fields2; in TEST() local 796 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST() 799 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST() 809 vector<const FieldDescriptor*> fields2; in TEST() local 811 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST() 814 EXPECT_FALSE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST() 884 vector<const FieldDescriptor*> fields2; in TEST() local 886 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST() 889 std::random_shuffle(fields2.begin(), fields2.end()); in TEST() 892 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST() [all …]
|
D | message_differencer.h | 664 const vector<const FieldDescriptor*>& fields2,
|