/third_party/protobuf/src/google/protobuf/ |
H A D | preserve_unknown_enum_test.cc | 202 const FieldDescriptor* repeated_field = d->FindFieldByName("repeated_e"); in TEST() local 203 enum_value = r->GetRepeatedEnum(message, repeated_field, 0); in TEST() 224 const FieldDescriptor* repeated_field = d->FindFieldByName("repeated_e"); in TEST() local 228 r->AddEnumValue(&message, repeated_field, 42); in TEST() 229 r->AddEnumValue(&message, repeated_field, 42); in TEST() 230 EXPECT_EQ(42, r->GetRepeatedEnumValue(message, repeated_field, 0)); in TEST() 231 r->SetRepeatedEnumValue(&message, repeated_field, 1, 84); in TEST() 232 EXPECT_EQ(84, r->GetRepeatedEnumValue(message, repeated_field, 1)); in TEST() 242 const FieldDescriptor* repeated_field = in TEST() local 247 repeated_field in TEST() [all...] |
H A D | unknown_field_set_unittest.cc | 457 const FieldDescriptor* repeated_field = in TEST_F() local 460 ASSERT_TRUE(repeated_field != NULL); in TEST_F() 469 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::FOO); in TEST_F() 470 unknown_fields->AddVarint(repeated_field->number(), 4); // not valid in TEST_F() 471 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::BAZ); in TEST_F() 472 unknown_fields->AddVarint(repeated_field->number(), 6); // not valid in TEST_F() 491 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F() 495 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F() 521 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F() 525 EXPECT_EQ(repeated_field in TEST_F() [all...] |
H A D | map_field_inl.h | 180 RepeatedPtrField<EntryType>* repeated_field = in Clear() local 183 repeated_field->Clear(); in Clear() 290 RepeatedPtrField<EntryType>* repeated_field = in SyncRepeatedFieldWithMapNoLock() local 294 repeated_field->Clear(); in SyncRepeatedFieldWithMapNoLock() 306 repeated_field->AddAllocated(new_entry); in SyncRepeatedFieldWithMapNoLock() 318 RepeatedPtrField<EntryType>* repeated_field = in SyncMapWithRepeatedFieldNoLock() local 324 repeated_field->begin(); in SyncMapWithRepeatedFieldNoLock() 325 it != repeated_field->end(); ++it) { in SyncMapWithRepeatedFieldNoLock()
|
H A D | map_field_test.cc | 45 #include <google/protobuf/repeated_field.h> 262 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect() local 283 EXPECT_TRUE(repeated_field == NULL); in Expect() 285 if (repeated_field == nullptr) { in Expect() 288 EXPECT_EQ(repeated_size, repeated_field->size()); in Expect()
|
H A D | arena_unittest.cc | 53 #include <google/protobuf/repeated_field.h> 678 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local 679 EXPECT_TRUE(repeated_field.empty()); in TEST() 680 EXPECT_EQ(0, repeated_field.size()); in TEST() 681 // Ownership is passed to repeated_field. in TEST() 683 repeated_field.AddCleared(cleared); in TEST() 684 EXPECT_TRUE(repeated_field.empty()); in TEST() 685 EXPECT_EQ(0, repeated_field.size()); in TEST() 688 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local 689 EXPECT_TRUE(repeated_field in TEST() [all...] |
H A D | generated_message_table_driven.cc | 38 #include <google/protobuf/repeated_field.h>
|
H A D | generated_message_table_driven_lite.cc | 37 #include <google/protobuf/repeated_field.h>
|
H A D | repeated_field.cc | 35 #include <google/protobuf/repeated_field.h>
|
H A D | dynamic_message.h | 49 #include <google/protobuf/repeated_field.h>
|
H A D | implicit_weak_message.h | 39 #include <google/protobuf/repeated_field.h>
|
H A D | empty.pb.h | 32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
H A D | generated_message_util.h | 55 #include <google/protobuf/repeated_field.h>
|
H A D | duration.pb.h | 32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
H A D | source_context.pb.h | 32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
H A D | timestamp.pb.h | 32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | message_differencer.cc | 877 const FieldDescriptor* repeated_field, in IsMatch() 882 if (repeated_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsMatch() 884 repeated_field, index1, index2, in IsMatch() 897 repeated_field, index1, index2, in IsMatch() 903 reflection1->GetRepeatedMessage(*message1, repeated_field, index1); in IsMatch() 905 reflection2->GetRepeatedMessage(*message2, repeated_field, index2); in IsMatch() 907 specific_field.field = repeated_field; in IsMatch() 921 const FieldDescriptor* repeated_field, in CompareRepeatedField() 926 const int count1 = reflection1->FieldSize(message1, repeated_field); in CompareRepeatedField() 927 const int count2 = reflection2->FieldSize(message2, repeated_field); in CompareRepeatedField() 876 IsMatch( const FieldDescriptor* repeated_field, const MapKeyComparator* key_comparator, const Message* message1, const Message* message2, const std::vector<SpecificField>& parent_fields, Reporter* reporter, int index1, int index2) IsMatch() argument 919 CompareRepeatedField( const Message& message1, const Message& message2, const FieldDescriptor* repeated_field, std::vector<SpecificField>* parent_fields) CompareRepeatedField() argument 1581 MatchRepeatedFieldIndices( const Message& message1, const Message& message2, const FieldDescriptor* repeated_field, const MapKeyComparator* key_comparator, const std::vector<SpecificField>& parent_fields, std::vector<int>* match_list1, std::vector<int>* match_list2) MatchRepeatedFieldIndices() argument [all...] |
H A D | message_differencer.h | 798 bool IsMatch(const FieldDescriptor* repeated_field, 849 const FieldDescriptor* repeated_field,
|
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | array.c | 47 static void RepeatedFieldIter_make(zval *val, zval *repeated_field); 435 zval repeated_field; member 452 ZVAL_NULL(&intern->repeated_field); in RepeatedFieldIter_create() 467 zval_ptr_dtor(&intern->repeated_field); in RepeatedFieldIter_dtor() 476 static void RepeatedFieldIter_make(zval *val, zval *repeated_field) { in RepeatedFieldIter_make() argument 481 ZVAL_COPY(&iter->repeated_field, repeated_field); in RepeatedFieldIter_make() 515 RepeatedField *field = (RepeatedField*)Z_OBJ_P(&intern->repeated_field); in PHP_METHOD() 558 RepeatedField *field = (RepeatedField*)Z_OBJ_P(&intern->repeated_field); in PHP_METHOD()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | Message.php | 132 $repeated_field = new RepeatedField( variable 135 $this->$setter($repeated_field); 138 $repeated_field = new RepeatedField( variable 141 $this->$setter($repeated_field); 144 $repeated_field = new RepeatedField($field->getType()); variable 145 $this->$setter($repeated_field); 579 $repeated_field = new RepeatedField( variable 582 $this->$setter($repeated_field); 585 $repeated_field = new RepeatedField( variable 588 $this->$setter($repeated_field); 591 $repeated_field = new RepeatedField($field->getType()); global() variable [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | repeated_field.c | 54 static int index_position(VALUE _index, RepeatedField* repeated_field) { in index_position() argument 56 if (index < 0 && repeated_field->size > 0) { in index_position() 57 index = repeated_field->size + index; in index_position() 342 * RepeatedField.dup => repeated_field
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | utility.h | 42 #include <google/protobuf/repeated_field.h>
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_idet.c | 76 static const char *rep2str(RepeatedField repeated_field) in rep2str() argument 78 switch(repeated_field) { in rep2str()
|
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
H A D | repeated_field_test.rb | 563 def check_self_modifying_method(repeated_field, ref_array) 565 actual_result = yield(repeated_field) 571 assert_equal ref_array, repeated_field
|
/third_party/protobuf/ruby/tests/ |
H A D | repeated_field_test.rb | 585 def check_self_modifying_method(repeated_field, ref_array) 587 actual_result = yield(repeated_field) 593 assert_equal ref_array, repeated_field
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser.h | 46 #include <google/protobuf/repeated_field.h>
|