/third_party/protobuf/src/google/protobuf/ |
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->enum_type()->FindValueByName("BAR"); in TEST() [all …]
|
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()
|
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->number(), unknown_fields.field(2).number()); in TEST_F()
|
D | map_field_test.cc | 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()
|
D | arena_unittest.cc | 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() 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.empty()); in TEST() 690 EXPECT_EQ(0, repeated_field.size()); in TEST() 693 repeated_field.AddAllocated(cleared); in TEST() [all …]
|
/third_party/protobuf/php/ext/google/protobuf/ |
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/src/google/protobuf/util/ |
D | message_differencer.cc | 877 const FieldDescriptor* repeated_field, in IsMatch() argument 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() argument 926 const int count1 = reflection1->FieldSize(message1, repeated_field); in CompareRepeatedField() 927 const int count2 = reflection2->FieldSize(message2, repeated_field); in CompareRepeatedField() [all …]
|
D | message_differencer.h | 798 bool IsMatch(const FieldDescriptor* repeated_field, 849 const FieldDescriptor* repeated_field,
|
/third_party/protobuf/php/tests/proto/ |
D | test.proto | 241 repeated google.protobuf.Int32Value repeated_field = 2; field 250 repeated google.protobuf.Int64Value repeated_field = 2; field 259 repeated google.protobuf.UInt32Value repeated_field = 2; field 268 repeated google.protobuf.UInt64Value repeated_field = 2; field 277 repeated google.protobuf.BoolValue repeated_field = 2; field 286 repeated google.protobuf.StringValue repeated_field = 2; field 296 repeated google.protobuf.BytesValue repeated_field = 2; field
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | Message.php | 132 $repeated_field = new RepeatedField( 135 $this->$setter($repeated_field); 138 $repeated_field = new RepeatedField( 141 $this->$setter($repeated_field); 144 $repeated_field = new RepeatedField($field->getType()); 145 $this->$setter($repeated_field); 579 $repeated_field = new RepeatedField( 582 $this->$setter($repeated_field); 585 $repeated_field = new RepeatedField( 588 $this->$setter($repeated_field); [all …]
|
/third_party/protobuf/cmake/ |
D | libprotobuf-lite.cmake | 17 ${protobuf_source_dir}/src/google/protobuf/repeated_field.cc 44 ${protobuf_source_dir}/src/google/protobuf/repeated_field.h
|
D | extract_includes.bat.in | 83 …TOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\repeated_field.h" include\google\protobuf\repeated…
|
/third_party/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()
|
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | repeated_field_test.rb | 563 def check_self_modifying_method(repeated_field, ref_array) argument 565 actual_result = yield(repeated_field) 571 assert_equal ref_array, repeated_field
|
/third_party/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 585 def check_self_modifying_method(repeated_field, ref_array) argument 587 actual_result = yield(repeated_field) 593 assert_equal ref_array, repeated_field
|
/third_party/ffmpeg/libavfilter/ |
D | vf_idet.c | 77 static const char *rep2str(RepeatedField repeated_field) in rep2str() argument 79 switch(repeated_field) { in rep2str()
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/ |
D | test.proto | 219 repeated string repeated_field = 9; field
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/ |
D | test.proto | 219 repeated string repeated_field = 9; field
|
/third_party/spirv-tools/source/fuzz/ |
D | fuzzer_util.h | 133 const google::protobuf::RepeatedField<uint32_t>& repeated_field);
|
D | fuzzer_util.cpp | 368 const google::protobuf::RepeatedField<uint32_t>& repeated_field) { in RepeatedFieldToVector() argument 370 for (auto i : repeated_field) { in RepeatedFieldToVector()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_util.h | 129 const google::protobuf::RepeatedField<uint32_t>& repeated_field);
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | fuzzer_util.h | 129 const google::protobuf::RepeatedField<uint32_t>& repeated_field);
|
D | fuzzer_util.cpp | 361 const google::protobuf::RepeatedField<uint32_t>& repeated_field) { in RepeatedFieldToVector() argument 363 for (auto i : repeated_field) { in RepeatedFieldToVector()
|
/third_party/protobuf/js/ |
D | test.proto | 242 repeated string repeated_field = 9; field
|
/third_party/protobuf/ |
D | BUILD.gn | 38 "src/google/protobuf/repeated_field.cc", 96 "src/google/protobuf/repeated_field.cc",
|