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

12

/external/chromium_org/third_party/protobuf/src/google/protobuf/
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 Dgenerated_message_reflection_unittest.cc62 unittest::TestAllTypes::descriptor()->FindFieldByName(name);
252 &message, descriptor->FindFieldByName("repeated_foreign_message")));
437 #define f(NAME) descriptor->FindFieldByName(NAME)
443 message, descriptor->FindFieldByName("optional_int64")),
453 message, descriptor->FindFieldByName("repeated_int32")),
461 message, unittest::ForeignMessage::descriptor()->FindFieldByName("c")),
469 message, unittest::ForeignMessage::descriptor()->FindFieldByName("c")),
H A Dtext_format_unittest.cc760 d->FindFieldByName(field_name), index);
830 d->FindFieldByName("optional_nested_message");
837 nested_field = d->FindFieldByName("repeated_nested_message");
857 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
863 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
869 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
875 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
881 valuestring, d->FindFieldByName("optional_" #name), message.get()));
965 "<bb:12>", d->FindFieldByName("optional_nested_message"), message.get()));
H A Dwire_format_unittest.cc667 field = desc->FindFieldByName("repeated_fixed32");
670 field = desc->FindFieldByName("repeated_int32");
673 field = desc->FindFieldByName("repeated_fixed64");
676 field = desc->FindFieldByName("repeated_int64");
679 field = desc->FindFieldByName("repeated_float");
682 field = desc->FindFieldByName("repeated_uint64");
696 unittest::TestAllTypes::descriptor()->FindFieldByName(
717 unittest::TestAllTypes::descriptor()->FindFieldByName(
H A Dunknown_field_set_unittest.cc67 const FieldDescriptor* field = descriptor_->FindFieldByName(name);
173 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a");
405 TestAllTypes::descriptor()->FindFieldByName("optional_nested_enum");
407 TestAllTypes::descriptor()->FindFieldByName("repeated_nested_enum");
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 Dtest_util.cc92 message->GetDescriptor()->FindFieldByName("optional_string_piece"),
96 message->GetDescriptor()->FindFieldByName("optional_cord"),
133 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
137 message->GetDescriptor()->FindFieldByName("repeated_cord"),
173 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
177 message->GetDescriptor()->FindFieldByName("repeated_cord"),
208 message->GetDescriptor()->FindFieldByName("default_string_piece"),
212 message->GetDescriptor()->FindFieldByName("default_cord"),
249 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
253 message->GetDescriptor()->FindFieldByName("repeated_cor
[all...]
H A Ddescriptor.h178 const FieldDescriptor* FindFieldByName(const string& name) const;
313 // then call Descriptor::FindFieldByName(). To get a FieldDescriptor for
1114 const FieldDescriptor* FindFieldByName(const string& name) const;
H A Dtext_format.cc349 field = descriptor->FindFieldByName(field_name);
356 field = descriptor->FindFieldByName(lower_field_name);
H A Ddescriptor.cc481 // contents of a single file -- e.g. Descriptor::FindFieldByName() --
1000 const FieldDescriptor* DescriptorPool::FindFieldByName( function in class:google::protobuf::DescriptorPool
1130 Descriptor::FindFieldByName(const string& key) const { function in class:google::protobuf::Descriptor
4262 options->GetDescriptor()->FindFieldByName("uninterpreted_option");
4270 FindFieldByName("uninterpreted_option");
4379 field = descriptor->FindFieldByName(name_part);
4491 options->GetDescriptor()->FindFieldByName("uninterpreted_option");
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection_unittest.cc62 unittest::TestAllTypes::descriptor()->FindFieldByName(name);
337 #define f(NAME) descriptor->FindFieldByName(NAME)
343 message, descriptor->FindFieldByName("optional_int64")),
353 message, descriptor->FindFieldByName("repeated_int32")),
361 message, unittest::ForeignMessage::descriptor()->FindFieldByName("c")),
369 message, unittest::ForeignMessage::descriptor()->FindFieldByName("c")),
H A Dwire_format_unittest.cc619 field = desc->FindFieldByName("repeated_fixed32");
622 field = desc->FindFieldByName("repeated_int32");
625 field = desc->FindFieldByName("repeated_fixed64");
628 field = desc->FindFieldByName("repeated_int64");
631 field = desc->FindFieldByName("repeated_float");
634 field = desc->FindFieldByName("repeated_uint64");
648 unittest::TestAllTypes::descriptor()->FindFieldByName(
669 unittest::TestAllTypes::descriptor()->FindFieldByName(
H A Dunknown_field_set_unittest.cc69 const FieldDescriptor* field = descriptor_->FindFieldByName(name);
173 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a");
396 TestAllTypes::descriptor()->FindFieldByName("optional_nested_enum");
398 TestAllTypes::descriptor()->FindFieldByName("repeated_nested_enum");
H A Dtext_format_unittest.cc711 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
717 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
723 valuestring, d->FindFieldByName("optional_" #name), message.get())); \
729 valuestring, d->FindFieldByName("optional_" #name), message.get()));
807 "<bb:12>", d->FindFieldByName("optional_nested_message"), message.get()));
H A Ddescriptor_unittest.cc394 // TestMessage2 is primarily here to test FindFieldByName and friends.
507 TEST_F(DescriptorTest, FindFieldByName) {
509 // fields. So, in addition to testing that FindFieldByName finds the fields
513 EXPECT_EQ(foo_, message_->FindFieldByName("foo"));
514 EXPECT_EQ(bar_, message_->FindFieldByName("bar"));
515 EXPECT_EQ(baz_, message_->FindFieldByName("baz"));
516 EXPECT_EQ(qux_, message_->FindFieldByName("qux"));
517 EXPECT_TRUE(message_->FindFieldByName("no_such_field") == NULL);
518 EXPECT_TRUE(message_->FindFieldByName("quux") == NULL);
520 EXPECT_EQ(foo2_ , message2_->FindFieldByName("fo
[all...]
H A Dtest_util.cc83 message->GetDescriptor()->FindFieldByName("optional_string_piece"),
87 message->GetDescriptor()->FindFieldByName("optional_cord"),
121 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
125 message->GetDescriptor()->FindFieldByName("repeated_cord"),
158 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
162 message->GetDescriptor()->FindFieldByName("repeated_cord"),
191 message->GetDescriptor()->FindFieldByName("default_string_piece"),
195 message->GetDescriptor()->FindFieldByName("default_cord"),
231 message->GetDescriptor()->FindFieldByName("repeated_string_piece"),
235 message->GetDescriptor()->FindFieldByName("repeated_cor
[all...]
H A Ddescriptor.h159 const FieldDescriptor* FindFieldByName(const string& name) const;
283 // then call Descriptor::FindFieldByName(). To get a FieldDescriptor for
984 const FieldDescriptor* FindFieldByName(const string& name) const;
H A Dtext_format.cc263 field = descriptor->FindFieldByName(field_name);
270 field = descriptor->FindFieldByName(lower_field_name);
H A Ddescriptor.cc422 // contents of a single file -- e.g. Descriptor::FindFieldByName() --
908 const FieldDescriptor* DescriptorPool::FindFieldByName( function in class:google::protobuf::DescriptorPool
1039 Descriptor::FindFieldByName(const string& key) const { function in class:google::protobuf::Descriptor
3815 options->GetDescriptor()->FindFieldByName("uninterpreted_option");
3823 FindFieldByName("uninterpreted_option");
3930 field = descriptor->FindFieldByName(name_part);
4045 options->GetDescriptor()->FindFieldByName("uninterpreted_option");
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc235 const FieldDescriptor* key_field = item_type->FindFieldByName("key");
237 const FieldDescriptor* items_field = map_type->FindFieldByName("items");
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc235 const FieldDescriptor* key_field = item_type->FindFieldByName("key");
237 const FieldDescriptor* items_field = map_type->FindFieldByName("items");
H A Dparser.cc669 FindFieldByName("uninterpreted_option");
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
H A Dpython_descriptor.cc185 field_descriptor = self->pool->FindFieldByName(full_field_name);
216 { C("FindFieldByName"),
H A Dpython-proto2.cc1027 descriptor->FindFieldByName(field_name);
1103 descriptor->FindFieldByName(field_name);
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dcpp_message.py60 return _pool.FindFieldByName(full_field_name)

Completed in 1348 milliseconds

12