/external/chromium_org/tools/json_schema_compiler/test/ |
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)); 110 OptionalEnumType enum_type; local 113 EXPECT_TRUE(OptionalEnumType::Populate(value, &enum_type)); 114 EXPECT_EQ(OptionalEnumType::TYPE_TWO, enum_type.type); 115 EXPECT_TRUE(value.Equals(enum_type.ToValue().get())) 118 OptionalEnumType enum_type; local 125 OptionalEnumType enum_type; local [all...] |
/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/chromium_org/third_party/protobuf/ |
descriptor_pb2.py | 188 message_type=None, enum_type=None, containing_type=None, 216 message_type=None, enum_type=None, containing_type=None, 223 message_type=None, enum_type=None, containing_type=None, 230 message_type=None, enum_type=None, containing_type=None, 237 message_type=None, enum_type=None, containing_type=None, 241 name='enum_type', full_name='google.protobuf.FileDescriptorProto.enum_type', index=4, 244 message_type=None, enum_type=None, containing_type=None, 251 message_type=None, enum_type=None, containing_type=None, 258 message_type=None, enum_type=None, containing_type=None [all...] |
/external/chromium_org/tools/json_schema_compiler/ |
ppapi_generator_test.py | 137 enum_type = self.namespace.types['EnumType'] 139 self.generator.EnumValueName(enum_type.enum_values[0], 140 enum_type)) 142 self.generator.EnumValueName(enum_type.enum_values[1], 143 enum_type)) 144 enum_type = self.namespace.types['AnotherEnumType'] 146 self.generator.EnumValueName(enum_type.enum_values[0], 147 enum_type)) 149 self.generator.EnumValueName(enum_type.enum_values[1], 150 enum_type)) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/ |
HTML.java | 154 public static final int ENUM_TYPE = 3; 177 * or if Attribute is of type ENUM_TYPE and the values are null 181 Preconditions.checkArgument((values == null) ^ (type == ENUM_TYPE), 182 "Only ENUM_TYPE can have values != null"); 199 * When called on an attribute of ENUM_TYPE, returns a Set of Strings 205 * @throws IllegalStateException if attribute type is not ENUM_TYPE 208 Preconditions.checkState(type == ENUM_TYPE);
|
HTML4.java | 269 HTML.Attribute.ENUM_TYPE, 289 HTML.Attribute.ENUM_TYPE, 305 HTML.Attribute.ENUM_TYPE, 313 HTML.Attribute.ENUM_TYPE, 333 HTML.Attribute.ENUM_TYPE, 371 HTML.Attribute.ENUM_TYPE, 389 HTML.Attribute.ENUM_TYPE, 393 HTML.Attribute.ENUM_TYPE,
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HTML.java | 155 public static final int ENUM_TYPE = 3; 178 * or if Attribute is of type ENUM_TYPE and the values are null 182 Preconditions.checkArgument((values == null) ^ (type == ENUM_TYPE), 183 "Only ENUM_TYPE can have values != null"); 200 * When called on an attribute of ENUM_TYPE, returns a Set of Strings 206 * @throws IllegalStateException if attribute type is not ENUM_TYPE 209 Preconditions.checkState(type == ENUM_TYPE);
|
HTML4.java | 270 HTML.Attribute.ENUM_TYPE, 290 HTML.Attribute.ENUM_TYPE, 306 HTML.Attribute.ENUM_TYPE, 314 HTML.Attribute.ENUM_TYPE, 334 HTML.Attribute.ENUM_TYPE, 372 HTML.Attribute.ENUM_TYPE, 390 HTML.Attribute.ENUM_TYPE, 394 HTML.Attribute.ENUM_TYPE,
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-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/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-eabi-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_org/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/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
enum_type_wrapper.py | 46 def __init__(self, enum_type): 48 self._enum_type = enum_type 49 self.DESCRIPTOR = enum_type;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
check_injected_webgl_calls_info.py | 106 for enum_type in enum_types: 107 if not enum_type in argument_types: 109 result[enum_type[2:]] = [i for i in range(len(argument_types)) if argument_types[i] == enum_type]
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
descriptor_database.py | 55 for enum in file_desc_proto.enum_type: 119 for enum_type in desc_proto.enum_type: 120 yield '.'.join((message_name, enum_type.name))
|
descriptor_pool.py | 208 symbols = list(self._ExtractEnums(dep_proto.enum_type, package)) 216 for enum_type in file_proto.enum_type: 217 self._ConvertEnumDescriptor(enum_type, file_proto.package, 262 for enum in desc_proto.enum_type] 368 enum_type=None, 378 """Sets the field's type, cpp_type, message_type and enum_type. 409 field_desc.enum_type = desc 424 field_desc.default_value = field_desc.enum_type.values_by_name[ 474 for symbol in self._ExtractEnums(desc_proto.enum_type, message_name) [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/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.7/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/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/clang/bindings/python/tests/cindex/ |
test_cursor.py | 160 enum_type = enum.enum_type 161 assert enum_type.kind == TypeKind.UINT 169 assert enum.enum_type.kind == TypeKind.LONGLONG
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/python/ |
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/chromium_org/third_party/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));
|
/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));
|
/external/protobuf/src/google/protobuf/compiler/java/ |
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()) +
|