Searched refs:EnumValueName (Results 1 – 11 of 11) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.cc | 66 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()
|
D | objectivec_helpers.h | 100 string PROTOC_EXPORT EnumValueName(const EnumValueDescriptor* descriptor);
|
D | objectivec_helpers.cc | 486 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/ |
D | cpp_enum.cc | 102 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()
|
D | cpp_helpers.h | 168 std::string EnumValueName(const EnumValueDescriptor* enum_value);
|
D | cpp_helpers.cc | 419 std::string EnumValueName(const EnumValueDescriptor* enum_value) { in EnumValueName() function
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 103 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/ |
D | descriptor_test.py | 106 self.assertEqual(self.my_message.EnumValueName('ForeignEnum', 4), 112 self.my_message.EnumValueName('ForeignEnum', 4))
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 618 static PyObject* EnumValueName(PyBaseDescriptor *self, PyObject *args) { in EnumValueName() function 682 { "EnumValueName", (PyCFunction)EnumValueName, METH_VARARGS, },
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 353 def EnumValueName(self, enum, value): member in Descriptor
|
/external/protobuf/objectivec/Tests/ |
D | GPBMessageTests.m | 1877 // EnumValueName/EnumValueShortName. Confirm that things generated as
|