Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Ddescriptor.h68 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 …]
Dgenerated_message_reflection.h53 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);
Ddescriptor.cc197 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 …]
Ddescriptor_unittest.cc253 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 …]
Dmessage.h156 class EnumDescriptor; // descriptor.h variable
176 const EnumDescriptor* GetEnumDescriptor();
Ddescriptor.pb.h80 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/
DDescriptors.java82 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 …]
DProtocolMessageEnum.java33 import com.google.protobuf.Descriptors.EnumDescriptor;
57 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
DTextFormat.java35 import com.google.protobuf.Descriptors.EnumDescriptor;
1001 final EnumDescriptor enumType = field.getEnumType(); in mergeField()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum.h55 explicit EnumGenerator(const EnumDescriptor* descriptor);
61 const EnumDescriptor* descriptor_;
Djava_helpers.h81 inline string ClassName(const EnumDescriptor* descriptor) { in ClassName()
140 inline bool HasDescriptorMethods(const EnumDescriptor* descriptor) { in HasDescriptorMethods()
Djava_enum.cc49 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor) in EnumGenerator()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum.h57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params);
64 const EnumDescriptor* descriptor_;
Djavamicro_enum.cc50 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, const Params& params) in EnumGenerator()
Djavamicro_helpers.h83 string ClassName(const Params& params, const EnumDescriptor* descriptor);
Djavamicro_helpers.cc204 string ClassName(const Params& params, const EnumDescriptor* descriptor) { in ClassName()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.h55 explicit EnumGenerator(const EnumDescriptor* descriptor,
87 const EnumDescriptor* descriptor_;
Dcpp_helpers.h61 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
Dcpp_enum.cc48 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, in EnumGenerator()
Dcpp_helpers.cc132 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified) { in ClassName()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java40 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/
Dpython_generator.h47 class EnumDescriptor; variable
78 void PrintEnum(const EnumDescriptor& enum_descriptor) const;
Dpython_generator.cc324 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/
Ddescriptor.py401 class EnumDescriptor(_NestedDescriptorBase): class
434 super(EnumDescriptor, self).__init__(
455 super(EnumDescriptor, self).CopyToProto(proto)
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py57 self.my_enum = descriptor.EnumDescriptor(

12