/third_party/protobuf/src/google/protobuf/ |
D | any.cc | 71 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors() 72 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
|
D | descriptor_unittest.cc | 845 TEST_F(DescriptorTest, FindFieldByNumber) { in TEST_F() argument 846 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F() 847 EXPECT_EQ(bar_, message_->FindFieldByNumber(6)); in TEST_F() 848 EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000)); in TEST_F() 849 EXPECT_EQ(qux_, message_->FindFieldByNumber(15)); in TEST_F() 850 EXPECT_TRUE(message_->FindFieldByNumber(837592) == nullptr); in TEST_F() 851 EXPECT_TRUE(message_->FindFieldByNumber(2) == nullptr); in TEST_F() 853 EXPECT_EQ(foo2_, message2_->FindFieldByNumber(1)); in TEST_F() 854 EXPECT_EQ(bar2_, message2_->FindFieldByNumber(2)); in TEST_F() 855 EXPECT_EQ(quux2_, message2_->FindFieldByNumber(6)); in TEST_F() [all …]
|
D | generated_message_reflection.cc | 506 field1 = descriptor_->FindFieldByNumber(oneof_case1); in SwapOneofField() 538 const FieldDescriptor* field2 = descriptor_->FindFieldByNumber(oneof_case2); in SwapOneofField() 1814 return descriptor_->FindFieldByNumber(field_number); in GetOneofFieldDescriptor() 2111 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case); in ClearOneof()
|
D | unknown_field_set_unittest.cc | 139 EXPECT_NE(descriptor_->FindFieldByNumber(t), nullptr); in TEST_F()
|
D | text_format_unittest.cc | 701 ->FindFieldByNumber( in TEST_F() 751 ->FindFieldByNumber( in TEST_F()
|
D | wire_format.cc | 355 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial() 801 field = descriptor->FindFieldByNumber(field_number); in _InternalParse()
|
D | descriptor.h | 322 const FieldDescriptor* FindFieldByNumber(int number) const;
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 276 …public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this… in FindFieldByNumber() method in Google.Protobuf.Reflection.MessageDescriptor 390 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);
|
D | OneofAccessor.cs | 93 ? Descriptor.ContainingType.FindFieldByNumber(fieldNumber) in GetCaseFieldDescriptor()
|
D | DescriptorPool.cs | 209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) in FindFieldByNumber() method in Google.Protobuf.Reflection.DescriptorPool
|
/third_party/grpc/third_party/upb/upbc/ |
D | message_layout.cc | 118 field_offsets_[descriptor->FindFieldByNumber(1)] = Place(size); in ComputeLayout() 119 field_offsets_[descriptor->FindFieldByNumber(2)] = Place(size); in ComputeLayout()
|
D | generator.cc | 402 const protobuf::FieldDescriptor* key = entry->FindFieldByNumber(1); in GenerateMessageInHeader() 403 const protobuf::FieldDescriptor* val = entry->FindFieldByNumber(2); in GenerateMessageInHeader() 466 const protobuf::FieldDescriptor* key = entry->FindFieldByNumber(1); in GenerateMessageInHeader() 467 const protobuf::FieldDescriptor* val = entry->FindFieldByNumber(2); in GenerateMessageInHeader()
|
D | protoc-gen-upb.cc | 295 const protobuf::FieldDescriptor* key = entry->FindFieldByNumber(1); in GenerateMessageInHeader() 296 const protobuf::FieldDescriptor* val = entry->FindFieldByNumber(2); in GenerateMessageInHeader() 359 const protobuf::FieldDescriptor* key = entry->FindFieldByNumber(1); in GenerateMessageInHeader() 360 const protobuf::FieldDescriptor* val = entry->FindFieldByNumber(2); in GenerateMessageInHeader()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 113 Assert.AreEqual(field, messageType.FindFieldByNumber(1)); in MessageDescriptor() 114 Assert.Null(messageType.FindFieldByNumber(571283)); in MessageDescriptor() 219 .Select(fieldNumber => TestAllTypes.Descriptor.FindFieldByNumber(fieldNumber)) in OneofDescriptor()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 192 Assert.AreEqual(field, messageType.FindFieldByNumber(1)); in MessageDescriptor() 193 Assert.Null(messageType.FindFieldByNumber(571283)); in MessageDescriptor() 336 .Select(fieldNumber => TestAllTypes.Descriptor.FindFieldByNumber(fieldNumber)) in OneofDescriptor()
|
D | FieldAccessTest.cs | 392 …tension(OptionalBoolExtension), Proto2.TestAllExtensions.Descriptor.FindFieldByNumber(OptionalBool… in GetExtensionValue() 402 …Assert.IsNotNull(Proto2.TestAllExtensions.Descriptor.FindFieldByNumber(RepeatedBoolExtension.Field… in GetRepeatedExtensionValue()
|
/third_party/grpc/third_party/upb/upb/ |
D | def.hpp | 158 FieldDefPtr FindFieldByNumber(uint32_t num) const { in FindFieldByNumber() function in upb::OneofDefPtr 189 FieldDefPtr FindFieldByNumber(uint32_t number) const { in FindFieldByNumber() function in upb::MessageDefPtr
|
/third_party/protobuf/src/google/protobuf/util/ |
D | field_mask_util.h | 65 T::descriptor()->FindFieldByNumber(field_number); in FromFieldNumbers()
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 170 var field = descriptor.FindFieldByNumber(fieldNumber);
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 175 field->message_type()->FindFieldByNumber(1); in GenerateField() 177 field->message_type()->FindFieldByNumber(2); in GenerateField()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 78 const google::protobuf::Field* FindFieldByNumber( 170 const google::protobuf::Field* field = FindFieldByNumber(type, tag >> 3); in FindAndVerifyField() 302 FindFieldByNumber(*field_type, 1); in RenderMap() 1107 const google::protobuf::Field* FindFieldByNumber( in FindFieldByNumber() function
|
/third_party/grpc/third_party/upb/tests/pb/ |
D | test_decoder.cc | 347 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(num); in doreg() 380 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(num); in reg_subm() 389 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(num); in reg_str()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 289 var keyField = type.FindFieldByNumber(1); in MergeMapField() 290 var valueField = type.FindFieldByNumber(2); in MergeMapField()
|
/third_party/grpc/third_party/upb/tests/ |
D | test_cpp.cc | 600 upb::FieldDefPtr f = h.message_def().FindFieldByNumber(T::kFieldNumber); in RegisterHandlers() 612 upb::FieldDefPtr f = md.FindFieldByNumber(T::kFieldNumber); in TestHandler()
|
/third_party/protobuf/ |
D | libprotobuf.map | 77 "google::protobuf::Descriptor::FindFieldByNumber(int) const";
|