/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapForProto2LiteTest.java | 61 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO); in setMapValues() 62 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValues() 63 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ); in setMapValues() 104 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet() 105 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 106 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet() 132 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR); in updateMapValues() 134 builder.getMutableInt32ToEnumField().put(4, TestMap.EnumValue.QUX); in updateMapValues() 164 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 165 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesUpdated() [all …]
|
D | MapTest.java | 65 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO); in setMapValues() 66 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValues() 67 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ); in setMapValues() 108 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet() 109 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 110 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet() 136 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR); in updateMapValues() 138 builder.getMutableInt32ToEnumField().put(4, TestMap.EnumValue.QUX); in updateMapValues() 168 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 169 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesUpdated() [all …]
|
D | MapForProto2Test.java | 64 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO); in setMapValues() 65 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValues() 66 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ); in setMapValues() 107 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet() 108 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 109 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet() 135 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR); in updateMapValues() 137 builder.getMutableInt32ToEnumField().put(4, TestMap.EnumValue.QUX); in updateMapValues() 167 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 168 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesUpdated() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | type.pb.cc | 120 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, name_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 121 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, number_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 122 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, options_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 127 EnumValue::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 132 sizeof(EnumValue), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 133 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 134 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValue, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto() 171 EnumValue_descriptor_, &EnumValue::default_instance()); in protobuf_RegisterTypes() 185 delete EnumValue::default_instance_; in protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto() 244 EnumValue::default_instance_ = new EnumValue(); in protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto() [all …]
|
D | type.pb.h | 44 class EnumValue; variable 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 { 661 EnumValue(); 662 virtual ~EnumValue(); [all …]
|
/external/llvm/tools/llvm-pdbdump/ |
D | EnumDumper.cpp | 39 while (auto EnumValue = EnumValues->getNext()) { in start() local 40 if (EnumValue->getDataKind() != PDB_DataKind::Constant) in start() 44 << EnumValue->getName(); in start() 47 << EnumValue->getValue(); in start()
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | 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/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Type.cs | 67 …typeof(global::Google.Protobuf.WellKnownTypes.EnumValue), global::Google.Protobuf.WellKnownTypes.E… in TypeReflection() 866 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.EnumValue> _repeated… 867 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.EnumValue.Parser); 868 …ogle.Protobuf.WellKnownTypes.EnumValue> enumvalue_ = new pbc::RepeatedField<global::Google.Protobu… 872 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> Enumvalue { 1040 public sealed partial class EnumValue : pb::IMessage<EnumValue> { class 1041 …ivate static readonly pb::MessageParser<EnumValue> _parser = new pb::MessageParser<EnumValue>(() =… 1042 public static pb::MessageParser<EnumValue> Parser { get { return _parser; } } 1052 public EnumValue() { in EnumValue() method in Google.Protobuf.WellKnownTypes.EnumValue 1058 public EnumValue(EnumValue other) : this() { in EnumValue() method in Google.Protobuf.WellKnownTypes.EnumValue [all …]
|
/external/llvm/utils/TableGen/ |
D | CodeGenRegisters.h | 61 const unsigned EnumValue; variable 122 return A.EnumValue < B.EnumValue; 128 unsigned EnumValue; member 259 return A.EnumValue < B.EnumValue; 263 return A.EnumValue == B.EnumValue; 300 unsigned EnumValue; 343 return SubClasses.test(RC->EnumValue); in hasSubClass() 602 return Reg->EnumValue - 1; in getRegIndex()
|
D | RegisterInfoEmitter.cpp | 114 OS << " " << Reg.getName() << " = " << Reg.EnumValue << ",\n"; in runEnums() 115 assert(Registers.size() == Registers.back().EnumValue && in runEnums() 135 << " = " << RC.EnumValue << ",\n"; in runEnums() 574 OS << Idx->EnumValue; in printSubRegIndex() 610 uint16_t Cur = (*I)->EnumValue; in diffEncode() 631 CodeGenSubRegIndex *&Entry = Vec[I.first->EnumValue - 1]; in combine() 638 auto *&Entry = Vec[I.first->EnumValue - 1]; in combine() 700 OS << Rows[r][i]->EnumValue << ", "; in emitComposeSubRegIndices() 857 diffEncode(SubRegLists[i], Reg.EnumValue, SR.begin(), SR.end()); in runMCDesc() 868 diffEncode(SuperRegLists[i], Reg.EnumValue, SuperRegList.begin(), in runMCDesc() [all …]
|
D | CodeGenRegisters.cpp | 34 : TheDef(R), EnumValue(Enum), LaneMask(0), AllSuperRegsCovered(true) { in CodeGenSubRegIndex() 45 EnumValue(Enum), LaneMask(0), AllSuperRegsCovered(true) { in CodeGenSubRegIndex() 108 EnumValue(Enum), in CodeGenRegister() 497 Id.push_back(I->first->EnumValue); in computeSuperRegs() 657 EnumValue(-1), in CodeGenRegisterClass() 728 EnumValue(-1), in CodeGenRegisterClass() 857 RC.SubClasses.set(RC.EnumValue); in computeSubClasses() 862 if (RC.SubClasses.test(SubRC.EnumValue)) in computeSubClasses() 873 RC.SubClasses.set(I2->EnumValue); in computeSubClasses() 904 Out.set(RC->EnumValue); in getSuperRegClasses() [all …]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeGenRegisters.h | 37 unsigned EnumValue; member 74 return A->EnumValue < B->EnumValue; in operator() 108 unsigned EnumValue; 148 return SubClasses.test(RC->EnumValue); in hasSubClass()
|
D | RegisterInfoEmitter.cpp | 52 Registers[i]->EnumValue << ",\n"; in runEnums() 53 assert(Registers.size() == Registers[Registers.size()-1]->EnumValue && in runEnums() 362 BVE.add(Target.getRegBank().getReg(Reg)->EnumValue); in runMCDesc() 555 SuperRegClassMap[RC2->EnumValue].insert(rc); in runTargetDesc() 805 OS << " " << SRC->EnumValue + 1 << ",\t// " << Idx->getName() in runTargetDesc()
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | 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/src/google/protobuf/util/internal/ |
D | utility.h | 60 class EnumValue; variable 137 const google::protobuf::EnumValue* FindEnumValueByNameOrNull( 142 const google::protobuf::EnumValue* FindEnumValueByNumberOrNull(
|
D | utility.cc | 177 const google::protobuf::EnumValue* FindEnumValueByNameOrNull( in FindEnumValueByNameOrNull() 181 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i); in FindEnumValueByNameOrNull() 190 const google::protobuf::EnumValue* FindEnumValueByNumberOrNull( in FindEnumValueByNumberOrNull() 194 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i); in FindEnumValueByNumberOrNull()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestIssues.cs | 625 public global::UnitTest.Issues.TestProtos.DeprecatedEnum EnumValue { property in UnitTest.Issues.TestProtos.DeprecatedFieldsMessage 657 if (EnumValue != other.EnumValue) return false; in Equals() 668 if (EnumValue != 0) hash ^= EnumValue.GetHashCode(); in GetHashCode() 688 if (EnumValue != 0) { in WriteTo() 690 output.WriteEnum((int) EnumValue); in WriteTo() 705 if (EnumValue != 0) { in CalculateSize() 706 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumValue); in CalculateSize() 727 if (other.EnumValue != 0) { in MergeFrom() 728 EnumValue = other.EnumValue; in MergeFrom()
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | ast.py | 152 class EnumValue(Definition): class 160 super(EnumValue, self).__init__(name, **kwargs) 165 return super(EnumValue, self).__eq__(other) and \ 174 _list_item_type = EnumValue
|
/external/guice/core/test/com/google/inject/ |
D | TypeConversionTest.java | 48 @BindingAnnotation @interface EnumValue {} annotation in TypeConversionTest 68 @Inject @EnumValue Bar enumField; 97 bindConstant().annotatedWith(EnumValue.class).to("TEE"); in testConstantInjection() 130 bindConstant().annotatedWith(EnumValue.class).to("TEE"); in testConstantInjectionWithExplicitBindingsRequired()
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | map_for_proto2_test.proto | 43 enum EnumValue { enum 53 map<int32, EnumValue> int32_to_enum_field = 4;
|
D | map_for_proto2_lite_test.proto | 41 enum EnumValue { enum 51 map<int32, EnumValue> int32_to_enum_field = 4;
|
D | map_test.proto | 43 enum EnumValue { enum 53 map<int32, EnumValue> int32_to_enum_field = 4;
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | map_test.proto | 43 enum EnumValue { enum 53 map<int32, EnumValue> int32_to_enum_field = 4;
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 48 using google::protobuf::EnumValue; 189 EnumValue* value = enum_type->mutable_enumvalue()->Add(); in ConvertEnumDescriptor()
|
/external/python/cpython2/Lib/test/ |
D | test_winreg.py | 134 data = EnumValue(sub_key, index) 262 name = EnumValue(key, i) 290 EnumValue(HKEY_PERFORMANCE_DATA, 0)
|