| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/ |
| D | LEDTester.cs | 47 var method = (Action<ILed, bool>) in AssertState() 59 led.StateChanged += method; in AssertState() 81 led.StateChanged -= method; in AssertState() 99 var method = (Action<ILed, bool>) in AssertAndHoldState() 119 led.StateChanged += method; in AssertAndHoldState() 165 led.StateChanged -= method; in AssertAndHoldState() 186 var method = MakeStateChangeHandler((currState, dt) => in AssertDutyCycle() 201 led.StateChanged += method; in AssertDutyCycle() 215 led.StateChanged -= method; in AssertDutyCycle() 232 var method = MakeStateChangeHandler((currState, dt) => in AssertIsBlinking() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | SmartParser.cs | 135 var method = typeof(Convert).GetMethod($"To{type.Name}", parameters); in TryGetConvertMethodDelegate() 137 if(method == null) in TryGetConvertMethodDelegate() 143 …var delegateType = Expression.GetDelegateType(parameters.Concat(new[] { method.ReturnType }).ToArr… in TryGetConvertMethodDelegate() 144 var methodDelegate = method.CreateDelegate(delegateType); in TryGetConvertMethodDelegate() 152 var method = type.GetMethod("Parse", parameters); in TryGetParseMethodDelegate() 153 if(method == null) in TryGetParseMethodDelegate() 159 …var delegateType = Expression.GetDelegateType(parameters.Concat(new[] { method.ReturnType }).ToArr… in TryGetParseMethodDelegate() 160 var methodDelegate = method.CreateDelegate(delegateType); in TryGetParseMethodDelegate()
|
| D | TypeManager.cs | 416 foreach(var method in type.Methods) in TryExtractExtensionMethods() 418 …if(method.IsStatic && method.IsPublic && method.CustomAttributes.Any(x => x.AttributeType.GetFullN… in TryExtractExtensionMethods() 422 var paramType = method.Parameters[0].ParameterType; in TryExtractExtensionMethods() 426 …&& method.CustomAttributes.Any(x => x.AttributeType.GetFullNameOfMember() == typeof(ExtensionOnObj… in TryExtractExtensionMethods() 430 …tion = new MethodDescription(type.GetFullNameOfMember(), method.Name, GetMethodSignature(method), … in TryExtractExtensionMethods() 628 foreach(var method in item.Value) in ProcessExtractedExtensionMethods() 630 extensionMethodsTraceFromTypeFullName[item.Key].Add(method); in ProcessExtractedExtensionMethods()
|
| D | Misc.cs | 116 ….Select(method => new MethodWithAttribute<T>(method, (T)method.GetCustomAttribute(typeof(T), inher… 1879 public MethodWithAttribute(MethodInfo method, T attribute) in MethodWithAttribute() argument 1881 Method = method; in MethodWithAttribute()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/ |
| D | BusAccess.cs | 59 private static bool TryGetMethodFromType(Type type, out Method method) in TryGetMethodFromType() argument 71 method = (Method)Enum.Parse(typeof(Method), member.Name); in TryGetMethodFromType() 76 method = Method.Byte; in TryGetMethodFromType()
|
| D | PeripheralAccessMethods.cs | 55 …ic void SetMethod(MethodInfo i, object obj, BusAccess.Operation operation, BusAccess.Method method) in SetMethod() argument 57 switch(method) in SetMethod() 72 … throw new ArgumentException(string.Format("Unsupported access method: {0}", method)); in SetMethod()
|
| D | SystemBus.cs | 1328 foreach(var method in peripheral.GetType().GetMethods()) in FillAccessMethodsWithTaggedMethods() 1331 if(!Misc.TryGetMatchingSignature(BusAccess.Delegates, method, out signature)) in FillAccessMethodsWithTaggedMethods() 1336 …var accessGroupAttribute = (ConnectionRegionAttribute)method.GetCustomAttributes(typeof(Connection… in FillAccessMethodsWithTaggedMethods() 1351 customAccessMethods[tuple] = method; in FillAccessMethodsWithTaggedMethods() 1352 methods.SetMethod(method, peripheral, accessOperation, accessMethod); in FillAccessMethodsWithTaggedMethods()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/ |
| D | AtCommandModem.cs | 272 private bool TryFindCommandMethod(ParsedCommand command, out MethodInfo method) in TryFindCommandMethod() argument 276 method = null; in TryFindCommandMethod() 281 if(!types.TryGetValue(command.Type, out method)) in TryFindCommandMethod() 288 method = defaultTestCommandMethodInfo; in TryFindCommandMethod() 292 return method != null; in TryFindCommandMethod() 391 var method = typeMethod.Value; in GetCommandMethods() 392 if(method.ReturnType != typeof(Response)) in GetCommandMethods()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/HostInterfaces/Network/ |
| D | WindowsTapInterface.cs | 258 … private static uint CalculateControlCode(uint deviceType, uint function, uint method, uint access) in CalculateControlCode() argument 260 return ((deviceType << 16) | (access << 14) | (function << 2) | method); in CalculateControlCode() 263 private static uint TapDriverControlCode(uint request, uint method) in TapDriverControlCode() argument 265 return CalculateControlCode(0x22, request, method, 0); in TapDriverControlCode()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | MonitorCommands.cs | 584 foreach(var method in info.Methods.Where(x=> lookup == null || x.Name==lookup)) in PrintMonitorInfo() 587 writer.Write(TypePrettyName(method.ReturnType), ConsoleColor.Green); in PrintMonitorInfo() 592 if(method.IsExtension()) in PrintMonitorInfo() 594 parameters = method.GetParameters().Skip(1); in PrintMonitorInfo() 598 parameters = method.GetParameters(); in PrintMonitorInfo() 969 … private object InvokeExtensionMethod(object device, MethodInfo method, List<object> parameters) in InvokeExtensionMethod() argument 971 var context = InvokeContext.CreateStatic(method.ReflectedType); in InvokeExtensionMethod() 974 … return InvokeWithContext(context, method, (new [] { device }.Concat(parameters)).ToArray()); in InvokeExtensionMethod() 978 …ImplementedException(String.Format("Unsupported field {0} in InvokeExtensionMethod", method.Name)); in InvokeExtensionMethod() 982 private object InvokeMethod(object device, MethodInfo method, List<object> parameters) in InvokeMethod() argument [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/ |
| D | Command.cs | 200 …var method = interestingMethods.FirstOrDefault(x => x.GetCustomAttribute<ExecuteAttribute>().Mnemo… in GetExecutingMethod() 202 executingMethods.Add(mnemonic, method); in GetExecutingMethod() 203 return method; in GetExecutingMethod()
|
| D | CommandsManager.cs | 348 public CommandDescriptor(MethodInfo method) in CommandDescriptor() argument 350 Method = method; in CommandDescriptor() 351 Mnemonic = method.GetCustomAttribute<ExecuteAttribute>().Mnemonic; in CommandDescriptor()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Binding/ |
| D | NativeBinder.cs | 165 …DynamicMethod method = new DynamicMethod(importField.Name, invoke.ReturnType, paramTypesWithWrappe… in WrapImport() 166 var il = method.GetILGenerator(); in WrapImport() 182 return method.CreateDelegate(importType, wrappersObj); in WrapImport() 358 foreach(var method in notExportedMethods) in ResolveCallsToManaged() 360 …ogLevel.Warning, "Method {0} is marked with Export attribute, but was not exported.", method.Name); in ResolveCallsToManaged()
|
| /Renode-Infrastructure-v1.15.3-29f510e/licenses/ |
| D | LGPL.txt | 48 We protect your rights with a two-step method: (1) we copyright the
|