/external/llvm/tools/llvm-pdbdump/ |
EnumDumper.cpp | 39 while (auto EnumValue = EnumValues->getNext()) { 40 if (EnumValue->getDataKind() != PDB_DataKind::Constant) 44 << EnumValue->getName(); 47 << EnumValue->getValue();
|
/system/tools/hidl/ |
EnumType.h | 28 struct EnumValue; 35 const std::vector<EnumValue *> &values() const; 36 void addValue(EnumValue *value); 114 std::vector<EnumValue *> mValues; 121 struct EnumValue : public LocalIdentifier { 122 EnumValue(const char *name, ConstantExpression *value = nullptr); 129 void autofill(const EnumValue *prev, const ScalarType *type); 140 DISALLOW_COPY_AND_ASSIGN(EnumValue);
|
EnumType.cpp | 39 const std::vector<EnumValue *> &EnumType::values() const { 43 void EnumType::addValue(EnumValue *value) { 46 EnumValue *prev = nullptr; 111 for(EnumValue *v : type->values()) { 305 for (EnumValue *value : values()) { 334 for (EnumValue *value : values()) { 395 for (EnumValue *value : values()) { 413 for (EnumValue *value : values()) { 659 EnumValue::EnumValue(const char *name, ConstantExpression *value [all...] |
hidl-gen_y.yy | 274 %type<enumValue> enum_value 298 android::EnumValue *enumValue; 300 std::vector<android::EnumValue *> *enumValues; 734 *(static_cast<EnumValue *>(iden)->constExpr()), $1->string()); 737 EnumValue *v = ast->lookupEnumValue(*($1), &errorMsg, *scope); 973 : valid_identifier { $$ = new EnumValue($1); } 974 | valid_identifier '=' const_expr { $$ = new EnumValue($1, $3); } [all...] |
AST.h | 40 struct EnumValue; 63 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope);
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
constant_resolver.py | 15 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/ |
MapForProto2LiteTest.java | 61 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.BAZ, message.getInt32ToEnumField().get(3)) [all...] |
MapTest.java | 65 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.BAZ, message.getInt32ToEnumField().get(3)) [all...] |
MapForProto2Test.java | 64 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.BAZ, message.getInt32ToEnumField().get(3)) [all...] |
/external/protobuf/src/google/protobuf/ |
type.pb.h | 44 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 >& 610 enumvalue() const 1407 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { function in class:google::protobuf::Enum 1425 Enum::enumvalue() const { function in class:google::protobuf::Enum [all...] |
type.pb.cc | 120 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::default_instance_ = new EnumValue() 2413 const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { function in class:google::protobuf::Enum 2431 Enum::enumvalue() const { function in class:google::protobuf::Enum [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
type.pb.h | 44 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 >& 610 enumvalue() const 1407 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const { function in class:google::protobuf::Enum 1425 Enum::enumvalue() const { function in class:google::protobuf::Enum [all...] |
/external/llvm/utils/TableGen/ |
CodeGenRegisters.h | 61 const unsigned EnumValue; 122 return A.EnumValue < B.EnumValue; 128 unsigned EnumValue; 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 [all...] |
RegisterInfoEmitter.cpp | 114 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, SR.begin(), SR.end()) [all...] |
CodeGenRegisters.cpp | 34 : 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)) [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
CodeGenRegisters.h | 37 unsigned EnumValue; 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; 148 return SubClasses.test(RC->EnumValue); 162 // EnumValue. 166 // getSuperClasses - Returns a list of super classes ordered by EnumValue [all...] |
/external/protobuf/src/google/protobuf/util/internal/ |
utility.h | 60 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(
|
utility.cc | 177 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);
|
/packages/services/Car/tools/hidl_parser/ |
parser.py | 211 class EnumValue(object): 215 class EnumValueConstant(EnumValue): 228 class EnumValueSuccessor(EnumValue): 238 class EnumValueLocalRef(EnumValue): 249 class EnumValueLShift(EnumValue): 262 class EnumValueOr(EnumValue): 275 class EnumValueExternRef(EnumValue):
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
parser_unittest.py | 194 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('VALUE7', None, None)]))] [all...] |
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Type.cs | 66 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Enum), global::Google.Protobuf.WellKnownTypes.Enum.Parser, new[]{ "Name", "Enumvalue", "Options", "SourceContext", "Syntax" }, null, null, null), 67 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.EnumValue), global::Google.Protobuf.WellKnownTypes.EnumValue.Parser, new[]{ "Name", "Number", "Options" }, null, null, null), 864 /// <summary>Field number for the "enumvalue" field.</summary> 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 { [all...] |
/external/guice/core/test/com/google/inject/ |
TypeConversionTest.java | 48 @BindingAnnotation @interface EnumValue {} 68 @Inject @EnumValue Bar enumField; 97 bindConstant().annotatedWith(EnumValue.class).to("TEE"); 130 bindConstant().annotatedWith(EnumValue.class).to("TEE");
|
/external/clang/docs/tools/ |
dump_format_style.py | 79 class EnumValue: 172 enum.values.append(EnumValue(line.replace(',', ''), comment))
|
/external/protobuf/src/google/protobuf/util/ |
type_resolver_util.cc | 48 using google::protobuf::EnumValue; 189 EnumValue* value = enum_type->mutable_enumvalue()->Add(); 193 // TODO(xiaofeng): Set EnumValue options.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_winreg.py | 131 data = EnumValue(sub_key, index)
237 # EnumValue or QueryValue to throw "WindowsError: More data is
259 name = EnumValue(key, i)
286 EnumValue(HKEY_PERFORMANCE_DATA, 0)
|