/external/protobuf/java/src/main/java/com/google/protobuf/ |
ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 57 EnumDescriptor getDescriptorForType();
|
Descriptors.java | 82 public List<EnumDescriptor> getEnumTypes() { 131 public EnumDescriptor findEnumTypeByName(String name) { 141 if (result != null && result instanceof EnumDescriptor && 143 return (EnumDescriptor)result; 325 private final EnumDescriptor[] enumTypes; 347 enumTypes = new EnumDescriptor[proto.getEnumTypeCount()]; 349 enumTypes[i] = new EnumDescriptor(proto.getEnumType(i), this, null, i); 473 public List<EnumDescriptor> getEnumTypes() { 533 public EnumDescriptor findEnumTypeByName(final String name) { 536 if (result != null && result instanceof EnumDescriptor) { [all...] |
TextFormat.java | 35 import com.google.protobuf.Descriptors.EnumDescriptor; [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_enum.h | 55 explicit EnumGenerator(const EnumDescriptor* descriptor); 61 const EnumDescriptor* descriptor_;
|
java_helpers.h | 81 inline string ClassName(const EnumDescriptor* descriptor) { 140 inline bool HasDescriptorMethods(const EnumDescriptor* descriptor) {
|
java_enum.cc | 49 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor) 156 "public final com.google.protobuf.Descriptors.EnumDescriptor\n" 160 "public static final com.google.protobuf.Descriptors.EnumDescriptor\n"
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_enum.h | 55 explicit EnumGenerator(const EnumDescriptor* descriptor, 87 const EnumDescriptor* descriptor_;
|
cpp_helpers.h | 61 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
|
cpp_enum.cc | 48 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, 106 "$dllexport$const ::google::protobuf::EnumDescriptor* $classname$_descriptor();\n"); 127 "inline const EnumDescriptor* GetEnumDescriptor< $classname$>() {\n" 159 "static inline const ::google::protobuf::EnumDescriptor*\n" 197 "const ::google::protobuf::EnumDescriptor* $classname$_descriptor() {\n"
|
cpp_helpers.cc | 132 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified) {
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_enum.h | 57 explicit EnumGenerator(const EnumDescriptor* descriptor, const Params& params); 64 const EnumDescriptor* descriptor_;
|
javamicro_enum.cc | 50 EnumGenerator::EnumGenerator(const EnumDescriptor* descriptor, const Params& params)
|
javamicro_helpers.h | 83 string ClassName(const Params& params, const EnumDescriptor* descriptor);
|
javamicro_helpers.cc | 204 string ClassName(const Params& params, const EnumDescriptor* descriptor) {
|
/external/protobuf/src/google/protobuf/ |
descriptor.h | 68 class EnumDescriptor; 192 const EnumDescriptor* enum_type(int index) const; 195 const EnumDescriptor* FindEnumTypeByName(const string& name) const; 262 EnumDescriptor* enum_types_; 274 friend class EnumDescriptor; 454 const EnumDescriptor* enum_type() const; 505 const EnumDescriptor* enum_type_; 540 // Describes an enum type defined in a .proto file. To get the EnumDescriptor 543 class LIBPROTOBUF_EXPORT EnumDescriptor { 557 // The number of values for this EnumDescriptor. Guaranteed to be greate [all...] |
generated_message_reflection.h | 53 class EnumDescriptor; 83 // a valid value, such that EnumDescriptor::FindValueByNumber() would 401 LIBPROTOBUF_EXPORT bool ParseNamedEnum(const EnumDescriptor* descriptor, 406 bool ParseNamedEnum(const EnumDescriptor* descriptor, 418 LIBPROTOBUF_EXPORT const string& NameOfEnum(const EnumDescriptor* descriptor, int value);
|
message.h | 156 class EnumDescriptor; // descriptor.h 172 // Returns the EnumDescriptor for enum type E, which must be a 176 const EnumDescriptor* GetEnumDescriptor(); [all...] |
descriptor.cc | 197 typedef pair<const EnumDescriptor*, int> EnumIntPair; 228 const EnumDescriptor* enum_descriptor; 253 CONSTRUCTOR(EnumDescriptor , ENUM , enum_descriptor ) 455 const EnumDescriptor* parent, int number) const; 617 const EnumDescriptor* parent, int number) const { [all...] |
descriptor_unittest.cc | 253 const EnumDescriptor* foo_enum_; 259 const EnumDescriptor* bar_enum_; 472 const EnumDescriptor* enum_; [all...] |
descriptor.pb.h | 80 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* [all...] |
/external/protobuf/src/google/protobuf/compiler/python/ |
python_generator.h | 47 class EnumDescriptor; 78 void PrintEnum(const EnumDescriptor& enum_descriptor) const;
|
python_generator.cc | 324 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); 351 // enum name to a Python EnumDescriptor object equivalent to 353 void Generator::PrintEnum(const EnumDescriptor& enum_descriptor) const { 360 "$descriptor_name$ = descriptor.EnumDescriptor(\n" 672 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); 698 const EnumDescriptor* enum_type = field.enum_type(); [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 40 import com.google.protobuf.Descriptors.EnumDescriptor; 108 EnumDescriptor enumType = ForeignEnum.getDescriptor(); 180 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); 288 EnumDescriptor enumType = ForeignEnum.getDescriptor(); 289 EnumDescriptor nestedType = TestAllTypes.NestedEnum.getDescriptor(); 366 EnumDescriptor enumType =
|
/external/protobuf/python/google/protobuf/ |
descriptor.py | 188 enum_types: (list of EnumDescriptors) EnumDescriptor references 190 enum_types_by_name: (dict str ->EnumDescriptor) Same EnumDescriptor 192 in each EnumDescriptor. 312 enum_type: (EnumDescriptor) If this field contains an enum, a 401 class EnumDescriptor(_NestedDescriptorBase): 405 An EnumDescriptor instance has the following attributes: 434 super(EnumDescriptor, self).__init__( 455 super(EnumDescriptor, self).CopyToProto(proto) 466 type: (EnumDescriptor) EnumDescriptor to which this valu [all...] |
/external/protobuf/python/google/protobuf/internal/ |
descriptor_test.py | 57 self.my_enum = descriptor.EnumDescriptor(
|