Searched refs:IndexValueMap (Results 1 – 4 of 4) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | RegisterEnumParserTests.cs | 125 Assert.AreEqual(3, parser.RegisterGroups[0].IndexValueMap.Count); in ShouldParseEnumWithMultipleValuesWithIndices() 126 Assert.AreEqual(15, parser.RegisterGroups[0].IndexValueMap[1]); in ShouldParseEnumWithMultipleValuesWithIndices() 127 Assert.AreEqual(16, parser.RegisterGroups[0].IndexValueMap[2]); in ShouldParseEnumWithMultipleValuesWithIndices() 128 Assert.AreEqual(17, parser.RegisterGroups[0].IndexValueMap[3]); in ShouldParseEnumWithMultipleValuesWithIndices()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Common/ |
| D | RegisterEnumParser.cs | 91 IndexValueMap = new Dictionary<int, int>() in Parse() 96 groupDescriptor.IndexValueMap.Add(x.Item1, x.Item2); in Parse() 243 public Dictionary<int, int> IndexValueMap { get; set; } property in Antmicro.Renode.CoresSourceParser.RegistersEnumParser.RegisterGroupDescriptor 247 return IndexValueMap.Select(x => new RegisterDescriptor in GetRegisters()
|
| D | RegisterEnumParserContent.tt | 99 IndexValueMap = new Dictionary<int, int>() 104 groupDescriptor.IndexValueMap.Add(x.Item1, x.Item2); 251 public Dictionary<int, int> IndexValueMap { get; set; } 255 return IndexValueMap.Select(x => new RegisterDescriptor
|
| D | RegisterTemplate.tt | 275 foreach(var elem in registerGroup.IndexValueMap) 347 foreach(var index in registerGroup.IndexValueMap.OrderBy(x => x.Key))
|