/external/protobuf/src/google/protobuf/ |
D | preserve_unknown_enum_test.cc | 206 const google::protobuf::FieldDescriptor* repeated_field = in TEST() local 208 enum_value = r->GetRepeatedEnum(message, repeated_field, 0); in TEST() 229 const google::protobuf::FieldDescriptor* repeated_field = in TEST() local 234 r->AddEnumValue(&message, repeated_field, 42); in TEST() 235 r->AddEnumValue(&message, repeated_field, 42); in TEST() 236 EXPECT_EQ(42, r->GetRepeatedEnumValue(message, repeated_field, 0)); in TEST() 237 r->SetRepeatedEnumValue(&message, repeated_field, 1, 84); in TEST() 238 EXPECT_EQ(84, r->GetRepeatedEnumValue(message, repeated_field, 1)); in TEST() 249 const google::protobuf::FieldDescriptor* repeated_field = in TEST() local 254 repeated_field->enum_type()->FindValueByName("BAR"); in TEST() [all …]
|
D | unknown_field_set_unittest.cc | 414 const FieldDescriptor* repeated_field = in TEST_F() local 417 ASSERT_TRUE(repeated_field != NULL); in TEST_F() 426 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::FOO); in TEST_F() 427 unknown_fields->AddVarint(repeated_field->number(), 4); // not valid in TEST_F() 428 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::BAZ); in TEST_F() 429 unknown_fields->AddVarint(repeated_field->number(), 6); // not valid in TEST_F() 448 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F() 452 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F() 478 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F() 482 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F()
|
D | map_field_inl.h | 405 RepeatedPtrField<EntryType>* repeated_field = in SyncRepeatedFieldWithMapNoLock() local 409 repeated_field->Clear(); in SyncRepeatedFieldWithMapNoLock() 417 repeated_field->AddAllocated(new_entry); in SyncRepeatedFieldWithMapNoLock() 431 RepeatedPtrField<EntryType>* repeated_field = in SyncMapWithRepeatedFieldNoLock() local 437 repeated_field->begin(); it != repeated_field->end(); ++it) { in SyncMapWithRepeatedFieldNoLock()
|
D | arena_unittest.cc | 661 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local 662 EXPECT_TRUE(repeated_field.empty()); in TEST() 663 EXPECT_EQ(0, repeated_field.size()); in TEST() 666 repeated_field.AddCleared(cleared); in TEST() 667 EXPECT_TRUE(repeated_field.empty()); in TEST() 668 EXPECT_EQ(0, repeated_field.size()); in TEST() 671 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local 672 EXPECT_TRUE(repeated_field.empty()); in TEST() 673 EXPECT_EQ(0, repeated_field.size()); in TEST() 676 repeated_field.AddAllocated(cleared); in TEST() [all …]
|
D | map_field_test.cc | 275 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect() local 296 EXPECT_TRUE(repeated_field == NULL); in Expect() 298 EXPECT_EQ(repeated_size, repeated_field->size()); in Expect()
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 744 bool MessageDifferencer::IsMatch(const FieldDescriptor* repeated_field, in IsMatch() argument 751 if (repeated_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsMatch() 753 *message1, *message2, repeated_field, index1, index2, in IsMatch() 766 *message1, *message2, repeated_field, index1, index2, in IsMatch() 772 reflection1->GetRepeatedMessage(*message1, repeated_field, index1); in IsMatch() 774 reflection2->GetRepeatedMessage(*message2, repeated_field, index2); in IsMatch() 776 specific_field.field = repeated_field; in IsMatch() 789 const FieldDescriptor* repeated_field, in CompareRepeatedField() argument 794 const int count1 = reflection1->FieldSize(message1, repeated_field); in CompareRepeatedField() 795 const int count2 = reflection2->FieldSize(message2, repeated_field); in CompareRepeatedField() [all …]
|
D | message_differencer.h | 730 bool IsMatch(const FieldDescriptor* repeated_field, 772 const FieldDescriptor* repeated_field,
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_unknown_enum_values.proto | 44 repeated Enum repeated_field = 2; field 56 repeated Enum repeated_field = 2; field
|
/external/protobuf/ruby/lib/google/protobuf/ |
D | repeated_field.rb | 178 repeated_field[i] = result if result != val
|
/external/protobuf/cmake/ |
D | libprotobuf-lite.cmake | 10 ${protobuf_source_dir}/src/google/protobuf/repeated_field.cc
|
D | extract_includes.bat.in | 70 …OTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\repeated_field.h include\google\protobuf\repeated…
|
/external/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 561 def check_self_modifying_method(repeated_field, ref_array) argument 563 actual_result = yield(repeated_field) 569 assert_equal ref_array, repeated_field
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
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()
|
/external/protobuf/js/ |
D | test.proto | 218 repeated string repeated_field = 9; field
|
/external/protobuf/ |
D | Android.bp | 45 "src/google/protobuf/repeated_field.cc", 293 "src/google/protobuf/repeated_field.cc",
|
D | Makefile.am | 637 ruby/ext/google/protobuf_c/repeated_field.c \ 643 ruby/lib/google/protobuf/repeated_field.rb \
|
D | BUILD | 82 "src/google/protobuf/repeated_field.cc",
|
D | CHANGES.txt | 786 item = repeated_field.add() 790 repeated_field.add(foo=bar, baz=quux)
|
/external/protobuf/src/ |
D | Makefile.am | 123 google/protobuf/repeated_field.h \ 205 google/protobuf/repeated_field.cc \
|
/external/protobuf/util/ |
D | Makefile.am | 637 ruby/ext/google/protobuf_c/repeated_field.c \ 643 ruby/lib/google/protobuf/repeated_field.rb \
|
D | BUILD | 82 "src/google/protobuf/repeated_field.cc",
|
D | CHANGES.txt | 786 item = repeated_field.add() 790 repeated_field.add(foo=bar, baz=quux)
|