Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Ddescriptor.h70 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 …]
Dgenerated_enum_reflection.h48 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);
Ddescriptor.cc219 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/
DDescriptors.java102 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 …]
DProtocolMessageEnum.java33 import com.google.protobuf.Descriptors.EnumDescriptor;
57 EnumDescriptor getDescriptorForType(); in getDescriptorForType()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.h47 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;
Dpython_generator.cc366 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/
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.h92 string ClassName(const Params& params, 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_;
Djavanano_enum.cc50 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, const Params& params) in EnumGenerator()
Djavanano_enum_field.cc79 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/
Dcpp_enum.h57 explicit EnumGenerator(const EnumDescriptor* descriptor,
89 const EnumDescriptor* descriptor_;
Dcpp_enum.cc52 bool ShouldGenerateArraySize(const EnumDescriptor* descriptor) { in ShouldGenerateArraySize()
63 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, in EnumGenerator()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum.h61 explicit EnumGenerator(const EnumDescriptor* descriptor,
69 const EnumDescriptor* descriptor_;
Djava_name_resolver.h42 class EnumDescriptor; variable
79 string GetClassName(const EnumDescriptor* descriptor, bool immutable);
Djava_helpers.h97 string ClassName(const EnumDescriptor* descriptor);
195 inline bool HasDescriptorMethods(const EnumDescriptor* descriptor) { in HasDescriptorMethods()
Djava_name_resolver.cc72 string ClassNameWithoutPackage(const EnumDescriptor* descriptor, in ClassNameWithoutPackage()
217 string ClassNameResolver::GetClassName(const EnumDescriptor* descriptor, in GetClassName()
Djava_enum.cc53 bool EnumHasCustomOptions(const EnumDescriptor* descriptor) { in EnumHasCustomOptions()
63 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, in EnumGenerator()
Djava_doc_comment.h53 void WriteEnumDocComment(io::Printer* printer, const EnumDescriptor* enum_);
/external/protobuf/python/google/protobuf/
Ddescriptor.py522 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/
DDescriptorsTest.java43 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/
Ddescriptor.py489 class EnumDescriptor(_NestedDescriptorBase): class
522 super(EnumDescriptor, self).__init__(
543 super(EnumDescriptor, self).CopyToProto(proto)
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py192 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)

12