Searched refs:lowercase_name (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor_unittest.cc | 1066 EXPECT_EQ("foo_foo", message_->field(0)->lowercase_name()); in TEST_F() 1067 EXPECT_EQ("foobar" , message_->field(1)->lowercase_name()); in TEST_F() 1068 EXPECT_EQ("foobaz" , message_->field(2)->lowercase_name()); in TEST_F() 1069 EXPECT_EQ("foofoo" , message_->field(3)->lowercase_name()); in TEST_F() 1070 EXPECT_EQ("foobar" , message_->field(4)->lowercase_name()); in TEST_F() 1072 EXPECT_EQ("bar_foo", message_->extension(0)->lowercase_name()); in TEST_F() 1073 EXPECT_EQ("barbar" , message_->extension(1)->lowercase_name()); in TEST_F() 1074 EXPECT_EQ("barbaz" , message_->extension(2)->lowercase_name()); in TEST_F() 1075 EXPECT_EQ("barfoo" , message_->extension(3)->lowercase_name()); in TEST_F() 1076 EXPECT_EQ("barbar" , message_->extension(4)->lowercase_name()); in TEST_F() [all …]
|
D | descriptor.h | 238 const string& lowercase_name) const; 525 const string& lowercase_name() const; 1686 PROTOBUF_DEFINE_STRING_ACCESSOR(FieldDescriptor, lowercase_name) in PROTOBUF_DEFINE_STRING_ACCESSOR()
|
D | descriptor.cc | 587 const void* parent, const string& lowercase_name) const; 828 const void* parent, const string& lowercase_name) const { in FindFieldByLowercaseName() 830 PointerStringPair(parent, lowercase_name.c_str())); in FindFieldByLowercaseName() 951 PointerStringPair lowercase_key(parent, field->lowercase_name().c_str()); in AddFieldByStylizedNames() 4215 string lowercase_name(proto.name()); in BuildFieldOrExtension() local 4216 LowerString(&lowercase_name); in BuildFieldOrExtension() 4217 if (lowercase_name == proto.name()) { in BuildFieldOrExtension() 4220 result->lowercase_name_ = tables_->AllocateString(lowercase_name); in BuildFieldOrExtension() 5196 string lowercase_name = ToLowercaseWithoutUnderscores( in ValidateProto3Message() local 5198 if (name_to_field.find(lowercase_name) != name_to_field.end()) { in ValidateProto3Message() [all …]
|