| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | SimpleCacheTests.cs | 25 var result = cache.Get(obj1, Generator1); in ShouldNotMissCache() 28 var resultAfter = cache.Get(obj1, Generator1); in ShouldNotMissCache() 39 var result = cache.Get(obj1, obj2, Generator3); in ShouldNotMissCacheWithTwoParameters() 42 var resultAfter = cache.Get(obj1, obj2, Generator3); in ShouldNotMissCacheWithTwoParameters() 55 cache.Get(obj2, Generator1); in ShouldNotMixParametersAndGenerators() 60 cache.Get(obj2, Generator2); in ShouldNotMixParametersAndGenerators() 65 cache.Get(obj1, Generator2); in ShouldNotMixParametersAndGenerators() 70 cache.Get(obj1, obj2, Generator3); in ShouldNotMixParametersAndGenerators() 75 cache.Get(obj1, obj2, Generator4); in ShouldNotMixParametersAndGenerators() 95 result = cache.Get(val, NullParameterGenerator); in ShouldHandleNullsAsParameter() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/ConsoleBackendAnalyzers/ |
| D | WindowPositionProvider.cs | 40 … if(!ConfigurationManager.Instance.Get("termsharp", "window-allow-outside-viewport", false)) in SnapToViewport() 63 … nextPosition.X += ConfigurationManager.Instance.Get("termsharp", "window-initial-offset-x", 0); in WindowPositionProvider() 64 … nextPosition.Y += ConfigurationManager.Instance.Get("termsharp", "window-initial-offset-y", 0); in WindowPositionProvider() 66 … var x = ConfigurationManager.Instance.Get("termsharp", "window-next-offset-x", 30, i => i >= 0); in WindowPositionProvider() 67 … var y = ConfigurationManager.Instance.Get("termsharp", "window-next-offset-y", 50, i => i >= 0); in WindowPositionProvider()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/ |
| D | TypeExtensions.cs | 29 return cache.Get(info, InnerIsCallable); in IsCallable() 34 return cache.Get(info, InnerIsCallableIndexer); in IsCallableIndexer() 39 return cache.Get(info, InnerIsCallable); in IsCallable() 44 return cache.Get(info, InnerIsCallable); in IsCallable() 49 return cache.Get(info, InnerIsExtensionCallable); in IsExtensionCallable() 54 return cache.Get(info, InnerIsStatic); in IsStatic() 59 return cache.Get(info, flags, InnerIsCurrentlyGettable); in IsCurrentlyGettable() 64 return cache.Get(info, flags, InnerIsCurrentlySettable); in IsCurrentlySettable() 69 return cache.Get(info, InnerIsExtension); in IsExtension() 74 return cache.Get(info, InnerIsBaseCallable); in IsBaseCallable() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/I2C/ |
| D | I2CPeripheralBase.cs | 48 …this.NoisyLog("Reading register {0} (0x{1:X}) from device: 0x{2:X}", cache.Get(address, x => Enum.… in Read() 104 …his.Log(LogLevel.Noisy, "Setting register address to {0} (0x{1:X})", cache.Get(address, x => Enum.… in WriteByte() 111 …ogLevel.Noisy, "Writing value 0x{0:X} to register {1} (0x{2:X})", b, cache.Get(address, x => Enum.… in WriteByte()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm-M/ |
| D | NVIC.cs | 94 get => systick.Get(IsCurrentCPUInSecureState(out var _)).Frequency; 97 systick.Get(IsCurrentCPUInSecureState(out var _)).Frequency = value; 103 get => systick.Get(IsCurrentCPUInSecureState(out var _)).Divider; 106 systick.Get(IsCurrentCPUInSecureState(out var _)).Divider = value; 203 return ccr.Get(isSecure); in ReadDoubleWord() 426 ccr.Get(isSecure) = value; in WriteDoubleWord() 592 changeCallback: (_, value) => systick.Get(isNextAccessSecure).Enabled = value, in DefineRegisters() 593 valueProviderCallback: _ => systick.Get(isNextAccessSecure).Enabled, in DefineRegisters() 596 … valueProviderCallback: _ => systick.Get(isNextAccessSecure).TickInterruptEnabled, in DefineRegisters() 600 systick.Get(isNextAccessSecure).TickInterruptEnabled = newValue; in DefineRegisters() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/ |
| D | SimpleCache.cs | 14 public R Get<T1, R>(T1 parameter, Func<T1, R> generator) in Get() method in Antmicro.Renode.Utilities.Collections.SimpleCache 33 public R Get<T1, T2, R>(T1 parameterT1, T2 parameterT2, Func<T1, T2, R> generator) in Get() method in Antmicro.Renode.Utilities.Collections.SimpleCache
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | ConfigurationManager.cs | 37 public T Get<T>(string group, string name, T defaultValue, Func<T, bool> validation = null) in Get() method in Antmicro.Renode.Utilities.ConfigurationManager 59 var value = Get<string>(group, name, defaultValue.ToString()); in Get()
|
| D | BlobManager.cs | 29 if(ConfigurationManager.Instance.Get("file-system", "use-cow", false)) in Load()
|
| D | FileCopier.cs | 26 if (ConfigurationManager.Instance.Get("file-system", "use-cow", false)) in Copy()
|
| D | CachingFileFetcher.cs | 379 if(!ConfigurationManager.Instance.Get("file-fetcher", "calculate-checksum", true)) in VerifyChecksum()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | ShellProvider.cs | 33 …HistorySavePath = ConfigurationManager.Instance.Get("general", "history-path", Path.Combine(Emulat… in GenerateShell()
|
| D | MonitorCommands.cs | 773 var methods = cache.Get(device, GetAvailableMethods); in GetMonitorInfo() 779 var properties = cache.Get(device, GetAvailableProperties); in GetMonitorInfo() 785 var indexers = cache.Get(device, GetAvailableIndexers); in GetMonitorInfo() 791 var fields = cache.Get(device, GetAvailableFields); in GetMonitorInfo() 797 var extensions = cache.Get(device, GetAvailableExtensions); in GetMonitorInfo() 1219 var fields = cache.Get(type, GetAvailableFields); in FindFieldOrProperty() 1220 var properties = cache.Get(type, GetAvailableProperties); in FindFieldOrProperty() 1250 var methods = cache.Get(type, GetAvailableMethods); in ExecuteDeviceAction() 1251 var fields = cache.Get(type, GetAvailableFields); in ExecuteDeviceAction() 1252 var properties = cache.Get(type, GetAvailableProperties); in ExecuteDeviceAction() [all …]
|
| D | Monitor.cs | 79 …swallowExceptions = ConfigurationManager.Instance.Get(ConfigurationSection, "consume-exceptions-fr… in Monitor() 80 …breakOnException = ConfigurationManager.Instance.Get(ConfigurationSection, "break-script-on-except… in Monitor() 120 …CurrentNumberFormat = ConfigurationManager.Instance.Get<NumberModes>(ConfigurationSection, "number… in Monitor()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Backends/ |
| D | MemoryBackend.cs | 22 … MaxCount = ConfigurationManager.Instance.Get("general", "log-history-limit", DefaultLimit); in MemoryBackend()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/FBInstruction/ |
| D | Instruction.cs | 36 …public bool IsNop { get { int o = __p.__offset(16); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos… 37 …public bool IsBranch { get { int o = __p.__offset(18); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_… 39 …public bool IsFlush { get { int o = __p.__offset(22); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_p… 40 …public bool IsVctrl { get { int o = __p.__offset(24); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_p… 58 …public byte Sew { get { int o = __p.__offset(32); return o != 0 ? __p.bb.Get(o + __p.bb_pos) : (by…
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/ |
| D | XilinxQSPI.cs | 37 return registers.Config.Get(); in ReadDoubleWord() 265 public uint Get() in Get() method in Antmicro.Renode.Peripherals.SPI.XilinxQSPI.ConfigRegister
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | EmulationManager.cs | 255 …ache("compiler-cache", !Emulator.InCIMode && ConfigurationManager.Instance.Get("general", "compile… 301 …var serializerMode = ConfigurationManager.Instance.Get("general", "serialization-mode", Antmicro.M… in EmulationManager()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/ |
| D | ConsoleWindowBackendAnalyzer.cs | 53 … var preferredProvider = ConfigurationManager.Instance.Get("general", "terminal", "XTerm"); in Show()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/ |
| D | Packet.cs | 26 return cache.Get(Tuple.Create(typeof(T), fieldName), _ => in CalculateOffset() 428 return cache.Get(t, _ => in CalculateLength() 453 return cache.Get(t, _ => in GetFieldsAndProperties()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/HostInterfaces/Network/ |
| D | OsXTapInterface.cs | 184 … var tapDevicePath = ConfigurationManager.Instance.Get<String>("tap", "tap-device-path", "/dev"); in Init()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/ |
| D | Logger.cs | 687 …SynchronousLogging = ConfigurationManager.Instance.Get("general", "use-synchronous-logging", false… in Init() 688 …alwaysAppendMachineName = ConfigurationManager.Instance.Get("general", "always-log-machine-name", … in Init() 689 …aggregateLogs = ConfigurationManager.Instance.Get("general", "collapse-repeated-log-entries", true… in Init()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Plugins/ |
| D | PluginManager.cs | 85 … var enabledPlugins = ConfigurationManager.Instance.Get(ConfigSection, ConfigOption, string.Empty); in Init()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/ |
| D | SimpleJson.cs | 148 public static object Get<K>(this HashSet<KeyValuePair<K, object>> hashSet, K key) in Get() method in Antmicro.Renode.Config.HashSetExtensions 275 get { return _members.Get(key); } 305 return _members.ContainsKey(item.Key) && _members.Get(item.Key) == item.Value; in Contains()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/ |
| D | UFSHostController.cs | 549 case DMECommand.Get: in ExecuteDMECommand() 668 Get = 0x01, enumerator
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ |
| D | TranslationCPU.cs | 1334 …var translationCacheSizeMin = (ulong)ConfigurationManager.Instance.Get("translation", "min-tb-size… in Init() 1335 …var translationCacheSizeMax = (ulong)ConfigurationManager.Instance.Get("translation", "max-tb-size… in Init()
|