Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc94 vars["name"] = EnumValueName(descriptor_->value(i)); in GenerateDefinition()
127 vars["min_name"] = EnumValueName(min_value); in GenerateDefinition()
128 vars["max_name"] = EnumValueName(max_value); in GenerateDefinition()
190 vars["tag"] = EnumValueName(descriptor_->value(j)); in GenerateSymbolImports()
300 vars["value"] = EnumValueName(descriptor_->value(i)); in GenerateMethods()
Dcpp_helpers.h90 string EnumValueName(const EnumValueDescriptor* enum_value);
Dcpp_helpers.cc198 string EnumValueName(const EnumValueDescriptor* enum_value) { in EnumValueName() function
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc104 "name", EnumValueName(all_values_[i]), in GenerateHeader()
164 printer->Print(" $name$,\n", "name", EnumValueName(all_values_[i])); in GenerateSource()
206 "name", EnumValueName(base_values_[i])); in GenerateSource()
Dobjectivec_helpers.h86 string EnumValueName(const EnumValueDescriptor* descriptor);
Dobjectivec_helpers.cc375 string EnumValueName(const EnumValueDescriptor* descriptor) { in EnumValueName() function
405 const string& long_name = EnumValueName(descriptor); in EnumValueShortName()
743 return EnumValueName(field->default_value_enum()); in DefaultValue()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py106 self.assertEqual(self.my_message.EnumValueName('ForeignEnum', 4),
112 self.my_message.EnumValueName('ForeignEnum', 4))
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc560 static PyObject* EnumValueName(PyBaseDescriptor *self, PyObject *args) { in EnumValueName() function
622 { "EnumValueName", (PyCFunction)EnumValueName, METH_VARARGS, },
/external/protobuf/python/google/protobuf/
Ddescriptor.py328 def EnumValueName(self, enum, value): member in Descriptor
/external/protobuf/objectivec/Tests/
DGPBMessageTests.m1843 // EnumValueName/EnumValueShortName. Confirm that things generated as