Home
last modified time | relevance | path

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

12345

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
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);
Ddescriptor.h78 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_;
807 class LIBPROTOBUF_EXPORT EnumDescriptor {
910 EnumDescriptor() {} in EnumDescriptor() function
917 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumDescriptor);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.h44 class EnumDescriptor; variable
77 PyObject* NewEnumValuesByName(const EnumDescriptor* descriptor);
78 PyObject* NewEnumValuesByNumber(const EnumDescriptor* descriptor);
79 PyObject* NewEnumValuesSeq(const EnumDescriptor* descriptor);
Ddescriptor.h59 PyObject* PyEnumDescriptor_FromDescriptor(const EnumDescriptor* descriptor);
81 const EnumDescriptor* PyEnumDescriptor_AsDescriptor(PyObject* obj);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.h48 class EnumDescriptor; variable
80 void PrintEnum(const EnumDescriptor& enum_descriptor) const;
113 void AddEnumToFileDescriptor(const EnumDescriptor& descriptor) const;
153 void FixOptionsForEnum(const EnumDescriptor& descriptor) const;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 EnumLiteGenerator(const EnumDescriptor* descriptor, bool immutable_api,
68 const EnumDescriptor* descriptor_;
Djava_enum.h61 EnumGenerator(const EnumDescriptor* descriptor, bool immutable_api,
68 const EnumDescriptor* descriptor_;
Djava_name_resolver.cc72 string ClassNameWithoutPackage(const EnumDescriptor* descriptor, in ClassNameWithoutPackage()
217 string ClassNameResolver::GetClassName(const EnumDescriptor* descriptor, in GetClassName()
263 const EnumDescriptor* descriptor) { in GetJavaImmutableClassName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DProtocolMessageEnum.java33 import com.google.protobuf.Descriptors.EnumDescriptor;
58 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_enum.h46 EnumGenerator(const EnumDescriptor* descriptor, const Options* options);
52 const EnumDescriptor* descriptor_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_enum.h57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params);
64 const EnumDescriptor* descriptor_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.h52 explicit EnumGenerator(const EnumDescriptor* descriptor);
61 const EnumDescriptor* descriptor_;
/frameworks/opt/gamesdk/samples/tuningfork/prototest/src/
Ddynamicproto.h26 std::vector<const EnumDescriptor*> enums(const FileDescriptor* desc);
29 void print(const EnumDescriptor* e, std::ostream& o);
Ddynamicproto.cc90 std::vector<const EnumDescriptor*> enums(const FileDescriptor* extDesc) { in enums()
91 std::vector<const EnumDescriptor*> result; in enums()
102 void print(const EnumDescriptor* e, std::ostream& o) { in print()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dprotobuf.h15 struct EnumDescriptor;
26 typedef struct EnumDescriptor EnumDescriptor; typedef
95 struct EnumDescriptor { struct
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnum.java53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup()
69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve()
DRubyEnumDescriptor.java155 public void setDescriptor(Descriptors.EnumDescriptor descriptor) { in setDescriptor()
159 public Descriptors.EnumDescriptor getDescriptor() { in getDescriptor()
183 private Descriptors.EnumDescriptor descriptor;

12345