/external/protobuf/src/google/protobuf/ |
D | descriptor.h | 68 class EnumDescriptor; variable 192 const EnumDescriptor* enum_type(int index) const; 195 const EnumDescriptor* FindEnumTypeByName(const string& name) const; 262 EnumDescriptor* enum_types_; 274 friend class EnumDescriptor; variable 454 const EnumDescriptor* enum_type() const; 505 const EnumDescriptor* enum_type_; 543 class LIBPROTOBUF_EXPORT EnumDescriptor { 610 EnumDescriptor() {} in EnumDescriptor() function 616 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumDescriptor); [all …]
|
D | generated_message_reflection.h | 53 class EnumDescriptor; variable 401 LIBPROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor* descriptor, 406 bool ParseNamedEnum(const EnumDescriptor* descriptor, in ParseNamedEnum() 418 LIBPROTOBUF_EXPORT const string& NameOfEnum(const EnumDescriptor* descriptor, int value);
|
D | descriptor.cc | 197 typedef pair<const EnumDescriptor*, int> EnumIntPair; 228 const EnumDescriptor* enum_descriptor; 253 CONSTRUCTOR(EnumDescriptor , ENUM , enum_descriptor ) in CONSTRUCTOR() 455 const EnumDescriptor* parent, int number) const; 617 const EnumDescriptor* parent, int number) const { in FindEnumValueByNumber() 930 const EnumDescriptor* DescriptorPool::FindEnumTypeByName( in FindEnumTypeByName() 1093 const EnumDescriptor* 1116 EnumDescriptor::FindValueByName(const string& key) const { in FindValueByName() 1127 EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() 1152 const EnumDescriptor* [all …]
|
D | descriptor_unittest.cc | 253 const EnumDescriptor* foo_enum_; 259 const EnumDescriptor* bar_enum_; 472 const EnumDescriptor* enum_; 896 const EnumDescriptor* enum_; 897 const EnumDescriptor* enum2_; 1244 const EnumDescriptor* baz_; 1245 const EnumDescriptor* qux_; 1251 const EnumDescriptor* qux2_; 1252 const EnumDescriptor* quux2_; 1423 const EnumDescriptor* baz_; [all …]
|
D | message.h | 156 class EnumDescriptor; // descriptor.h variable 176 const EnumDescriptor* GetEnumDescriptor();
|
D | descriptor.pb.h | 80 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor(); 100 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor(… 120 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor(); 140 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor(); 773 static inline const ::google::protobuf::EnumDescriptor* 798 static inline const ::google::protobuf::EnumDescriptor* 1446 static inline const ::google::protobuf::EnumDescriptor* 1743 static inline const ::google::protobuf::EnumDescriptor* 4333 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Type>() { 4337 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Label>() { [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 82 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 131 public EnumDescriptor findEnumTypeByName(String name) { in findEnumTypeByName() 141 if (result != null && result instanceof EnumDescriptor && in findEnumTypeByName() 143 return (EnumDescriptor)result; in findEnumTypeByName() 325 private final EnumDescriptor[] enumTypes; 347 enumTypes = new EnumDescriptor[proto.getEnumTypeCount()]; in FileDescriptor() 349 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); in FileDescriptor() 473 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 533 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() 536 if (result != null && result instanceof EnumDescriptor) { in findEnumTypeByName() [all …]
|
D | ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 57 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
|
D | TextFormat.java | 35 import com.google.protobuf.Descriptors.EnumDescriptor; 1001 final EnumDescriptor enumType = field.getEnumType(); in mergeField()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum.h | 55 explicit EnumGenerator(const EnumDescriptor* descriptor); 61 const EnumDescriptor* descriptor_;
|
D | java_helpers.h | 81 inline string ClassName(const EnumDescriptor* descriptor) { in ClassName() 140 inline bool HasDescriptorMethods(const EnumDescriptor* descriptor) { in HasDescriptorMethods()
|
D | java_enum.cc | 49 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor) in EnumGenerator()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params); 64 const EnumDescriptor* descriptor_;
|
D | javamicro_enum.cc | 50 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, const Params& params) in EnumGenerator()
|
D | javamicro_helpers.h | 83 string ClassName(const Params& params, const EnumDescriptor* descriptor);
|
D | javamicro_helpers.cc | 204 string ClassName(const Params& params, const EnumDescriptor* descriptor) { in ClassName()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.h | 55 explicit EnumGenerator(const EnumDescriptor* descriptor, 87 const EnumDescriptor* descriptor_;
|
D | cpp_helpers.h | 61 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
|
D | cpp_enum.cc | 48 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, in EnumGenerator()
|
D | cpp_helpers.cc | 132 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified) { in ClassName()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 40 import com.google.protobuf.Descriptors.EnumDescriptor; 108 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor() 180 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); in testDescriptor() 288 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testEnumDescriptor() 289 EnumDescriptor nestedType = TestAllTypes.NestedEnum.getDescriptor(); in testEnumDescriptor() 366 EnumDescriptor enumType = in testCustomOptions()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 47 class EnumDescriptor; variable 78 void PrintEnum(const EnumDescriptor& enum_descriptor) const;
|
D | python_generator.cc | 324 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in PrintTopLevelEnums() 353 void Generator::PrintEnum(const EnumDescriptor& enum_descriptor) const { in PrintEnum() 672 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); in FixForeignFieldsInDescriptor() 698 const EnumDescriptor* enum_type = field.enum_type(); in FixForeignFieldsInField()
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 401 class EnumDescriptor(_NestedDescriptorBase): class 434 super(EnumDescriptor, self).__init__( 455 super(EnumDescriptor, self).CopyToProto(proto)
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 57 self.my_enum = descriptor.EnumDescriptor(
|