| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Utilities/ |
| D | ThreadSyncTester.cs | 25 foreach(var t in threads) in Dispose() 27 t.Dispose(); in Dispose() 39 var t = new TestThread(name); in ObtainThread() 40 threads.Add(t); in ObtainThread() 41 return t; in ObtainThread() 44 … public ExecutionResult Execute(TestThread t, Func<object> fun, string name = "unnamed operation") in Execute() argument 47 var action = Tuple.Create(t, new DelayedAction(fun, result, name)); in Execute() 56 foreach(var t in threads) in Finish() 58 t.CheckException(); in Finish() 178 public void ExecuteOn(TestThread t) in ExecuteOn() argument [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Sensor/ |
| D | SensorSamplesFifo.cs | 202 public void Add(IManagedThread t) in Add() argument 204 threads.Add(t); in Add() 209 foreach(var t in threads) in Dispose() 211 t.Dispose(); in Dispose() 217 foreach(var t in threads) in Start() 219 t.Start(); in Start() 225 foreach(var t in threads) in StartDelayed() 227 t.StartDelayed(i); in StartDelayed() 233 foreach(var t in threads) in Stop() 235 t.Stop(); in Stop() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/ |
| D | BusAccess.cs | 80 public static Operation GetOperationFromSignature(Type t) in GetOperationFromSignature() argument 82 return accessOperations[t]; in GetOperationFromSignature() 85 public static Method GetMethodFromSignature(Type t) in GetMethodFromSignature() argument 87 return accessMethods[t]; in GetMethodFromSignature() 129 public ReferencedTypeAttribute(Type t) in ReferencedTypeAttribute() argument 131 ReferencedType = t; in ReferencedTypeAttribute()
|
| D | PeripheralAccessMethods.cs | 100 var t = wrapperStack.Pop(); in EnableAllTranslations() 101 WrapMethods(t.Item1, t.Item2); in EnableAllTranslations() 310 var t = wrapperStack.Pop(); in RemoveWrappersOfType() 311 WrapMethods(t.Item1, t.Item2); in RemoveWrappersOfType()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/Wrappers/ |
| D | RegisterMapper.cs | 23 …var enumsWithAttribute = types.Where(t => t.GetCustomAttributes(false).Any(x => x is RegistersDesc… in RegisterMapper() 28 …interestingEnums.AddRange(types.Where(t => t.BaseType == typeof(Enum) && t.Name.IndexOf("register"… in RegisterMapper()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | TypeDescriptor.cs | 15 public TypeDescriptor(Type t) in TypeDescriptor() argument 17 underlyingType = t; in TypeDescriptor() 20 public TypeDescriptor(TypeDefinition t) in TypeDescriptor() argument 22 underlyingType = t; in TypeDescriptor()
|
| D | TypeSorter.cs | 14 public static void Sort(Type[] t) in Sort() argument 16 Array.Sort(t, Compare); in Sort()
|
| D | Misc.cs | 89 public static bool IsPythonType(Type t) in IsPythonType() argument 91 return t.GetFields().Any(x => x.Name == ".class"); in IsPythonType() 100 public static IEnumerable<MethodInfo> GetAllMethods(this Type t, bool recursive = true) in GetAllMethods() argument 102 if(t == null) in GetAllMethods() 108 return t.GetMethods(DefaultBindingFlags).Union(GetAllMethods(t.BaseType)); in GetAllMethods() 110 return t.GetMethods(DefaultBindingFlags); in GetAllMethods() 120 public static IEnumerable<FieldInfo> GetAllFields(this Type t, bool recursive = true) in GetAllFields() argument 122 if(t == null) in GetAllFields() 128 return t.GetFields(DefaultBindingFlags).Union(GetAllFields(t.BaseType)); in GetAllFields() 130 return t.GetFields(DefaultBindingFlags); in GetAllFields() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/ |
| D | CommandsManager.cs | 72 public void Register(Type t) in Register() argument 74 if(t == typeof(Command) || !typeof(Command).IsAssignableFrom(t)) in Register() 79 typesWithCommands.Add(t.AssemblyQualifiedName); in Register() 80 AddCommandsFromType(t); in Register() 246 private Command GetOrCreateCommand(Type t) in GetOrCreateCommand() argument 248 var result = activeCommands.SingleOrDefault(x => x.GetType() == t); in GetOrCreateCommand() 251 result = (Command)Activator.CreateInstance(t, new[] { this }); in GetOrCreateCommand() 263 var t = Type.GetType(typeName); in ExtractCommandsFromTypeNames() 264 AddCommandsFromType(t); in ExtractCommandsFromTypeNames() 268 private void AddCommandsFromType(Type t) in AddCommandsFromType() argument [all …]
|
| D | Command.cs | 45 public static MethodInfo[] GetExecutingMethods(Type t) in GetExecutingMethods() argument 47 if(t.GetConstructor(new[] { typeof(CommandsManager) }) == null) in GetExecutingMethods() 52 return t.GetMethods().Where(x => in GetExecutingMethods()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/XwtProvider/ |
| D | ApplicationExtensions.cs | 21 var t = new Thread(() => in ApplicationExtensions() 29 t.IsBackground = true; in ApplicationExtensions() 30 t.Name = "ApplicationExtensions GUI invoker"; in ApplicationExtensions() 31 t.Start(); in ApplicationExtensions()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/ |
| D | HiFive_PWM.cs | 67 Array.ForEach(timers, t => t.Divider = (uint)(1 << (int)value)); in HiFive_PWM() 68 … Array.ForEach(timers, t => t.Value = (rawTimer.Value >> (int)value) & CompareMask); in HiFive_PWM() 146 Array.ForEach(timers, t => t.Enabled = enabled); in RecalculateEnable() 189 Array.ForEach(timers, t => t.Value = (value >> (int)scale.Value) & CompareMask); in SetValue()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/ |
| D | Packet.cs | 127 … private static bool TryDecode(Type t, IList<byte> data, out object result, int dataOffset = 0) in TryDecode() argument 135 result = Activator.CreateInstance(t); in TryDecode() 137 var fieldsAndProperties = GetFieldsAndProperties(t); in TryDecode() 295 private static int EncodeInner(Type t, object packet, byte[] result, int offset) in EncodeInner() argument 297 var fieldsAndProperties = GetFieldsAndProperties(t); in EncodeInner() 424 private static int CalculateLength(Type t) in CalculateLength() argument 428 return cache.Get(t, _ => in CalculateLength() 430 var fieldsAndProperties = GetFieldsAndProperties(t); in CalculateLength() 449 private static FieldPropertyInfoWrapper[] GetFieldsAndProperties(Type t) in GetFieldsAndProperties() argument 453 return cache.Get(t, _ => in GetFieldsAndProperties() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/ |
| D | BackendManager.cs | 197 private void HandleAutoLoadTypeFound(Type t) in HandleAutoLoadTypeFound() argument 199 var interestingInterfaces = t.GetInterfaces().Where(i => i.IsGenericType && in HandleAutoLoadTypeFound() 208 var hidden = t.GetCustomAttributes(typeof(HideInMonitorAttribute), true).Any(); in HandleAutoLoadTypeFound() 217 analyzers[arg].Add(Tuple.Create(t, !hidden)); in HandleAutoLoadTypeFound() 225 …pe, but found at least two: {0}, {1}", backends[arg].AssemblyQualifiedName, t.AssemblyQualifiedNam… in HandleAutoLoadTypeFound() 227 backends[arg] = t; in HandleAutoLoadTypeFound()
|
| D | IMachine.cs | 40 IEnumerable<IPeripheral> GetPeripheralsOfType(Type t); in GetPeripheralsOfType() argument
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/ |
| D | ICP_101xx.cs | 398 long t = GetTemperature(mode) - 32768; in GetCoefficients() 399 long p_LUT0 = LUT_lower + (CalibrationValues[0] * t * t) / InverseQuadraticFactor; in GetCoefficients() 400 …long p_LUT1 = OffsetFactor * CalibrationValues[3] + (CalibrationValues[1] * t * t) / InverseQuadra… in GetCoefficients() 401 long p_LUT2 = LUT_upper + (CalibrationValues[2] * t * t) / InverseQuadraticFactor; in GetCoefficients()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/ |
| D | BME280.cs | 253 int t = GetAdcTemperature(); in EncodeTemperature() 255 tempXlsb.Value = (byte)((t & 0x0F) << 4); in EncodeTemperature() 256 tempLsb.Value = (byte)(t >> 4); in EncodeTemperature() 257 tempMsb.Value = (byte)(t >> 12); in EncodeTemperature()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/ |
| D | AtCommandModem.cs | 347 … var parameterTypesString = string.Join(", ", parameters.Select(t => t.ParameterType.FullName)); in HandleCommand() 437 … get => Enum.GetValues(typeof(CommandType)).Cast<CommandType>().Where(t => (Type & t) != 0);
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | MonitorPythonEngine.cs | 80 var firstEqualIndex = arguments.IndexOf(t => t is EqualityToken); in ExecuteBuiltinCommand()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/ |
| D | ExecutionTracer.cs | 50 …var tracers = em.GetExternalsOfType<ExecutionTracer>().Where(t => t.AttachedCPU == @this).ToList(); in DisableExecutionTracing()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/ |
| D | ArmPerformanceMonitoringUnit.cs | 23 if(!SupportedCPUTypes.Any(t => t.IsAssignableFrom(cpu.GetType()))) in VerifyCPUType() 27 + SupportedCPUTypes.Select(t => "\n* " + t.ToString()) in VerifyCPUType()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/GuestProfiling/ProtoBuf/ |
| D | README.txt | 4 We use version 2.4.7, because mono doesn't support features required by versions 3.x
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/opcodes/ |
| D | opcodes-rvc | 3 # these aren't really pseudo-ops, but they overlay other encodings,
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/ |
| D | QuectelModem.cs | 1019 protected string ConvertSecondsToEncodedString(int t, ModemTimerType timerType) in ConvertSecondsToEncodedString() argument 1045 if(t >= entry.Value) in ConvertSecondsToEncodedString() 1053 selectedValue = selectedValue == 0 ? 0 : t / selectedValue; in ConvertSecondsToEncodedString()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/VideoAnalyzer/Events/ |
| D | WPFToKeyScanCodeConverter.cs | 164 { Key.t, KeyScanCode.T },
|