Home
last modified time | relevance | path

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

/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py276 enum_value_descriptor = EnumValueDescriptor()
277 enum_value_descriptor.name = six.text_type(enum_value.name)
278 enum_value_descriptor.number = enum_value.number
279 return enum_value_descriptor
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py144 enum_value_descriptor =\
164 enum_value_options = enum_value_descriptor.GetOptions()
331 enum_value_descriptor = enum_descriptor.values_by_name["VALUE"]
363 enum_value_descriptor.GetOptions().Extensions[
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc171 const EnumValueDescriptor* enum_value_descriptor = in AddDescriptors() local
174 enum_value_descriptor->number())); in AddDescriptors()
178 if (PyObject_SetAttrString(cls, enum_value_descriptor->name().c_str(), in AddDescriptors()
937 const EnumValueDescriptor* enum_value_descriptor = in CheckAndGetInteger() local
939 if (enum_value_descriptor == NULL) { in CheckAndGetInteger()
943 return PyInt_FromLong(enum_value_descriptor->number()); in CheckAndGetInteger()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc275 const EnumValueDescriptor* enum_value_descriptor; member
301 CONSTRUCTOR(EnumValueDescriptor, ENUM_VALUE, enum_value_descriptor ) in CONSTRUCTOR()
314 case ENUM_VALUE : return enum_value_descriptor->type()->file(); in CONSTRUCTOR()
1254 result.enum_value_descriptor : NULL; in FindEnumValueByName()
1438 return result.enum_value_descriptor; in FindEnumValueByName()
1449 return result.enum_value_descriptor; in FindValueByName()
1501 return result.enum_value_descriptor; in FindEnumValueByName()
4933 default_value.enum_value_descriptor->type() == in CrossLinkField()
4935 field->default_value_enum_ = default_value.enum_value_descriptor; in CrossLinkField()
6008 if (symbol.enum_value_descriptor->type() != enum_type) { in SetOptionValue()
[all …]