Searched refs:FindFieldByNumber (Results 1 - 19 of 19) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DOneofAccessor.cs85 return descriptor.ContainingType.FindFieldByNumber(fieldNumber);
H A DMessageDescriptor.cs208 public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this, number); method in class:Google.Protobuf.Reflection.MessageDescriptor
287 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);
H A DDescriptorPool.cs209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) method in class:Google.Protobuf.Reflection.DescriptorPool
/external/protobuf/src/google/protobuf/
H A Dany.cc104 *type_url_field = descriptor->FindFieldByNumber(1);
105 *value_field = descriptor->FindFieldByNumber(2);
H A Ddescriptor_unittest.cc741 TEST_F(DescriptorTest, FindFieldByNumber) {
742 EXPECT_EQ(foo_, message_->FindFieldByNumber(1));
743 EXPECT_EQ(bar_, message_->FindFieldByNumber(6));
744 EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000));
745 EXPECT_EQ(qux_, message_->FindFieldByNumber(15));
746 EXPECT_TRUE(message_->FindFieldByNumber(837592) == NULL);
747 EXPECT_TRUE(message_->FindFieldByNumber(2) == NULL);
749 EXPECT_EQ(foo2_ , message2_->FindFieldByNumber(1));
750 EXPECT_EQ(bar2_ , message2_->FindFieldByNumber(2));
751 EXPECT_EQ(quux2_, message2_->FindFieldByNumber(
[all...]
H A Dtext_format.cc81 *type_url_field = descriptor->FindFieldByNumber(1);
82 *value_field = descriptor->FindFieldByNumber(2);
429 field = descriptor->FindFieldByNumber(field_number);
H A Dgenerated_message_reflection.cc534 field1 = descriptor_->FindFieldByNumber(oneof_case1);
567 descriptor_->FindFieldByNumber(oneof_case2);
1776 return descriptor_->FindFieldByNumber(field_number);
2132 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case);
H A Dunknown_field_set_unittest.cc121 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i);
H A Ddescriptor.h230 const FieldDescriptor* FindFieldByNumber(int number) const;
H A Dwire_format.cc403 field = descriptor->FindFieldByNumber(field_number);
H A Ddescriptor.cc584 inline const FieldDescriptor* FindFieldByNumber(
822 inline const FieldDescriptor* FileDescriptorTables::FindFieldByNumber( function in class:google::protobuf::FileDescriptorTables
1324 Descriptor::FindFieldByNumber(int key) const { function in class:google::protobuf::Descriptor
1326 file()->tables_->FindFieldByNumber(this, key);
4967 file_tables_->FindFieldByNumber(field->containing_type(),
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs113 Assert.AreEqual(field, messageType.FindFieldByNumber(1));
114 Assert.Null(messageType.FindFieldByNumber(571283));
219 .Select(fieldNumber => TestAllTypes.Descriptor.FindFieldByNumber(fieldNumber))
/external/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator.cc120 field->message_type()->FindFieldByNumber(1);
122 field->message_type()->FindFieldByNumber(2);
/external/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectsource.cc77 const google::protobuf::Field* FindFieldByNumber(
155 const google::protobuf::Field* field = FindFieldByNumber(type, tag >> 3);
278 FindFieldByNumber(*field_type, 1);
1062 const google::protobuf::Field* FindFieldByNumber( function in namespace:google::protobuf::util::converter::__anon19120
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_containers.cc946 return GetDescriptor(self)->FindFieldByNumber(number);
/external/protobuf/php/ext/google/protobuf/
H A Dupb.h1888 FieldDef* FindFieldByNumber(uint32_t number);
1890 const FieldDef* FindFieldByNumber(uint32_t number) const;
2352 const FieldDef* FindFieldByNumber(uint32_t num) const;
2701 inline FieldDef* MessageDef::FindFieldByNumber(uint32_t number) { function in class:upb::MessageDef
2707 inline const FieldDef* MessageDef::FindFieldByNumber(uint32_t number) const { function in class:upb::MessageDef
2936 inline const FieldDef* OneofDef::FindFieldByNumber(uint32_t num) const { function in class:upb::OneofDef
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.h2366 FieldDef* FindFieldByNumber(uint32_t number);
2368 const FieldDef* FindFieldByNumber(uint32_t number) const;
2838 const FieldDef* FindFieldByNumber(uint32_t num) const;
3326 inline FieldDef* MessageDef::FindFieldByNumber(uint32_t number) { function in class:upb::MessageDef
3332 inline const FieldDef* MessageDef::FindFieldByNumber(uint32_t number) const { function in class:upb::MessageDef
3564 inline const FieldDef* OneofDef::FindFieldByNumber(uint32_t num) const { function in class:upb::OneofDef
/external/protobuf/src/google/protobuf/compiler/
H A Dparser_unittest.cc2032 const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin);
/external/tensorflow/tensorflow/compiler/xla/client/
H A Dcomputation_builder.cc99 OpRequest::descriptor()->FindFieldByNumber(op_request->op_case())->name();

Completed in 954 milliseconds