Home
last modified time | relevance | path

Searched refs:GetEnumValueName (Results 1 – 5 of 5) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_generator_unittest.cc49 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 …]
Dcsharp_enum.cc69 string name = GetEnumValueName(descriptor_->name(), descriptor_->value(i)->name()); in Generate()
Dcsharp_helpers.h104 std::string PROTOC_EXPORT GetEnumValueName(const std::string& enum_name,
Dcsharp_field_base.cc341GetEnumValueName(descriptor->default_value_enum()->type()->name(), descriptor->default_value_enum(… in default_value()
Dcsharp_helpers.cc274 std::string GetEnumValueName(const std::string& enum_name, const std::string& enum_value_name) { in GetEnumValueName() function