Searched refs:EnumValue (Results 1 - 25 of 40) sorted by relevance

12

/external/llvm/tools/llvm-pdbdump/
H A DEnumDumper.cpp39 while (auto EnumValue = EnumValues->getNext()) {
40 if (EnumValue->getDataKind() != PDB_DataKind::Constant)
44 << EnumValue->getName();
47 << EnumValue->getValue();
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
H A Dconstant_resolver.py15 assert isinstance(named_value, (mojom.EnumValue, mojom.ConstantValue))
16 if isinstance(named_value, mojom.EnumValue):
37 if isinstance(constant.value, (mojom.EnumValue, mojom.ConstantValue)):
53 if isinstance(field.value, mojom.EnumValue):
82 if isinstance(field.default, (mojom.ConstantValue, mojom.EnumValue)):
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DMapForProto2LiteTest.java61 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO);
62 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR);
63 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ);
104 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1));
105 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2));
106 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3));
132 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR);
134 builder.getMutableInt32ToEnumField().put(4, TestMap.EnumValue.QUX);
164 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1));
165 assertEquals(TestMap.EnumValue
[all...]
H A DMapTest.java65 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO);
66 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR);
67 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ);
108 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1));
109 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2));
110 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3));
136 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR);
138 builder.getMutableInt32ToEnumField().put(4, TestMap.EnumValue.QUX);
168 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1));
169 assertEquals(TestMap.EnumValue
[all...]
H A DMapForProto2Test.java64 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO);
65 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR);
66 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ);
107 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1));
108 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2));
109 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3));
135 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR);
137 builder.getMutableInt32ToEnumField().put(4, TestMap.EnumValue.QUX);
167 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1));
168 assertEquals(TestMap.EnumValue
[all...]
/external/protobuf/src/google/protobuf/
H A Dtype.pb.h44 class EnumValue;
600 // repeated .google.protobuf.EnumValue enumvalue = 2;
604 const ::google::protobuf::EnumValue& enumvalue(int index) const;
605 ::google::protobuf::EnumValue* mutable_enumvalue(int index);
606 ::google::protobuf::EnumValue* add_enumvalue();
607 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >*
609 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >&
645 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalue_;
659 class LIBPROTOBUF_EXPORT EnumValue : public ::google::protobuf::Message { class in namespace:google::protobuf
661 EnumValue();
[all...]
H A Dtype.pb.cc120 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, name_),
121 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, number_),
122 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, options_),
127 EnumValue::default_instance_,
132 sizeof(EnumValue),
133 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, _internal_metadata_),
134 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, _is_default_instance_));
171 EnumValue_descriptor_, &EnumValue::default_instance());
185 delete EnumValue::default_instance_;
244 EnumValue
2528 EnumValue::EnumValue() function in class:google::protobuf::EnumValue
2538 EnumValue::EnumValue(const EnumValue& from) function in class:google::protobuf::EnumValue
[all...]
/external/llvm/utils/TableGen/
H A DCodeGenRegisters.h61 const unsigned EnumValue; member in class:llvm::CodeGenSubRegIndex
122 return A.EnumValue < B.EnumValue;
128 unsigned EnumValue; member in struct:llvm::CodeGenRegister
259 return A.EnumValue < B.EnumValue;
263 return A.EnumValue == B.EnumValue;
270 // Bit mask of sub-classes including this, indexed by their EnumValue.
273 // first. This is the same as sorting by EnumValue
300 unsigned EnumValue; member in class:llvm::CodeGenRegisterClass
[all...]
H A DRegisterInfoEmitter.cpp114 OS << " " << Reg.getName() << " = " << Reg.EnumValue << ",\n";
115 assert(Registers.size() == Registers.back().EnumValue &&
135 << " = " << RC.EnumValue << ",\n";
574 OS << Idx->EnumValue;
610 uint16_t Cur = (*I)->EnumValue;
631 CodeGenSubRegIndex *&Entry = Vec[I.first->EnumValue - 1];
638 auto *&Entry = Vec[I.first->EnumValue - 1];
640 "Expected EnumValue to be unique");
700 OS << Rows[r][i]->EnumValue << ", ";
857 diffEncode(SubRegLists[i], Reg.EnumValue, S
[all...]
H A DCodeGenRegisters.cpp34 : TheDef(R), EnumValue(Enum), LaneMask(0), AllSuperRegsCovered(true) {
45 EnumValue(Enum), LaneMask(0), AllSuperRegsCovered(true) {
108 EnumValue(Enum),
497 Id.push_back(I->first->EnumValue);
657 EnumValue(-1),
728 EnumValue(-1),
857 RC.SubClasses.set(RC.EnumValue);
862 if (RC.SubClasses.test(SubRC.EnumValue))
873 RC.SubClasses.set(I2->EnumValue);
904 Out.set(RC->EnumValue);
[all...]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DType.cs67 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.EnumValue), global::Google.Protobuf.WellKnownTypes.EnumValue.Parser, new[]{ "Name", "Number", "Options" }, null, null, null),
866 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.EnumValue> _repeated_enumvalue_codec
867 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.EnumValue.Parser);
868 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> enumvalue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue>();
872 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> Enumvalue {
1040 public sealed partial class EnumValue : pb::IMessage<EnumValue> { class in namespace:Google.Protobuf.WellKnownTypes
1041 private static readonly pb::MessageParser<EnumValue> _parse
1052 public EnumValue() { method in class:Google.Protobuf.WellKnownTypes.EnumValue
1058 public EnumValue(EnumValue other) : this() { method in class:Google.Protobuf.WellKnownTypes.EnumValue
[all...]
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DCodeGenRegisters.h37 unsigned EnumValue; member in struct:llvm::CodeGenRegister
69 // Order CodeGenRegister pointers by EnumValue.
74 return A->EnumValue < B->EnumValue;
92 // Bit mask of sub-classes including this, indexed by their EnumValue.
95 // first. This is the same as sorting by EnumValue.
108 unsigned EnumValue; member in class:llvm::CodeGenRegisterClass
148 return SubClasses.test(RC->EnumValue);
162 // EnumValue.
166 // getSuperClasses - Returns a list of super classes ordered by EnumValue
[all...]
H A DCodeGenRegisters.cpp30 EnumValue(Enum),
259 : TheDef(R), Name(R->getName()), EnumValue(-1) {
343 EnumValue(-1),
470 RC.SubClasses.set(RC.EnumValue);
560 RegClasses[i]->EnumValue = i;
H A DRegisterInfoEmitter.cpp52 Registers[i]->EnumValue << ",\n";
53 assert(Registers.size() == Registers[Registers.size()-1]->EnumValue &&
362 BVE.add(Target.getRegBank().getReg(Reg)->EnumValue);
555 SuperRegClassMap[RC2->EnumValue].insert(rc);
805 OS << " " << SRC->EnumValue + 1 << ",\t// " << Idx->getName()
/external/protobuf/src/google/protobuf/util/internal/
H A Dutility.h60 class EnumValue;
135 // Finds and returns the EnumValue identified by enum_name in the passed tech
137 const google::protobuf::EnumValue* FindEnumValueByNameOrNull(
140 // Finds and returns the EnumValue identified by value in the passed tech
142 const google::protobuf::EnumValue* FindEnumValueByNumberOrNull(
H A Dutility.cc177 const google::protobuf::EnumValue* FindEnumValueByNameOrNull(
181 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i);
190 const google::protobuf::EnumValue* FindEnumValueByNumberOrNull(
194 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i);
H A Ddatapiece.cc268 const google::protobuf::EnumValue* value =
280 if (const google::protobuf::EnumValue* enum_value =
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dparser_unittest.py194 ast.EnumValue('VALUE', None, None))),
350 ast.EnumValueList([ast.EnumValue('VALUE1', None, None),
351 ast.EnumValue('VALUE2', None, None)])),
355 ast.EnumValueList([ast.EnumValue('VALUE1', None, '-1'),
356 ast.EnumValue('VALUE2', None, '0'),
357 ast.EnumValue('VALUE3', None, '+987'),
358 ast.EnumValue('VALUE4', None, '0xAF12'),
359 ast.EnumValue('VALUE5', None, '-0x09bcd'),
360 ast.EnumValue('VALUE6', None, ('IDENTIFIER',
362 ast.EnumValue('VALUE
[all...]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
H A DUnittestIssues.cs57 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.DeprecatedFieldsMessage), global::UnitTest.Issues.TestProtos.DeprecatedFieldsMessage.Parser, new[]{ "PrimitiveValue", "PrimitiveArray", "MessageValue", "MessageArray", "EnumValue", "EnumArray" }, null, null, null),
621 /// <summary>Field number for the "EnumValue" field.</summary>
625 public global::UnitTest.Issues.TestProtos.DeprecatedEnum EnumValue { property in class:UnitTest.Issues.TestProtos.DeprecatedFieldsMessage
657 if (EnumValue != other.EnumValue) return false;
668 if (EnumValue != 0) hash ^= EnumValue.GetHashCode();
688 if (EnumValue != 0) {
690 output.WriteEnum((int) EnumValue);
705 if (EnumValue !
[all...]
/external/guice/core/test/com/google/inject/
H A DTypeConversionTest.java48 @BindingAnnotation @interface EnumValue {} interface in class:TypeConversionTest
68 @Inject @EnumValue Bar enumField;
97 bindConstant().annotatedWith(EnumValue.class).to("TEE");
130 bindConstant().annotatedWith(EnumValue.class).to("TEE");
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
H A Dast.py152 class EnumValue(Definition): class in inherits:Definition
160 super(EnumValue, self).__init__(name, **kwargs)
165 return super(EnumValue, self).__eq__(other) and \
174 _list_item_type = EnumValue
/external/clang/docs/tools/
H A Ddump_format_style.py79 class EnumValue: class in inherits:
172 enum.values.append(EnumValue(line.replace(',', ''), comment))
/external/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc48 using google::protobuf::EnumValue;
189 EnumValue* value = enum_type->mutable_enumvalue()->Add();
193 // TODO(xiaofeng): Set EnumValue options.
/external/libmojo/mojo/public/tools/bindings/generators/
H A Dmojom_js_generator.py288 if isinstance(token, (mojom.EnumValue, mojom.NamedValue)):
296 if isinstance(token, mojom.EnumValue):
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dp5.cpp176 EnumValue = static_cast<Types>(0) // expected-error{{enumerator value contains unexpanded parameter pack 'Types'}}

Completed in 4438 milliseconds

12