Home
last modified time | relevance | path

Searched refs:Get (Results 1 – 25 of 25) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DSimpleCacheTests.cs25 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/
DWindowPositionProvider.cs40 … 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/
DTypeExtensions.cs29 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/
DI2CPeripheralBase.cs48 …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/
DNVIC.cs94 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/
DSimpleCache.cs14 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/
DConfigurationManager.cs37 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()
DBlobManager.cs29 if(ConfigurationManager.Instance.Get("file-system", "use-cow", false)) in Load()
DFileCopier.cs26 if (ConfigurationManager.Instance.Get("file-system", "use-cow", false)) in Copy()
DCachingFileFetcher.cs379 if(!ConfigurationManager.Instance.Get("file-fetcher", "calculate-checksum", true)) in VerifyChecksum()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DShellProvider.cs33 …HistorySavePath = ConfigurationManager.Instance.Get("general", "history-path", Path.Combine(Emulat… in GenerateShell()
DMonitorCommands.cs773 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 …]
DMonitor.cs79 …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/
DMemoryBackend.cs22 … MaxCount = ConfigurationManager.Instance.Get("general", "log-history-limit", DefaultLimit); in MemoryBackend()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/FBInstruction/
DInstruction.cs36 …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/
DXilinxQSPI.cs37 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/
DEmulationManager.cs255 …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/
DConsoleWindowBackendAnalyzer.cs53 … var preferredProvider = ConfigurationManager.Instance.Get("general", "terminal", "XTerm"); in Show()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/
DPacket.cs26 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/
DOsXTapInterface.cs184 … var tapDevicePath = ConfigurationManager.Instance.Get<String>("tap", "tap-device-path", "/dev"); in Init()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/
DLogger.cs687 …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/
DPluginManager.cs85 … var enabledPlugins = ConfigurationManager.Instance.Get(ConfigSection, ConfigOption, string.Empty); in Init()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/
DSimpleJson.cs148 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/
DUFSHostController.cs549 case DMECommand.Get: in ExecuteDMECommand()
668 Get = 0x01, enumerator
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs1334 …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()