Home
last modified time | relevance | path

Searched refs:EnumValueName (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc66 value_names.insert(EnumValueName(value)); in EnumGenerator()
68 string value_name(EnumValueName(value)); in EnumGenerator()
143 "name", EnumValueName(all_values_[i]), in GenerateHeader()
205 printer->Print(" $name$,\n", "name", EnumValueName(all_values_[i])); in GenerateSource()
248 "name", EnumValueName(base_values_[i])); in GenerateSource()
Dobjectivec_helpers.h101 string PROTOC_EXPORT EnumValueName(const EnumValueDescriptor* descriptor);
Dobjectivec_helpers.cc487 string EnumValueName(const EnumValueDescriptor* descriptor) { in EnumValueName() function
517 const string long_name = EnumValueName(descriptor); in EnumValueShortName()
863 return EnumValueName(field->default_value_enum()); in DefaultValue()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc102 format_value.Set("name", EnumValueName(descriptor_->value(i))); in GenerateDefinition()
142 descriptor_, EnumValueName(min_value), EnumValueName(max_value)); in GenerateDefinition()
223 EnumValueName(descriptor_->value(j))); in GenerateSymbolImports()
415 EnumValueName(descriptor_->value(i))); in GenerateMethods()
Dcpp_helpers.h184 std::string EnumValueName(const EnumValueDescriptor* enum_value);
Dcpp_helpers.cc463 std::string EnumValueName(const EnumValueDescriptor* enum_value) { in EnumValueName() function
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py107 self.assertEqual(self.my_message.EnumValueName('ForeignEnum', 4),
113 self.my_message.EnumValueName('ForeignEnum', 4))
115 self.my_message.EnumValueName('ForeignEnum', 999)
117 self.my_message.EnumValueName('NoneEnum', 999)
119 self.my_message.EnumValueName()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py106 self.assertEqual(self.my_message.EnumValueName('ForeignEnum', 4),
112 self.my_message.EnumValueName('ForeignEnum', 4))
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc618 static PyObject* EnumValueName(PyBaseDescriptor *self, PyObject *args) { in EnumValueName() function
682 { "EnumValueName", (PyCFunction)EnumValueName, METH_VARARGS, },
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py367 def EnumValueName(self, enum, value): member in Descriptor
/third_party/protobuf/objectivec/Tests/
DGPBMessageTests.m1901 // EnumValueName/EnumValueShortName. Confirm that things generated as