Searched refs:GetEnumValueName (Results 1 – 5 of 5) sorted by relevance
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_generator_unittest.cc | 49 EXPECT_EQ("Bar", GetEnumValueName("Foo", "BAR")); in TEST() 50 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "BAR_BAZ")); in TEST() 51 EXPECT_EQ("Bar", GetEnumValueName("Foo", "FOO_BAR")); in TEST() 52 EXPECT_EQ("Bar", GetEnumValueName("Foo", "FOO__BAR")); in TEST() 53 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "FOO_BAR_BAZ")); in TEST() 54 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "Foo_BarBaz")); in TEST() 55 EXPECT_EQ("Bar", GetEnumValueName("FO_O", "FOO_BAR")); in TEST() 56 EXPECT_EQ("Bar", GetEnumValueName("FOO", "F_O_O_BAR")); in TEST() 57 EXPECT_EQ("Bar", GetEnumValueName("Foo", "BAR")); in TEST() 58 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "BAR_BAZ")); in TEST() [all …]
|
D | csharp_enum.cc | 69 string name = GetEnumValueName(descriptor_->name(), descriptor_->value(i)->name()); in Generate()
|
D | csharp_helpers.h | 104 std::string PROTOC_EXPORT GetEnumValueName(const std::string& enum_name,
|
D | csharp_field_base.cc | 341 …GetEnumValueName(descriptor->default_value_enum()->type()->name(), descriptor->default_value_enum(… in default_value()
|
D | csharp_helpers.cc | 274 std::string GetEnumValueName(const std::string& enum_name, const std::string& enum_value_name) { in GetEnumValueName() function
|