| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/VideoAnalyzer/Events/ |
| D | WPFToKeyScanCodeConverter.cs | 23 public KeyScanCode? GetScanCode(int fromValue, Key untranslatedCode) in GetScanCode() 42 … private readonly Dictionary<Key, KeyScanCode> ScanCodesToIgnore = new Dictionary<Key, KeyScanCode> 44 { Key.ShiftLeft /*53*/, KeyScanCode.ShiftL }, 45 { Key.ControlLeft /*53*/, KeyScanCode.CtrlL }, 46 { Key.ShiftRight /*53*/, KeyScanCode.ShiftR }, 47 { Key.ControlRight /*53*/, KeyScanCode.CtrlR }, 49 { Key.Equal /*53*/, KeyScanCode.OemPlus }, 50 { Key.Slash /*53*/, KeyScanCode.OemQuestion }, 52 { Key.BackSpace /*10*/, KeyScanCode.BackSpace }, 53 { Key.Tab /*11*/, KeyScanCode.Tab }, [all …]
|
| D | XWTEventSource.cs | 40 var vks = VkKeyScanEx((char)e.Key, keyboardLayout); in HandleKeyReleased() 42 var key = WPFToKeyScanCodeConverter.Instance.GetScanCode((int)vsc, e.Key); in HandleKeyReleased() 44 var entryKey = Gdk.Keymap.Default.GetEntriesForKeyval((uint)e.Key)[0].Keycode; in HandleKeyReleased() 54 Logger.LogAs(this, LogLevel.Warning, "Unhandled keycode: {0}", e.Key); in HandleKeyReleased() 63 var vks = VkKeyScanEx((char)e.Key, keyboardLayout); in HandleKeyPressed() 65 var key = WPFToKeyScanCodeConverter.Instance.GetScanCode((int)vsc, e.Key); in HandleKeyPressed() 67 var entryKey = Gdk.Keymap.Default.GetEntriesForKeyval((uint)e.Key)[0].Keycode; in HandleKeyPressed() 77 Logger.LogAs(this, LogLevel.Warning, "Unhandled keycode: {0}", e.Key); in HandleKeyPressed()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/ |
| D | PriorityQueue.cs | 16 list = new SortedList<Key, TElement>(); in PriorityQueue() 21 list.Add(new Key(priority, count), item); in Enqueue() 72 private readonly SortedList<Key, TElement> list; 76 private class Key : IComparable<Key> class in Antmicro.Renode.Utilities.Collections.TPriority 78 public Key(TPriority priority, ulong count) in Key() method in Antmicro.Renode.Utilities.Collections.TPriority.Key 84 public int CompareTo(Key other) in CompareTo()
|
| D | MultiTree.cs | 43 return valueToNode.Select(x => x.Key).ToArray(); 71 var toDelete = valueToNode.Select(x => x.Key).Except(this).ToArray(); in GarbageCollect()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/ |
| D | STM32_IndependentWatchdog.cs | 45 Registers.Key.Define(this) in DefineRegisters() 46 … .WithEnumField<DoubleWordRegister, Key>(0, 16, FieldMode.Write, writeCallback: (_, value) => in DefineRegisters() 51 case Key.Reload: in DefineRegisters() 62 case Key.Start: in DefineRegisters() 65 case Key.Unlock: in DefineRegisters() 155 private enum Key enum in Antmicro.Renode.Peripherals.Timers.STM32_IndependentWatchdog 164 Key = 0x0, enumerator
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/ |
| D | ConsoleIOSource.cs | 114 if(key.Key == (ConsoleKey)0 && (key.Modifiers & ConsoleModifiers.Alt) != 0) in StandardHandling() 125 if(key.Key == ConsoleKey.RightArrow || key.Key == ConsoleKey.LeftArrow) in StandardHandling() 134 if(key.Key == ConsoleKey.LeftArrow) in StandardHandling() 138 else if(key.Key == ConsoleKey.RightArrow) in StandardHandling() 145 if(mappings.TryGetValue(key.Key, out var sequence)) in StandardHandling()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/Devices/ |
| D | DevicesConfig.cs | 78 if(!groups.ContainsKey(description.Key)) in InitializeDevice() 80 groups.Add(description.Key, new List<DeviceInfo>()); in InitializeDevice() 82 var x = groups[description.Key]; in InitializeDevice() 87 …ngleDevice(new KeyValuePair<string, dynamic>(element.Keys[0], element.Values[0]), description.Key); in InitializeDevice() 117 FailDevice(description.Key); in InitializeDevice() 132 info.Name = device.Key; in InitializeSingleDevice() 461 if(InitializeDevice(deferredDevice.Key, deferredDevice.Value)) in DevicesConfig() 463 deferred.Remove(deferredDevice.Key); in DevicesConfig() 481 foreach(var conn in periConn.Connections.Select(x=>x.Key)) in DevicesConfig() 538 … machine.PeripheralsGroups.GetOrCreate(group.Key, group.Value.Select(x => x.Peripheral)); in DevicesConfig() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/UART/ |
| D | UARTHub.cs | 96 … foreach(var item in uarts.Where(x => shouldLoopback || x.Key != sender).Select(x => x.Key)) in HandleCharReceived() 110 uart.Key.CharReceived += uart.Value; in ReattachUARTsAfterDeserialization()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/ |
| D | NetworkWithPHY.cs | 38 var key = phys.First(x => x.Value == peripheral).Key; in Unregister() 47 return phys.Select(x => new PHYRegistrationPoint(x.Key)); in GetRegistrationPoints() 51 phys.Select(x => Registered.Create(x.Value, new PHYRegistrationPoint(x.Key)));
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | ProgressMonitor.cs | 75 actionsToRemove.Add(action.Key); in UpdateDialog() 78 h.Finish(action.Key); in UpdateDialog() 85 h.Update(action.Key, current.Description, current.Progress); in UpdateDialog()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/ |
| D | PeripheralsCommand.cs | 35 var sysbusEntry = peripheralEntries.First(x => x.Key.Name == Machine.SystemBusName); in Run() 37 …Queue = new Queue<PeripheralNode>(peripheralEntries.Where(x => x.Key != sysbusEntry.Key).Select(x … in Run() 64 PeripheralEntry = rawNode.Key; in PeripheralNode()
|
| D | ResdCommand.cs | 130 … foreach(var kv in block.Samples.SkipWhile(kv => kv.Key < startTime).Take((int)count.Value)) in Run() 160 …foreach(var kv in block.Samples.SkipWhile(kv => kv.Key < startTime).TakeWhile(kv => kv.Key <= star… in Run() 183 …foreach(var kv in block.Samples.SkipWhile(kv => kv.Key < startTime).TakeWhile(kv => kv.Key <= endT… in Run()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/GPIOPort/ |
| D | BaseGPIOPort.cs | 95 if((bits & 1u << cn.Key) != 0) in SetConnectionsStateUsingBits() 108 …turn BitHelper.GetValueFromBitsArray(Connections.Where(x => x.Key >= 0).OrderBy(x => x.Key).Select… in GetSetConnectionBits()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/ |
| D | Murax_GPIO.cs | 49 …_ => BitHelper.GetValueFromBitsArray(Connections.Where(x => x.Key >= 0).OrderBy(x => x.Key).Select… in DefineRegisters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/ |
| D | SimpleContainer.cs | 38 …llection.Select(x => Registered.Create(x.Value, new NumberRegistrationPoint<int>(x.Key))).ToList(); 53 …var toRemove = ChildCollection.Where(x => x.Value.Equals(peripheral)).Select(x => x.Key).ToList();… in Unregister() 74 …impleContainer.ChildCollection => this.ChildCollection.ToDictionary(k => k.Key, v => (IPeripheral)…
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ |
| D | TranslationCPU_OpcodesCounting.cs | 73 x => x.Key, in GetAllOpcodesCounters() 83 … outputFile.WriteLine(string.Format("{0};{1}", x.Key, TlibGetOpcodeCounter(x.Value))); in SaveAllOpcodesCounters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/ |
| D | RenesasRZG_MHU.cs | 32 .Select((x, i) => new { Key = i, Value = (IGPIO)x }) in RenesasRZG_MHU() 33 .ToDictionary(x => x.Key, x => x.Value) in RenesasRZG_MHU() 72 .ToDictionary(x => x.Key, x => x.Value); in BuildRegisterMap()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/ |
| D | AESServiceProvider.cs | 49 manager.TryReadBytes((long)AESRegisters.Key, keyByteCount, out var keyBytes); in PerformAESOperation() 65 … manager.TryReadBytes((long)AESRegisters.Key, KeyLengthByteCountAES256, out var keyBytes); in PerformAESOperationDMA() 146 aes.Key = key; in Encrypt() 211 Key = 0x9000, enumerator
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Wireless/ |
| D | WirelessMedium.cs | 73 currentEmulation.TryGetEmulationElementName(radio.Key, out var name); in GetAttachedRadiosNames() 112 foreach(var radioAndPosition in radios.Where(x => x.Key != sender)) in FrameSentHandler() 114 var receiver = radioAndPosition.Key; in FrameSentHandler()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | HostMachine.cs | 63 var key = hostEmulationElements.SingleOrDefault(x => x.Value == element).Key; in RemoveHostMachineElement() 91 name = pair.Key; in TryGetName()
|
| D | ExternalsManager.cs | 62 externals.Remove(externals.Single(x => x.Value == external).Key); in RemoveExternal() 94 name = result.Key; in TryGetName() 276 …gLevel.Info, "Skipping serialization of the '{0}' external as it's marked as transient", item.Key); in SerializeExternals() 280 externalsKeys.Add(item.Key); in SerializeExternals()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/ |
| D | PeripheralCollection.cs | 135 … = shortBlocks.Where(x => x.Value.Peripheral != registeredPeripheral).Select(x => x.Key).ToArray(); in Move() 157 …= shortBlocks.Where(x => x.Value.Peripheral.Peripheral == peripheral).Select(x => x.Key).ToArray(); in Remove() 171 … shortBlocks.Where(x => x.Value.Start >= start && x.Value.End <= end).Select(x => x.Key).ToArray(); in Remove() 201 return new KeyValuePair<ulong, Block>(dEntry.Key, block); in VisitAccessMethods() 202 }).ToDictionary(x => x.Key, x => x.Value); in VisitAccessMethods()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Common/ |
| D | RegisterTemplate.tt | 278 { <#=elem.Key#>, <#=CLASS_NAME#>Registers.<#=registerGroup.Name#><#=elem.Key#> }, 318 .OrderBy(x => x.Key)) 321 var id = register.Key; 347 foreach(var index in registerGroup.IndexValueMap.OrderBy(x => x.Key)) 350 <#=registerGroup.Name#><#=index.Key#> = <#=index.Value#>,
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/ |
| D | BackendManager.cs | 63 if(b.Key.IsAssignableFrom(analyzable.GetType())) 237 … preferredAnalyzersString.Add(pa.Key.AssemblyQualifiedName, pa.Value.AssemblyQualifiedName); in SavePreferredAnalyzers() 252 preferredAnalyzer.Add(Type.GetType(pas.Key), Type.GetType(pas.Value)); in RestorePreferredAnalyzers() 256 …Could not restore preferred analyzer for {0}: {1}. Error while loading types", pas.Key, pas.Value); in RestorePreferredAnalyzers()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/ |
| D | SimpleJson.cs | 117 return hashSet.Any(x => x.Key.Equals(key)); in ContainsKey() 122 return hashSet.Select(x => x.Key).ToList(); in Keys() 127 return hashSet.RemoveWhere(x => x.Key.Equals(key)) > 0; in Remove() 133 …return hashSet.RemoveWhere(x => {if(!found && x.Key.Equals(key)) {found = true; return true;} retu… in RemoveFirst() 138 var valueEntry = hashSet.FirstOrDefault(x => x.Key.Equals(key)); in TryGetValue() 150 return hashSet.First(x => x.Key.Equals(key)).Value; in Get() 285 _members.Add(item.Key, item.Value); in Add() 305 return _members.ContainsKey(item.Key) && _members.Get(item.Key) == item.Value; in Contains() 354 return _members.Remove(item.Key); in Remove() 1591 dict.Add(kvp.Key, DeserializeObject(kvp.Value, valueType)); in DeserializeObject() [all …]
|