Home
last modified time | relevance | path

Searched refs:EnumDescriptor (Results 1 – 25 of 134) sorted by relevance

123456

/external/protobuf/src/google/protobuf/
Ddescriptor.h79 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 …]
Dgenerated_enum_reflection.h49 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/
DEnumValueDescriptor.cs40 private readonly EnumDescriptor enumDescriptor;
44 EnumDescriptor parent, int index) in EnumValueDescriptor()
68 public EnumDescriptor EnumDescriptor { get { return enumDescriptor; } } property in Google.Protobuf.Reflection.EnumValueDescriptor
DFieldDescriptor.cs43 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()
DEnumDescriptor.cs41 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/
DDescriptorsTest.cs77 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
179EnumDescriptor enumType = UnittestProto3Reflection.Descriptor.FindTypeByName<EnumDescriptor>("Fore… in EnumDescriptor()
180EnumDescriptor nestedType = TestAllTypes.Descriptor.FindDescriptor<EnumDescriptor>("NestedEnum"); in EnumDescriptor()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.h44 class EnumDescriptor; variable
76 PyObject* NewEnumValuesByName(const EnumDescriptor* descriptor);
77 PyObject* NewEnumValuesByNumber(const EnumDescriptor* descriptor);
78 PyObject* NewEnumValuesSeq(const EnumDescriptor* descriptor);
Ddescriptor.h57 PyObject* PyEnumDescriptor_FromDescriptor(const EnumDescriptor* descriptor);
75 const EnumDescriptor* PyEnumDescriptor_AsDescriptor(PyObject* obj);
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.h58 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/
DDescriptors.java116 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 …]
DProtocolMessageEnum.java33 import com.google.protobuf.Descriptors.EnumDescriptor;
58 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_generator.cc32 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/
Dpython_generator.h48 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/
Djava_name_resolver.h42 class EnumDescriptor; variable
79 string GetClassName(const EnumDescriptor* descriptor, bool immutable);
101 string GetJavaImmutableClassName(const EnumDescriptor* descriptor);
Djava_names.h47 class EnumDescriptor; variable
66 string ClassName(const EnumDescriptor* descriptor);
Djava_enum_lite.h61 explicit EnumLiteGenerator(const EnumDescriptor* descriptor,
69 const EnumDescriptor* descriptor_;
Djava_enum.h61 explicit EnumGenerator(const EnumDescriptor* descriptor,
69 const EnumDescriptor* descriptor_;
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_enum.h46 EnumGenerator(const EnumDescriptor* descriptor, const Options* options);
52 const EnumDescriptor* descriptor_;
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py167 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/
Dprotobuf.h15 struct EnumDescriptor;
26 typedef struct EnumDescriptor EnumDescriptor; typedef
95 struct EnumDescriptor { struct
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum.h57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params);
64 const EnumDescriptor* descriptor_;
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.h52 explicit EnumGenerator(const EnumDescriptor* descriptor);
61 const EnumDescriptor* descriptor_;
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum.h57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params);
64 const EnumDescriptor* descriptor_;
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnumDescriptor.java155 public void setDescriptor(Descriptors.EnumDescriptor descriptor) { in setDescriptor()
159 public Descriptors.EnumDescriptor getDescriptor() { in getDescriptor()
183 private Descriptors.EnumDescriptor descriptor;
DRubyEnum.java53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup()
69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve()

123456