HomeSort by relevance Sort by last modified time
    Searched refs:enum_type (Results 1 - 25 of 46) sorted by null

1 2

  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/
types.py 72 def make_enum_dict(enum_type):
76 enum_type: The enum to compute the dictionary for.
85 if enum_type.code != gdb.TYPE_CODE_ENUM:
88 for field in enum_type.fields():
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/
types.py 72 def make_enum_dict(enum_type):
76 enum_type: The enum to compute the dictionary for.
85 if enum_type.code != gdb.TYPE_CODE_ENUM:
88 for field in enum_type.fields():
  /external/chromium/chrome/browser/sync/protocol/
proto_enum_conversions.cc 14 #define ASSERT_ENUM_BOUNDS(enum_parent, enum_type, enum_min, enum_max) \
15 COMPILE_ASSERT(enum_parent::enum_type##_MIN == enum_parent::enum_min, \
16 enum_type##_MIN_not_##enum_min); \
17 COMPILE_ASSERT(enum_parent::enum_type##_MAX == enum_parent::enum_max, \
18 enum_type##_MAX_not_##enum_max);
  /external/clang/bindings/python/tests/cindex/
test_cursor.py 84 enum_type = enum.enum_type
85 assert enum_type.kind == TypeKind.UINT
  /external/clang/test/CodeGenCXX/
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/cpp/
cpp_extension.cc 71 type_traits_.append(ClassName(descriptor_->enum_type(), true));
73 type_traits_.append(ClassName(descriptor_->enum_type(), true));
187 "type", ClassName(descriptor_->enum_type(), true));
cpp_file.cc 73 new EnumGenerator(file->enum_type(i), dllexport_decl));
319 "name", ClassName(file_->enum_type(i), false));
cpp_enum_field.cc 52 (*variables)["type"] = ClassName(descriptor->enum_type(), true);
cpp_helpers.cc 292 ClassName(field->enum_type(), true),
  /external/protobuf/src/google/protobuf/compiler/java/
java_enum_field.cc 61 (*variables)["type"] = ClassName(descriptor->enum_type());
168 return ClassName(descriptor_->enum_type());
367 return ClassName(descriptor_->enum_type());
java_extension.cc 104 vars["type"] = ClassName(descriptor_->enum_type());
154 vars["type"] = ClassName(descriptor_->enum_type());
155 vars["enum_map"] = ClassName(descriptor_->enum_type()) +
java_file.cc 103 if (file_->enum_type(i)->name() == classname_) {
179 EnumGenerator(file_->enum_type(i)).Generate(printer);
403 file_->enum_type(i),
java_helpers.cc 324 return ClassName(field->enum_type()) + "." +
  /external/protobuf/python/google/protobuf/
descriptor.py 240 for enum_type in self.enum_types:
241 enum_type.containing_type = self
312 enum_type: (EnumDescriptor) If this field contains an enum, a
374 default_value, message_type, enum_type, containing_type,
396 self.enum_type = enum_type
text_format.py 112 out.write(field.enum_type.values_by_number[value].name)
262 enum_descriptor = field.enum_type
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_enum_field.cc 133 return ClassName(params_, descriptor_->enum_type());
327 return ClassName(params_, descriptor_->enum_type());
javamicro_file.cc 128 if (file_->enum_type(i)->name() == classname_) {
184 EnumGenerator(file_->enum_type(i), params_).Generate(printer);
237 file_->enum_type(i),
javamicro_helpers.cc 377 return ClassName(params, field->enum_type()) + "." +
  /external/protobuf/src/google/protobuf/compiler/
parser.h 217 bool ParseEnumDefinition(EnumDescriptorProto* enum_type);
227 bool ParseEnumBlock(EnumDescriptorProto* enum_type);
parser.cc 834 bool Parser::ParseEnumDefinition(EnumDescriptorProto* enum_type) {
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) {
851 if (!ParseEnumStatement(enum_type)) {
861 bool Parser::ParseEnumStatement(EnumDescriptorProto* enum_type) {
866 return ParseOption(enum_type->mutable_options());
868 return ParseEnumConstant(enum_type->add_value());
    [all...]
  /external/protobuf/src/google/protobuf/
descriptor.h 192 const EnumDescriptor* enum_type(int index) const;
454 const EnumDescriptor* enum_type() const;
    [all...]
descriptor.cc 4250 const EnumDescriptor* enum_type = option_field->enum_type(); local
    [all...]
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());
1642 const EnumDescriptor* enum_type = file->enum_type(0); local
    [all...]
  /external/protobuf/src/google/protobuf/compiler/python/
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/python/google/protobuf/internal/
descriptor_test.py 80 message_type=None, enum_type=None, containing_type=None,
286 """enum_type: <

Completed in 528 milliseconds

1 2