/external/protobuf/src/google/protobuf/ |
D | descriptor.h | 70 class EnumDescriptor; variable 224 const EnumDescriptor* enum_type(int index) const; 227 const EnumDescriptor* FindEnumTypeByName(const string& name) const; 310 EnumDescriptor* enum_types_; 322 friend class EnumDescriptor; variable 514 const EnumDescriptor* enum_type() const; 586 const EnumDescriptor* enum_type_; 683 class LIBPROTOBUF_EXPORT EnumDescriptor { 766 EnumDescriptor() {} in EnumDescriptor() function 772 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumDescriptor); [all …]
|
D | generated_enum_reflection.h | 48 class EnumDescriptor; variable 61 const EnumDescriptor* GetEnumDescriptor(); 68 LIBPROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor* descriptor, 73 bool ParseNamedEnum(const EnumDescriptor* descriptor, in ParseNamedEnum() 85 LIBPROTOBUF_EXPORT const string& NameOfEnum(const EnumDescriptor* descriptor, int value);
|
D | descriptor.cc | 219 typedef pair<const EnumDescriptor*, int> EnumIntPair; 254 const EnumDescriptor* enum_descriptor; 280 CONSTRUCTOR(EnumDescriptor , ENUM , enum_descriptor ) in CONSTRUCTOR() 534 const EnumDescriptor* parent, int number) const; 748 const EnumDescriptor* parent, int number) const { in FindEnumValueByNumber() 1098 const EnumDescriptor* DescriptorPool::FindEnumTypeByName( in FindEnumTypeByName() 1276 const EnumDescriptor* 1299 EnumDescriptor::FindValueByName(const string& key) const { in FindValueByName() 1310 EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() 1335 const EnumDescriptor* [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 102 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 156 public EnumDescriptor findEnumTypeByName(String name) { in findEnumTypeByName() 166 if (result != null && result instanceof EnumDescriptor && in findEnumTypeByName() 168 return (EnumDescriptor)result; in findEnumTypeByName() 410 private final EnumDescriptor[] enumTypes; 460 enumTypes = new EnumDescriptor[proto.getEnumTypeCount()]; in FileDescriptor() 462 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); in FileDescriptor() 490 enumTypes = new EnumDescriptor[0]; in FileDescriptor() 612 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 680 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() [all …]
|
D | ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 57 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 47 class EnumDescriptor; variable 78 void PrintEnum(const EnumDescriptor& enum_descriptor) const; 111 void AddEnumToFileDescriptor(const EnumDescriptor& descriptor) const; 148 void FixOptionsForEnum(const EnumDescriptor& descriptor) const;
|
D | python_generator.cc | 366 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in PrintTopLevelEnums() 400 void Generator::PrintEnum(const EnumDescriptor& enum_descriptor) const { in PrintEnum() 758 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); in FixForeignFieldsInDescriptor() 792 const EnumDescriptor& descriptor) const { in AddEnumToFileDescriptor() 835 const EnumDescriptor* enum_type = field.enum_type(); in FixForeignFieldsInField() 1166 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in FixAllDescriptorOptions() 1183 void Generator::FixOptionsForEnum(const EnumDescriptor& enum_descriptor) const { in FixOptionsForEnum()
|
/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 | 92 string ClassName(const Params& params, const EnumDescriptor* descriptor);
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params); 64 const EnumDescriptor* descriptor_;
|
D | javanano_enum.cc | 50 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, const Params& params) in EnumGenerator()
|
D | javanano_enum_field.cc | 79 const EnumDescriptor* enum_type = descriptor->enum_type(); in SetEnumVariables() 86 const EnumDescriptor* enum_descriptor, vector<string>* canonical_values) { in LoadEnumValues()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, 89 const EnumDescriptor* descriptor_;
|
D | cpp_enum.cc | 52 bool ShouldGenerateArraySize(const EnumDescriptor* descriptor) { in ShouldGenerateArraySize() 63 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, in EnumGenerator()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum.h | 61 explicit EnumGenerator(const EnumDescriptor* descriptor, 69 const EnumDescriptor* descriptor_;
|
D | java_name_resolver.h | 42 class EnumDescriptor; variable 79 string GetClassName(const EnumDescriptor* descriptor, bool immutable);
|
D | java_helpers.h | 97 string ClassName(const EnumDescriptor* descriptor); 195 inline bool HasDescriptorMethods(const EnumDescriptor* descriptor) { in HasDescriptorMethods()
|
D | java_name_resolver.cc | 72 string ClassNameWithoutPackage(const EnumDescriptor* descriptor, in ClassNameWithoutPackage() 217 string ClassNameResolver::GetClassName(const EnumDescriptor* descriptor, in GetClassName()
|
D | java_enum.cc | 53 bool EnumHasCustomOptions(const EnumDescriptor* descriptor) { in EnumHasCustomOptions() 63 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, in EnumGenerator()
|
D | java_doc_comment.h | 53 void WriteEnumDocComment(io::Printer* printer, const EnumDescriptor* enum_);
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 522 class EnumDescriptor(_NestedDescriptorBase): class 555 super(EnumDescriptor, self).__init__( 573 super(EnumDescriptor, self).CopyToProto(proto) 808 enum_desc = EnumDescriptor(
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 43 import com.google.protobuf.Descriptors.EnumDescriptor; 116 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor() 188 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); in testDescriptor() 296 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testEnumDescriptor() 297 EnumDescriptor nestedType = TestAllTypes.NestedEnum.getDescriptor(); in testEnumDescriptor() 378 EnumDescriptor enumType = in testCustomOptions()
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor.py | 489 class EnumDescriptor(_NestedDescriptorBase): class 522 super(EnumDescriptor, self).__init__( 543 super(EnumDescriptor, self).CopyToProto(proto)
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 192 self.assertIsInstance(enum1, descriptor.EnumDescriptor) 198 self.assertIsInstance(nested_enum1, descriptor.EnumDescriptor) 206 self.assertIsInstance(enum2, descriptor.EnumDescriptor) 212 self.assertIsInstance(nested_enum2, descriptor.EnumDescriptor)
|