/external/chromium_org/tools/json_schema_compiler/test/ |
H A D | enums_unittest.cc | 15 EnumType enum_type; local 18 EXPECT_TRUE(EnumType::Populate(value, &enum_type)); 19 EXPECT_EQ(EnumType::TYPE_ONE, enum_type.type); 20 EXPECT_TRUE(value.Equals(enum_type.ToValue().get())); 23 EnumType enum_type; local 26 EXPECT_FALSE(EnumType::Populate(value, &enum_type)); 127 OptionalEnumType enum_type; local 130 EXPECT_TRUE(OptionalEnumType::Populate(value, &enum_type)); 131 EXPECT_EQ(OptionalEnumType::TYPE_TWO, enum_type.type); 132 EXPECT_TRUE(value.Equals(enum_type 135 OptionalEnumType enum_type; local 142 OptionalEnumType enum_type; local [all...] |
/external/lldb/include/lldb/Interpreter/ |
H A D | OptionValueEnumeration.h | 30 typedef int64_t enum_type; typedef in class:lldb_private::OptionValueEnumeration 33 enum_type value; 39 OptionValueEnumeration (const OptionEnumValueElement *enumerators, enum_type value); 84 enum_type 85 operator = (enum_type value) 91 enum_type 97 enum_type 104 SetCurrentValue (enum_type value) 110 SetDefaultValue (enum_type value) 119 enum_type m_current_valu [all...] |
/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/chromium_org/third_party/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_generator.cc | 336 // TODO(falk): Also print options and fix the message_type, enum_type, 349 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); 426 PrintEnum(*descriptor.enum_type(i)); 589 *message_descriptor.enum_type(i)); 681 // sets the message_type and enum_type of all message and enum fields to point 701 const EnumDescriptor& enum_descriptor = *descriptor.enum_type(i); 717 // Sets any necessary message_type and enum_type attributes 738 const EnumDescriptor* enum_type = field.enum_type(); local 739 if (enum_type) { [all...] |
/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/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser.cc | 1208 bool Parser::ParseEnumDefinition(EnumDescriptorProto* enum_type, argument 1216 enum_type, DescriptorPool::ErrorCollector::NAME); 1217 DO(ConsumeIdentifier(enum_type->mutable_name(), "Expected enum name.")); 1220 DO(ParseEnumBlock(enum_type, enum_location)); 1224 bool Parser::ParseEnumBlock(EnumDescriptorProto* enum_type, argument 1234 if (!ParseEnumStatement(enum_type, enum_location)) { 1244 bool Parser::ParseEnumStatement(EnumDescriptorProto* enum_type, argument 1252 return ParseOption(enum_type->mutable_options(), location, 1256 EnumDescriptorProto::kValueFieldNumber, enum_type->value_size()); 1257 return ParseEnumConstant(enum_type [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | text_format.cc | 613 const EnumDescriptor* enum_type = field->enum_type(); local 619 enum_value = enum_type->FindValueByName(value); 626 enum_value = enum_type->FindValueByNumber(int_value);
|
H A D | descriptor_unittest.cc | 228 foo_enum_ = foo_file_->enum_type(0); 239 bar_enum_ = bar_file_->enum_type(0); 445 enum_ = foo_file_->enum_type(0); 640 EXPECT_TRUE(foo_->enum_type() == NULL); 641 EXPECT_TRUE(baz_->enum_type() == NULL); 642 EXPECT_TRUE(qux_->enum_type() == NULL); 644 EXPECT_EQ(enum_, bar_->enum_type()); 879 enum_ = foo_file_->enum_type(0); 886 enum2_ = bar_file_->enum_type(0); 1211 baz_ = message_->enum_type( 1711 const EnumDescriptor* enum_type = file->enum_type(0); local [all...] |
H A D | descriptor.cc | 1488 enum_type(i)->CopyTo(proto->add_enum_type()); 1518 enum_type(i)->CopyTo(proto->add_enum_type()); 1564 if (!enum_type()->is_unqualified_placeholder_) { 1567 proto->mutable_type_name()->append(enum_type()->full_name()); 1734 enum_type(i)->DebugString(0, &contents); 1813 enum_type(i)->DebugString(depth, contents); 1866 field_type = "." + enum_type()->full_name(); 2336 void CrossLinkEnum(EnumDescriptor* enum_type, 3206 BUILD_ARRAY(proto, result, enum_type , BuildEnum , NULL); 3269 BUILD_ARRAY(proto, result, enum_type , BuildEnu 3948 CrossLinkEnum( EnumDescriptor* enum_type, const EnumDescriptorProto& proto) argument 4696 const EnumDescriptor* enum_type = option_field->enum_type(); local [all...] |
H A D | descriptor.pb.h | 371 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; 375 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; 379 enum_type() const; 658 // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; 662 inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; 666 enum_type() const; 3066 // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; 3073 inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { function in class:google::protobuf::FileDescriptorProto 3083 FileDescriptorProto::enum_type() const { function in class:google::protobuf::FileDescriptorProto 3414 // repeated .google.protobuf.EnumDescriptorProto enum_type 3421 inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { function in class:google::protobuf::DescriptorProto 3431 DescriptorProto::enum_type() const { function in class:google::protobuf::DescriptorProto [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/clang/bindings/python/clang/ |
H A D | cindex.py | 1268 def enum_type(self): member in class:Cursor 1289 underlying_type = underlying_type.get_declaration().enum_type
|
/external/lldb/source/Symbol/ |
H A D | ClangASTType.cpp | 5343 const EnumType *enum_type = dyn_cast<EnumType>(qual_type.getTypePtr()); local 5345 if (enum_type) 5347 EnumDecl *enum_decl = enum_type->getDecl(); 5399 const EnumType *enum_type = dyn_cast<EnumType>(clang_type); local 5401 if (enum_type) 5407 enum_type->getDecl(), 5416 enum_type->getDecl()->addDecl(enumerator_decl); 5438 const EnumType *enum_type = dyn_cast<EnumType>(clang_type); local 5439 if (enum_type) 5441 EnumDecl *enum_decl = enum_type 5656 const EnumType *enum_type = cast<EnumType>(qual_type.getTypePtr()); local [all...] |