Searched refs:FindValueByName (Results 1 - 10 of 10) sorted by relevance
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_unittest.cc | 850 // TestEnum2 is primarily here to test FindValueByName and friends. 929 TEST_F(EnumDescriptorTest, FindValueByName) { 930 EXPECT_EQ(foo_ , enum_ ->FindValueByName("FOO")); 931 EXPECT_EQ(bar_ , enum_ ->FindValueByName("BAR")); 932 EXPECT_EQ(foo2_, enum2_->FindValueByName("FOO")); 933 EXPECT_EQ(baz2_, enum2_->FindValueByName("BAZ")); 935 EXPECT_TRUE(enum_ ->FindValueByName("NO_SUCH_VALUE") == NULL); 936 EXPECT_TRUE(enum_ ->FindValueByName("BAZ" ) == NULL); 937 EXPECT_TRUE(enum2_->FindValueByName("BAR" ) == NULL); 2399 const EnumValueDescriptor* enumv = enumd->FindValueByName("VALU [all...] |
H A D | descriptor.h | 612 const EnumValueDescriptor* FindValueByName(const string& name) const; 679 // for its type, then use EnumDescriptor::FindValueByName() or
|
H A D | generated_message_reflection.cc | 51 const EnumValueDescriptor* d = descriptor->FindValueByName(name);
|
H A D | text_format.cc | 619 enum_value = enum_type->FindValueByName(value);
|
H A D | descriptor.cc | 1207 EnumDescriptor::FindValueByName(const string& key) const { function in class:google::protobuf::EnumDescriptor 3878 // We can't just use field->enum_type()->FindValueByName() here 4727 enum_value = enum_type->FindValueByName(value_name);
|
/external/protobuf/src/google/protobuf/ |
H A D | descriptor_unittest.cc | 848 // TestEnum2 is primarily here to test FindValueByName and friends. 927 TEST_F(EnumDescriptorTest, FindValueByName) { 928 EXPECT_EQ(foo_ , enum_ ->FindValueByName("FOO")); 929 EXPECT_EQ(bar_ , enum_ ->FindValueByName("BAR")); 930 EXPECT_EQ(foo2_, enum2_->FindValueByName("FOO")); 931 EXPECT_EQ(baz2_, enum2_->FindValueByName("BAZ")); 933 EXPECT_TRUE(enum_ ->FindValueByName("NO_SUCH_VALUE") == NULL); 934 EXPECT_TRUE(enum_ ->FindValueByName("BAZ" ) == NULL); 935 EXPECT_TRUE(enum2_->FindValueByName("BAR" ) == NULL); 3880 EXPECT_TRUE(test_enum->FindValueByName("NO_SUCH_VALU [all...] |
H A D | descriptor.h | 565 const EnumValueDescriptor* FindValueByName(const string& name) const; 621 // for its type, then use EnumDescriptor::FindValueByName() or
|
H A D | text_format.cc | 422 = enum_type->FindValueByName(value);
|
H A D | generated_message_reflection.cc | 65 const EnumValueDescriptor* d = descriptor->FindValueByName(name);
|
H A D | descriptor.cc | 1116 EnumDescriptor::FindValueByName(const string& key) const { function in class:google::protobuf::EnumDescriptor 3484 // We can't just use field->enum_type()->FindValueByName() here 4281 enum_value = enum_type->FindValueByName(value_name);
|
Completed in 303 milliseconds