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

/external/protobuf/src/google/protobuf/
H A Ddynamic_message_unittest.cc165 *message, descriptor->FindFieldByName("foo_int")));
167 *message, descriptor->FindFieldByName("foo_string")));
169 *message, descriptor->FindFieldByName("foo_cord")));
171 *message, descriptor->FindFieldByName("foo_string_piece")));
173 *message, descriptor->FindFieldByName("foo_bytes")));
175 *message, descriptor->FindFieldByName("foo_enum"))->number());
183 *message, descriptor->FindFieldByName("foo_message")));
191 *message, descriptor->FindFieldByName("foogroup")));
194 *message, descriptor->FindFieldByName("foo_lazy_message")));
196 *message, descriptor->FindFieldByName("bar_in
[all...]
H A Dgenerated_message_reflection_unittest.cc62 unittest::TestAllTypes::descriptor()->FindFieldByName(name);
221 fields.push_back(descriptor->FindFieldByName("optional_double"));
222 fields.push_back(descriptor->FindFieldByName("repeated_int32"));
223 fields.push_back(descriptor->FindFieldByName("optional_string"));
224 fields.push_back(descriptor->FindFieldByName("optional_uint64"));
357 &message, descriptor->FindFieldByName("repeated_foreign_message")));
566 message, descriptor->FindFieldByName("foo_int")));
568 message, descriptor->FindFieldByName("foo_string")));
570 message, descriptor->FindFieldByName("foo_cord")));
572 message, descriptor->FindFieldByName("foo_string_piec
[all...]
H A Drepeated_field_reflection_unittest.cc76 desc->FindFieldByName("repeated_int32");
78 desc->FindFieldByName("repeated_double");
80 desc->FindFieldByName("repeated_string");
82 desc->FindFieldByName("repeated_foreign_message");
150 desc->FindFieldByName("optional_int32");
H A Dtext_format_unittest.cc431 message.GetDescriptor()->FindFieldByName("optional_int32"),
443 message.GetDescriptor()->FindFieldByName("optional_int32"),
969 d->FindFieldByName(field_name), index);
1039 d->FindFieldByName("optional_nested_message");
1046 nested_field = d->FindFieldByName("repeated_nested_message");
1066 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
1072 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
1078 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
1084 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
1090 valuestring, d->FindFieldByName("optional
[all...]
H A Dunknown_field_set_unittest.cc67 const FieldDescriptor* field = descriptor_->FindFieldByName(name);
178 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a");
410 TestAllTypes::descriptor()->FindFieldByName("optional_nested_enum");
412 TestAllTypes::descriptor()->FindFieldByName("repeated_nested_enum");
H A Dwire_format_unittest.cc746 field = desc->FindFieldByName("repeated_fixed32");
749 field = desc->FindFieldByName("repeated_int32");
752 field = desc->FindFieldByName("repeated_fixed64");
755 field = desc->FindFieldByName("repeated_int64");
758 field = desc->FindFieldByName("repeated_float");
761 field = desc->FindFieldByName("repeated_uint64");
803 unittest::TestAllTypes::descriptor()->FindFieldByName(
824 unittest::TestAllTypes::descriptor()->FindFieldByName(
H A Dtest_util.cc93 message->GetDescriptor()->FindFieldByName("optional_string_piece"),
97 message->GetDescriptor()->FindFieldByName("optional_cord"),
134 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
138 message->GetDescriptor()->FindFieldByName("repeated_cord"),
174 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
178 message->GetDescriptor()->FindFieldByName("repeated_cord"),
209 message->GetDescriptor()->FindFieldByName("default_string_piece"),
213 message->GetDescriptor()->FindFieldByName("default_cord"),
250 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
254 message->GetDescriptor()->FindFieldByName("repeated_cor
[all...]
H A Ddescriptor_unittest.cc396 // TestMessage2 is primarily here to test FindFieldByName and friends.
509 TEST_F(DescriptorTest, FindFieldByName) {
511 // fields. So, in addition to testing that FindFieldByName finds the fields
515 EXPECT_EQ(foo_, message_->FindFieldByName("foo"));
516 EXPECT_EQ(bar_, message_->FindFieldByName("bar"));
517 EXPECT_EQ(baz_, message_->FindFieldByName("baz"));
518 EXPECT_EQ(qux_, message_->FindFieldByName("qux"));
519 EXPECT_TRUE(message_->FindFieldByName("no_such_field") == NULL);
520 EXPECT_TRUE(message_->FindFieldByName("quux") == NULL);
522 EXPECT_EQ(foo2_ , message2_->FindFieldByName("fo
[all...]
H A Ddescriptor.h182 const FieldDescriptor* FindFieldByName(const string& name) const;
332 // then call Descriptor::FindFieldByName(). To get a FieldDescriptor for
1223 const FieldDescriptor* FindFieldByName(const string& name) const;
H A Dtext_format.cc387 field = descriptor->FindFieldByName(field_name);
394 field = descriptor->FindFieldByName(lower_field_name);
H A Ddescriptor.cc501 // contents of a single file -- e.g. Descriptor::FindFieldByName() --
1070 const FieldDescriptor* DescriptorPool::FindFieldByName( function in class:google::protobuf::DescriptorPool
1211 Descriptor::FindFieldByName(const string& key) const { function in class:google::protobuf::Descriptor
4690 options->GetDescriptor()->FindFieldByName("uninterpreted_option");
4698 FindFieldByName("uninterpreted_option");
4807 field = descriptor->FindFieldByName(name_part);
4929 options->GetDescriptor()->FindFieldByName("uninterpreted_option");
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.h77 PyObject* FindFieldByName(CDescriptorPool* self, PyObject* name);
H A Ddescriptor.cc173 PyObject* FindFieldByName(CDescriptorPool* self, PyObject* name) { function in namespace:google::protobuf::python::cdescriptor_pool
181 field_descriptor = self->pool->FindFieldByName(full_field_name);
210 { C("FindFieldByName"),
211 (PyCFunction)FindFieldByName,
H A Dmessage.cc875 descriptor->FindFieldByName(field_name);
1882 cdescriptor_pool::FindFieldByName(descriptor_pool, full_field_name);
2121 return cdescriptor_pool::FindFieldByName(descriptor_pool, arg);
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc240 const FieldDescriptor* key_field = item_type->FindFieldByName("key");
242 const FieldDescriptor* items_field = map_type->FindFieldByName("items");
H A Dparser.cc1020 FindFieldByName("uninterpreted_option");
H A Dparser_unittest.cc1725 descriptor_proto.GetDescriptor()->FindFieldByName(field_name);
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc398 if (descriptor->FindFieldByName(function_name)) {
/external/protobuf/python/google/protobuf/internal/
H A Dcpp_message.py60 return _pool.FindFieldByName(full_field_name)

Completed in 289 milliseconds