Searched defs:enum_type (Results 1 - 9 of 9) sorted by relevance
/external/clang/test/CodeGenCXX/ |
H A D | value-init.cpp | 27 enum enum_type { negative_number = -1, magic_number = 42 }; enum 31 enum_type m_enum;
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | parser.cc | 834 bool Parser::ParseEnumDefinition(EnumDescriptorProto* enum_type) { argument 836 RecordLocation(enum_type, DescriptorPool::ErrorCollector::NAME); 837 DO(ConsumeIdentifier(enum_type->mutable_name(), "Expected enum name.")); 838 DO(ParseEnumBlock(enum_type)); 842 bool Parser::ParseEnumBlock(EnumDescriptorProto* enum_type) { argument 851 if (!ParseEnumStatement(enum_type)) { 861 bool Parser::ParseEnumStatement(EnumDescriptorProto* enum_type) { argument 866 return ParseOption(enum_type->mutable_options()); 868 return ParseEnumConstant(enum_type->add_value());
|
/external/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_generator.cc | 311 // TODO(falk): Also print options and fix the message_type, enum_type, 324 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); 396 PrintEnum(*descriptor.enum_type(i)); 560 *message_descriptor.enum_type(i)); 652 // sets the message_type and enum_type of all message and enum fields to point 672 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); 677 // Sets any necessary message_type and enum_type attributes 698 const EnumDescriptor* enum_type = field.enum_type(); local 699 if (enum_type) { [all...] |
/external/protobuf/src/google/protobuf/ |
H A D | text_format.cc | 420 const EnumDescriptor* enum_type = field->enum_type(); local 422 = enum_type->FindValueByName(value);
|
H A D | descriptor_unittest.cc | 226 foo_enum_ = foo_file_->enum_type(0); 237 bar_enum_ = bar_file_->enum_type(0); 443 enum_ = foo_file_->enum_type(0); 638 EXPECT_TRUE(foo_->enum_type() == NULL); 639 EXPECT_TRUE(baz_->enum_type() == NULL); 640 EXPECT_TRUE(qux_->enum_type() == NULL); 642 EXPECT_EQ(enum_, bar_->enum_type()); 877 enum_ = foo_file_->enum_type(0); 884 enum2_ = bar_file_->enum_type(0); 1209 baz_ = message_->enum_type( 1642 const EnumDescriptor* enum_type = file->enum_type(0); local [all...] |
H A D | descriptor.cc | 1350 enum_type(i)->CopyTo(proto->add_enum_type()); 1374 enum_type(i)->CopyTo(proto->add_enum_type()); 1420 if (!enum_type()->is_unqualified_placeholder_) { 1423 proto->mutable_type_name()->append(enum_type()->full_name()); 1559 enum_type(i)->DebugString(0, &contents); 1638 enum_type(i)->DebugString(depth, contents); 1691 field_type = "." + enum_type()->full_name(); 2032 void CrossLinkEnum(EnumDescriptor* enum_type, 2818 BUILD_ARRAY(proto, result, enum_type , BuildEnum , NULL); 2881 BUILD_ARRAY(proto, result, enum_type , BuildEnu 3554 CrossLinkEnum( EnumDescriptor* enum_type, const EnumDescriptorProto& proto) argument 4250 const EnumDescriptor* enum_type = option_field->enum_type(); local [all...] |
H A D | descriptor.pb.h | 348 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; 352 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; 356 enum_type() const; 627 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; 631 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; 635 enum_type() const; 2651 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; 2658 inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { function in class:google::protobuf::FileDescriptorProto 2668 FileDescriptorProto::enum_type() const { function in class:google::protobuf::FileDescriptorProto 2900 // repeated .google.protobuf.EnumDescriptorProto enum_type 2907 inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { function in class:google::protobuf::DescriptorProto 2917 DescriptorProto::enum_type() const { function in class:google::protobuf::DescriptorProto [all...] |
/external/bluetooth/glib/gobject/ |
H A D | gparamspecs.c | 1929 * @enum_type: a #GType derived from %G_TYPE_ENUM 1944 GType enum_type, 1951 g_return_val_if_fail (G_TYPE_IS_ENUM (enum_type), NULL); 1953 enum_class = g_type_class_ref (enum_type); 1965 G_PARAM_SPEC (espec)->value_type = enum_type; 1941 g_param_spec_enum(const gchar *name, const gchar *nick, const gchar *blurb, GType enum_type, gint default_value, GParamFlags flags) argument
|
/external/clang/bindings/python/clang/ |
H A D | cindex.py | 998 def enum_type(self): member in class:Cursor
|
Completed in 185 milliseconds