HomeSort by relevance Sort by last modified time
    Searched refs:FindFieldByName (Results 1 - 11 of 11) sorted by null

  /external/protobuf/src/google/protobuf/
generated_message_reflection_unittest.cc 62 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")),
wire_format_unittest.cc 619 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(
unknown_field_set_unittest.cc 69 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");
text_format_unittest.cc 711 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()));
    [all...]
descriptor_unittest.cc 394 // 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("foo" ))
    [all...]
test_util.cc 83 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_cord")
    [all...]
descriptor.h 159 const FieldDescriptor* FindFieldByName(const string& name) const;
283 // then call Descriptor::FindFieldByName(). To get a FieldDescriptor for
    [all...]
text_format.cc 263 field = descriptor->FindFieldByName(field_name);
270 field = descriptor->FindFieldByName(lower_field_name);
    [all...]
descriptor.cc 422 // contents of a single file -- e.g. Descriptor::FindFieldByName() --
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
importer_unittest.cc 235 const FieldDescriptor* key_field = item_type->FindFieldByName("key");
237 const FieldDescriptor* items_field = map_type->FindFieldByName("items");
parser.cc 669 FindFieldByName("uninterpreted_option");
    [all...]

Completed in 126 milliseconds