Home
last modified time | relevance | path

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

/external/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.h100 string PROTOC_EXPORT EnumValueName(const EnumValueDescriptor* descriptor);
Dobjectivec_helpers.cc486 string EnumValueName(const EnumValueDescriptor* descriptor) { in EnumValueName() function
516 const string long_name = EnumValueName(descriptor); in EnumValueShortName()
854 return EnumValueName(field->default_value_enum()); in DefaultValue()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc102 format_value.Set("name", EnumValueName(descriptor_->value(i))); in GenerateDefinition()
144 descriptor_, EnumValueName(min_value), EnumValueName(max_value)); in GenerateDefinition()
222 EnumValueName(descriptor_->value(j))); in GenerateSymbolImports()
411 EnumValueName(descriptor_->value(i))); in GenerateMethods()
Dcpp_helpers.h168 std::string EnumValueName(const EnumValueDescriptor* enum_value);
Dcpp_helpers.cc419 std::string EnumValueName(const EnumValueDescriptor* enum_value) { in EnumValueName() function
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py103 self.assertEqual(self.my_message.EnumValueName('ForeignEnum', 4),
109 self.my_message.EnumValueName('ForeignEnum', 4))
111 self.my_message.EnumValueName('ForeignEnum', 999)
113 self.my_message.EnumValueName('NoneEnum', 999)
115 self.my_message.EnumValueName()
/external/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))
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc618 static PyObject* EnumValueName(PyBaseDescriptor *self, PyObject *args) { in EnumValueName() function
682 { "EnumValueName", (PyCFunction)EnumValueName, METH_VARARGS, },
/external/protobuf/python/google/protobuf/
Ddescriptor.py353 def EnumValueName(self, enum, value): member in Descriptor
/external/protobuf/objectivec/Tests/
DGPBMessageTests.m1877 // EnumValueName/EnumValueShortName. Confirm that things generated as