/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | symbol_database.py | 85 def RegisterEnumDescriptor(self, enum_descriptor): argument 94 self.pool.AddEnumDescriptor(enum_descriptor) 95 return enum_descriptor
|
D | text_format.py | 1475 enum_descriptor = field.enum_type 1480 enum_value = enum_descriptor.values_by_name.get(value, None) 1483 (enum_descriptor.full_name, value)) 1486 enum_value = enum_descriptor.values_by_number.get(number, None) 1489 (enum_descriptor.full_name, number))
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 449 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in PrintTopLevelEnums() local 450 PrintEnum(enum_descriptor); in PrintTopLevelEnums() 453 "name", enum_descriptor.name(), in PrintTopLevelEnums() 455 ModuleLevelDescriptorName(enum_descriptor)); in PrintTopLevelEnums() 458 for (int j = 0; j < enum_descriptor.value_count(); ++j) { in PrintTopLevelEnums() 459 const EnumValueDescriptor& value_descriptor = *enum_descriptor.value(j); in PrintTopLevelEnums() 483 void Generator::PrintEnum(const EnumDescriptor& enum_descriptor) const { in PrintEnum() 486 ModuleLevelDescriptorName(enum_descriptor); in PrintEnum() 488 m["name"] = enum_descriptor.name(); in PrintEnum() 489 m["full_name"] = enum_descriptor.full_name(); in PrintEnum() [all …]
|
D | python_generator.h | 80 void PrintEnum(const EnumDescriptor& enum_descriptor) const;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 281 const EnumDescriptor* enum_descriptor = in FindEnumTypeByName() local 283 if (enum_descriptor == NULL) { in FindEnumTypeByName() 288 return PyEnumDescriptor_FromDescriptor(enum_descriptor); in FindEnumTypeByName() 401 const EnumDescriptor* enum_descriptor = in AddEnumDescriptor() local 403 if (!enum_descriptor) { in AddEnumDescriptor() 406 if (enum_descriptor != in AddEnumDescriptor() 407 self->pool->FindEnumTypeByName(enum_descriptor->full_name())) { in AddEnumDescriptor() 410 enum_descriptor->full_name().c_str()); in AddEnumDescriptor()
|
D | descriptor_containers.h | 76 namespace enum_descriptor {
|
D | descriptor.cc | 972 namespace enum_descriptor { namespace 1099 enum_descriptor::Methods, // tp_methods 1101 enum_descriptor::Getters, // tp_getset 1106 const EnumDescriptor* enum_descriptor) { in PyEnumDescriptor_FromDescriptor() argument 1108 &PyEnumDescriptor_Type, enum_descriptor, NULL); in PyEnumDescriptor_FromDescriptor() 1764 const EnumDescriptor* enum_descriptor) { in AddEnumValues() argument 1765 for (int i = 0; i < enum_descriptor->value_count(); ++i) { in AddEnumValues() 1766 const EnumValueDescriptor* value = enum_descriptor->value(i); in AddEnumValues()
|
D | message.cc | 152 const EnumDescriptor* enum_descriptor = descriptor->enum_type(i); in AddDescriptors() local 154 PyEnumDescriptor_FromDescriptor(enum_descriptor)); in AddDescriptors() 165 cls, enum_descriptor->name().c_str(), wrapped.get()) == -1) { in AddDescriptors() 170 for (int j = 0; j < enum_descriptor->value_count(); ++j) { in AddDescriptors() 172 enum_descriptor->value(j); in AddDescriptors() 927 const EnumDescriptor* enum_descriptor = descriptor.enum_type(); in CheckAndGetInteger() local 928 if (enum_descriptor == NULL) { in CheckAndGetInteger() 938 enum_descriptor->FindValueByName(string(enum_label, size)); in CheckAndGetInteger() 2391 const EnumDescriptor* enum_descriptor = field_descriptor->enum_type(); in CheckAndGetInteger() local 2393 enum_descriptor->FindValueByNumber(value); in CheckAndGetInteger()
|
D | map_container.cc | 287 const EnumDescriptor* enum_descriptor = field_descriptor->enum_type(); in PythonToMapValueRef() local 289 enum_descriptor->FindValueByNumber(value); in PythonToMapValueRef()
|
D | descriptor_containers.cc | 1310 namespace enum_descriptor { namespace
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_enum_field.cc | 86 const EnumDescriptor* enum_descriptor, vector<string>* canonical_values) { in LoadEnumValues() argument 87 string enum_class_name = ClassName(params, enum_descriptor); in LoadEnumValues() 88 for (int i = 0; i < enum_descriptor->value_count(); i++) { in LoadEnumValues() 89 const EnumValueDescriptor* value = enum_descriptor->value(i); in LoadEnumValues() 91 enum_descriptor->FindValueByNumber(value->number()); in LoadEnumValues()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_helpers.cc | 155 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified) { in ClassName() argument 156 if (enum_descriptor->containing_type() == NULL) { in ClassName() 158 return "::" + DotsToColons(enum_descriptor->full_name()); in ClassName() 160 return enum_descriptor->name(); in ClassName() 163 string result = ClassName(enum_descriptor->containing_type(), qualified); in ClassName() 165 result += enum_descriptor->name(); in ClassName()
|
D | cpp_helpers.h | 68 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | descriptor_test.py | 141 enum_descriptor = message_descriptor.enum_types_by_name['AnEnum'] 162 enum_options = enum_descriptor.GetOptions() 331 enum_descriptor = unittest_custom_options_pb2.AggregateEnum.DESCRIPTOR 332 enum_value_descriptor = enum_descriptor.values_by_name["VALUE"] 360 enum_descriptor.GetOptions().Extensions[
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/ |
D | message.c | 530 VALUE enum_descriptor(VALUE self) { in enum_descriptor() function 555 rb_define_singleton_method(mod, "descriptor", enum_descriptor, 0); in build_module_from_enumdesc()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 257 const EnumDescriptor* enum_descriptor) { in GetPath() argument 259 options, enum_descriptor->file(), in GetPath() 260 enum_descriptor->containing_type()) + enum_descriptor->name(); in GetPath()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor.cc | 274 const EnumDescriptor* enum_descriptor; member 300 CONSTRUCTOR(EnumDescriptor , ENUM , enum_descriptor ) in CONSTRUCTOR() 313 case ENUM : return enum_descriptor ->file(); in CONSTRUCTOR() 1247 return (result.type == Symbol::ENUM) ? result.enum_descriptor : NULL; in FindEnumTypeByName() 1427 return result.enum_descriptor; in FindEnumTypeByName() 1490 return result.enum_descriptor; in FindEnumTypeByName() 4923 field->enum_type_ = type.enum_descriptor; in CrossLinkField()
|