Searched refs:fields1 (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 | 557 const vector<const FieldDescriptor*>& fields1, in CombineFields() argument 566 while (index1 < fields1.size() && index2 < fields2.size()) { in CombineFields() 567 const FieldDescriptor* field1 = fields1[index1]; in CombineFields() 572 combined_fields->push_back(fields1[index1]); in CombineFields() 581 combined_fields->push_back(fields1[index1]); in CombineFields() 1066 vector<IndexUnknownFieldPair> fields1; // unknown_field_set1, sorted in CompareUnknownFields() local 1068 fields1.reserve(unknown_field_set1.field_count()); in CompareUnknownFields() 1072 fields1.push_back(std::make_pair(i, &unknown_field_set1.field(i))); in CompareUnknownFields() 1079 std::stable_sort(fields1.begin(), fields1.end(), is_before); in CompareUnknownFields() 1095 while (index1 < fields1.size() || index2 < fields2.size()) { in CompareUnknownFields() [all …]
|
D | message_differencer_unittest.cc | 793 vector<const FieldDescriptor*> fields1; in TEST() local 795 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST() 799 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST() 808 vector<const FieldDescriptor*> fields1; in TEST() local 810 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST() 814 EXPECT_FALSE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST() 883 vector<const FieldDescriptor*> fields1; in TEST() local 885 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST() 888 std::random_shuffle(fields1.begin(), fields1.end()); in TEST() 892 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST() [all …]
|
D | message_differencer.h | 662 void CombineFields(const vector<const FieldDescriptor*>& fields1,
|