Home
last modified time | relevance | path

Searched refs:enum_value_descriptor (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py144 enum_value_descriptor =\
164 enum_value_options = enum_value_descriptor.GetOptions()
326 enum_value_descriptor = enum_descriptor.values_by_name["VALUE"]
358 enum_value_descriptor.GetOptions().Extensions[
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py152 enum_value_descriptor = (message_descriptor.
177 enum_value_options = enum_value_descriptor.GetOptions()
196 self.assertTrue(enum_value_descriptor.has_options)
357 enum_value_descriptor = enum_descriptor.values_by_name["VALUE"]
389 enum_value_descriptor.GetOptions().Extensions[
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc162 const EnumValueDescriptor* enum_value_descriptor = in AddDescriptors() local
165 enum_value_descriptor->number())); in AddDescriptors()
169 if (PyObject_SetAttrString(cls, enum_value_descriptor->name().c_str(), in AddDescriptors()
986 const EnumValueDescriptor* enum_value_descriptor = in GetIntegerEnumValue() local
988 if (enum_value_descriptor == NULL) { in GetIntegerEnumValue()
992 return PyInt_FromLong(enum_value_descriptor->number()); in GetIntegerEnumValue()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc95 const EnumValueDescriptor* enum_value_descriptor; member
119 CONSTRUCTOR(EnumValueDescriptor, ENUM_VALUE, enum_value_descriptor) in CONSTRUCTOR()
138 return enum_value_descriptor->type()->file(); in CONSTRUCTOR()
1464 return (result.type == Symbol::ENUM_VALUE) ? result.enum_value_descriptor in FindEnumValueByName()
1703 return result.enum_value_descriptor; in FindEnumValueByName()
1726 return result.enum_value_descriptor; in FindValueByName()
1777 return result.enum_value_descriptor; in FindEnumValueByName()
5747 default_value.enum_value_descriptor->type() == in CrossLinkField()
5749 field->default_value_enum_ = default_value.enum_value_descriptor; in CrossLinkField()
7028 if (symbol.enum_value_descriptor->type() != enum_type) { in SetOptionValue()
[all …]