/external/protobuf/src/google/protobuf/ |
D | descriptor.h | 79 class EnumDescriptor; variable 274 const EnumDescriptor* enum_type(int index) const; 277 const EnumDescriptor* FindEnumTypeByName(const string& name) const; 403 EnumDescriptor* enum_types_; 419 friend class EnumDescriptor; variable 614 const EnumDescriptor* enum_type() const; 698 const EnumDescriptor* enum_type_; 801 class LIBPROTOBUF_EXPORT EnumDescriptor { 904 EnumDescriptor() {} in EnumDescriptor() function 911 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumDescriptor); [all …]
|
D | generated_enum_reflection.h | 49 class EnumDescriptor; variable 58 const EnumDescriptor* GetEnumDescriptor(); 65 LIBPROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor* descriptor, 70 bool ParseNamedEnum(const EnumDescriptor* descriptor, in ParseNamedEnum() 82 LIBPROTOBUF_EXPORT const string& NameOfEnum(const EnumDescriptor* descriptor, int value);
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | EnumValueDescriptor.cs | 40 private readonly EnumDescriptor enumDescriptor; 44 EnumDescriptor parent, int index) in EnumValueDescriptor() 68 public EnumDescriptor EnumDescriptor { get { return enumDescriptor; } } property in Google.Protobuf.Reflection.EnumValueDescriptor
|
D | FieldDescriptor.cs | 43 private EnumDescriptor enumType; 226 public EnumDescriptor EnumType 270 else if (typeDescriptor is EnumDescriptor) in CrossLink() 295 if (!(typeDescriptor is EnumDescriptor)) in CrossLink() 299 enumType = (EnumDescriptor) typeDescriptor; in CrossLink()
|
D | EnumDescriptor.cs | 41 public sealed class EnumDescriptor : DescriptorBase class 48 …internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, … in EnumDescriptor() method in Google.Protobuf.Reflection.EnumDescriptor
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 77 Assert.AreEqual(file.EnumTypes[0], file.FindTypeByName<EnumDescriptor>("ForeignEnum")); in FileDescriptor() 78 Assert.Null(file.FindTypeByName<EnumDescriptor>("NoSuchType")); in FileDescriptor() 79 Assert.Null(file.FindTypeByName<EnumDescriptor>("protobuf_unittest.ForeignEnum")); in FileDescriptor() 129 …Assert.AreEqual(messageType.EnumTypes[0], messageType.FindDescriptor<EnumDescriptor>("NestedEnum")… in MessageDescriptor() 130 Assert.Null(messageType.FindDescriptor<EnumDescriptor>("NoSuchType")); in MessageDescriptor() 176 public void EnumDescriptor() in EnumDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest 179 …EnumDescriptor enumType = UnittestProto3Reflection.Descriptor.FindTypeByName<EnumDescriptor>("Fore… in EnumDescriptor() 180 … EnumDescriptor nestedType = TestAllTypes.Descriptor.FindDescriptor<EnumDescriptor>("NestedEnum"); in EnumDescriptor()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.h | 44 class EnumDescriptor; variable 76 PyObject* NewEnumValuesByName(const EnumDescriptor* descriptor); 77 PyObject* NewEnumValuesByNumber(const EnumDescriptor* descriptor); 78 PyObject* NewEnumValuesSeq(const EnumDescriptor* descriptor);
|
D | descriptor.h | 57 PyObject* PyEnumDescriptor_FromDescriptor(const EnumDescriptor* descriptor); 75 const EnumDescriptor* PyEnumDescriptor_AsDescriptor(PyObject* obj);
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.h | 58 EnumGenerator(const EnumDescriptor* descriptor, const Options& options); 69 void FillForwardDeclaration(map<string, const EnumDescriptor*>* enum_names); 97 const EnumDescriptor* descriptor_;
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 116 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 190 public EnumDescriptor findEnumTypeByName(String name) { in findEnumTypeByName() 200 if (result != null && result instanceof EnumDescriptor && in findEnumTypeByName() 202 return (EnumDescriptor)result; in findEnumTypeByName() 439 private final EnumDescriptor[] enumTypes; 489 enumTypes = new EnumDescriptor[proto.getEnumTypeCount()]; in FileDescriptor() 491 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); in FileDescriptor() 519 enumTypes = new EnumDescriptor[0]; in FileDescriptor() 657 public List<EnumDescriptor> getEnumTypes() { in getEnumTypes() 749 public EnumDescriptor findEnumTypeByName(final String name) { in findEnumTypeByName() [all …]
|
D | ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 58 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
|
/external/perfetto/src/protozero/protoc_plugin/ |
D | protozero_generator.cc | 32 using google::protobuf::EnumDescriptor; 75 bool operator()(const EnumDescriptor* lhs, const EnumDescriptor* rhs) const { in operator ()() 94 for (const EnumDescriptor* enumeration : enums_) in GenerateStubs() 159 const EnumDescriptor* enumeration = field->enum_type(); in IsTinyEnumField() 312 for (const EnumDescriptor* enumeration : referenced_enums_) { in GeneratePrologue() 319 void GenerateEnumDescriptor(const EnumDescriptor* enumeration) { in GenerateEnumDescriptor() 616 const EnumDescriptor* nested_enum = message->enum_type(i); in GenerateMessageDescriptor() 624 const EnumDescriptor* nested_enum = message->enum_type(i); in GenerateMessageDescriptor() 669 std::vector<const EnumDescriptor*> enums_; 675 std::set<const EnumDescriptor*, EnumDescriptorComp> referenced_enums_;
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.h | 48 class EnumDescriptor; variable 79 void PrintEnum(const EnumDescriptor& enum_descriptor) const; 112 void AddEnumToFileDescriptor(const EnumDescriptor& descriptor) const; 151 void FixOptionsForEnum(const EnumDescriptor& descriptor) const;
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.h | 42 class EnumDescriptor; variable 79 string GetClassName(const EnumDescriptor* descriptor, bool immutable); 101 string GetJavaImmutableClassName(const EnumDescriptor* descriptor);
|
D | java_names.h | 47 class EnumDescriptor; variable 66 string ClassName(const EnumDescriptor* descriptor);
|
D | java_enum_lite.h | 61 explicit EnumLiteGenerator(const EnumDescriptor* descriptor, 69 const EnumDescriptor* descriptor_;
|
D | java_enum.h | 61 explicit EnumGenerator(const EnumDescriptor* descriptor, 69 const EnumDescriptor* descriptor_;
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_enum.h | 46 EnumGenerator(const EnumDescriptor* descriptor, const Options* options); 52 const EnumDescriptor* descriptor_;
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor.py | 167 class EnumDescriptor(messages.Message): class 237 enum_types = messages.MessageField(EnumDescriptor, 4, repeated=True) 254 enum_types = messages.MessageField(EnumDescriptor, 5, repeated=True) 291 enum_descriptor = EnumDescriptor() 525 if isinstance(parent_definition, EnumDescriptor):
|
/external/protobuf/php/ext/google/protobuf/ |
D | protobuf.h | 15 struct EnumDescriptor; 26 typedef struct EnumDescriptor EnumDescriptor; typedef 95 struct EnumDescriptor { struct
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params); 64 const EnumDescriptor* descriptor_;
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.h | 52 explicit EnumGenerator(const EnumDescriptor* descriptor); 61 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_;
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyEnumDescriptor.java | 155 public void setDescriptor(Descriptors.EnumDescriptor descriptor) { in setDescriptor() 159 public Descriptors.EnumDescriptor getDescriptor() { in getDescriptor() 183 private Descriptors.EnumDescriptor descriptor;
|
D | RubyEnum.java | 53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup() 69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve()
|