Home
last modified time | relevance | path

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

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Mocks/
DMockExtension.cs17 … public static string MethodThatTakesParamsIntArray(this Emulation emulation, params int[] args) in MethodThatTakesParamsIntArray() argument
19 return string.Format("args: [{0}]", string.Join(", ", args)); in MethodThatTakesParamsIntArray()
22 …g MethodThatTakesParamsIntArrayAfterString(this Emulation emulation, string arg, params int[] args) in MethodThatTakesParamsIntArrayAfterString() argument
24 return string.Format("arg: {0} args: [{1}]", arg, string.Join(", ", args)); in MethodThatTakesParamsIntArrayAfterString()
27 …amsIntArrayAfterOptionalString(this Emulation emulation, string arg = "default", params int[] args) in MethodThatTakesParamsIntArrayAfterOptionalString() argument
29 return string.Format("arg: {0} args: [{1}]", arg, string.Join(", ", args)); in MethodThatTakesParamsIntArrayAfterOptionalString()
37 …rametersAndParamArray(this Emulation emulation, int a = 1, int b = 2, int c = 3, params int[] args) in MethodWithOptionalParametersAndParamArray() argument
39 return string.Format("a: {0}, b: {1}, c: {2}; {3}", a, b, c, string.Join(", ", args)); in MethodWithOptionalParametersAndParamArray()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/
DQuectel_BC660K.cs129 protected override Response Qcfg(string function, params int[] args) in Qcfg() argument
133 return base.Qcfg(function, args); // unrecognized function in Qcfg()
138 if(args.Length == 0) in Qcfg()
144 else if(args.Length == 1) in Qcfg()
146 modemBasicConfig[modemFunction] = args[0]; in Qcfg()
151 deepSleepEventEnabled = args[0] != 0; in Qcfg()
157 return base.Qcfg(function, args); in Qcfg()
167 var isOk = ConfigureGPIOStatus(out var parameters, args); in Qcfg()
175 return base.Qcfg(function, args); in Qcfg()
214 protected override Response Qicfg(string parameter, params int[] args) in Qicfg() argument
[all …]
DQuectel_BC66.cs120 protected override Response Qcfg(string function, params int[] args) in Qcfg() argument
124 return base.Qcfg(function, args); // unrecognized function in Qcfg()
129 if(args.Length == 0) in Qcfg()
135 else if(args.Length == 1) in Qcfg()
137 modemBasicConfig[modemFunction] = args[0]; in Qcfg()
142 deepSleepEventEnabled = args[0] != 0; in Qcfg()
148 return base.Qcfg(function, args); in Qcfg()
153 return base.Qcfg(function, args); in Qcfg()
182 protected override Response Qicfg(string parameter, params int[] args) in Qicfg() argument
184 if(args.Length < 1) in Qicfg()
[all …]
DQuectel_BG96.cs96 protected override Response Qcfg(string function, params int[] args) in Qcfg() argument
102 if(args.Length == 1) in Qcfg()
104 return SetNetLightMode(args[0]); in Qcfg()
106 return base.Qcfg(function, args); in Qcfg()
129 …evel.Warning, "Config value '{0}' set to {1}, not implemented", function, string.Join(", ", args)); in Qcfg()
132 return base.Qcfg(function, args); in Qcfg()
154 protected override Response Qicfg(string parameter, params int[] args) in Qicfg() argument
156 if(args.Length < 1) in Qicfg()
164 if(args.Length < 2) in Qicfg()
168 sendDataFormat = args[0] != 0 ? DataFormat.Hex : DataFormat.Text; in Qicfg()
[all …]
DQuectelModem.cs487 protected virtual Response Qcfg(string function, params int[] args) in Qcfg() argument
489 …, "Config value '{0}' set to {1}, not supported by this modem", function, string.Join(", ", args)); in Qcfg()
516 protected virtual Response Qicfg(string parameter, params int[] args) in Qicfg() argument
519 parameter, args.Stringify()); in Qicfg()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SD/
DMMCController.cs45 …protected uint[] ExecuteCommand(Commands command, uint args, bool sendInitSequence, bool dataTrans… in ExecuteCommand() argument
86 response[0] = RegisteredPeripheral.AppCommand(args); in ExecuteCommand()
92 response[0] = RegisteredPeripheral.SendAppOpCode(args); in ExecuteCommand()
95 TransferDataFromCard(args, ByteCount); in ExecuteCommand()
98 TransferDataFromCard(args, BlockSize); in ExecuteCommand()
101 TransferDataToCard(args, ByteCount); in ExecuteCommand()
104 … this.Log(LogLevel.Warning, "Unhandled MMC command: 0x{0:X} with args 0x{1:X}", command, args); in ExecuteCommand()
DDeprecatedSDCard.cs144 public uint SendAppOpCode(uint args) in SendAppOpCode() argument
148 if(args == 0x40200000) in SendAppOpCode()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/
DLogger.cs91 public static void Log(LogLevel type, string message, params object[] args) in Log() argument
93 LogAs(null, type, message, args); in Log()
141 public static void ErrorLog(this IEmulationElement e, string message, params object[] args) in ErrorLog() argument
143 LogAs(e, LogLevel.Error, message, args); in ErrorLog()
166 … public static void WarningLog(this IEmulationElement e, string message, params object[] args) in WarningLog() argument
168 LogAs(e, LogLevel.Warning, message, args); in WarningLog()
191 public static void InfoLog(this IEmulationElement e, string message, params object[] args) in InfoLog() argument
193 LogAs(e, LogLevel.Info, message, args); in InfoLog()
216 public static void DebugLog(this IEmulationElement e, string message, params object[] args) in DebugLog() argument
218 LogAs(e, LogLevel.Debug, message, args); in DebugLog()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DObjectCreator.cs36 var args = new object[@params.Length]; in Spawn()
38 for(int i = 0; i < args.Length; i++) in Spawn()
54 args[i] = surrogate; in Spawn()
63 return Activator.CreateInstance(type, args); in Spawn()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/
DGdbStub.cs95 private void OnHalted(HaltArguments args) in OnHalted() argument
100 var cpuSupportingGdb = (ICpuSupportingGdb)args.Cpu; in OnHalted()
105 switch(args.Reason) in OnHalted()
108 switch(args.BreakpointType) in OnHalted()
118 …Send(new Packet(PacketData.StopReply(args.BreakpointType.Value, commandsManager.ManagedCpus[cpuSup… in OnHalted()
122 … ctx.Send(new Packet(PacketData.StopReply(args.BreakpointType.Value, args.Address))); in OnHalted()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/
DEmulatedNetworkService.cs17 …this Emulation emulation, string name, string typeName, string host, ushort port, string args = "") in CreateEmulatedNetworkService() argument
27 … var service = (IEmulatedNetworkService)Activator.CreateInstance(type, host, port, args); in CreateEmulatedNetworkService()
DEchoService.cs17 public EchoService(string host, ushort port, string args) in EchoService() argument
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Profiler/
DProfiler.cs66 private void OnPeripheralsChanged(IMachine machine, PeripheralsChangedEventArgs args) in OnPeripheralsChanged() argument
68 if(args.Operation != PeripheralsChangedEventArgs.PeripheralChangeType.Addition) in OnPeripheralsChanged()
73 var cpu = args.Peripheral as ICPUWithMetrics; in OnPeripheralsChanged()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DSafeStringBuilder.cs69 public void AppendFormat(string str, params object[] args) in AppendFormat() argument
73 buffer.AppendFormat(str, args); in AppendFormat()
DTypeManager.cs245 private Assembly ResolveAssembly(object sender, ResolveEventArgs args) in ResolveAssembly() argument
250 var simpleName = ExtractSimpleName(args.Name); in ResolveAssembly()
253 if(args.Name == description.FullName) in ResolveAssembly()
255 …is, LogLevel.Noisy, "Assembly '{0}' resolved by exact match from '{1}'.", args.Name, description.P… in ResolveAssembly()
259 …gLevel.Noisy, "Assembly '{0}' resolved by simple name '{1}' from '{2}'.", args.Name, simpleName, d… in ResolveAssembly()
DMisc.cs790 public static String FormatWith(this String @this, params object[] args) in FormatWith() argument
796 if(args == null) in FormatWith()
800 return String.Format(@this, args); in FormatWith()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/CPU/
DICpuSupportingGdb.cs13 void EnterSingleStepModeSafely(HaltArguments args); in EnterSingleStepModeSafely() argument
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/
DS32K_LPIT.cs343 private void DebugLog(string message, params object[] args) in DebugLog() argument
345 Log(LogLevel.Debug, message, args); in DebugLog()
348 private void Log(LogLevel level, string message, params object[] args) in Log() argument
350 lpit.Log(level, $"{name}: {message}", args); in Log()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/opcodes/
Dopcodes-rv32i2 # <instruction name> <args> <opcode>
7 # <args> is one of rd, rs1, rs2, rs3, imm20, imm12, imm12lo, imm12hi,
Dopcodes-rvv2 # <instruction name> <args> <opcode>
7 # <args> is one of vd, vs3, vs1, vs2, vm, nf, wd, simm5, zimm10, zimm11
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/
DArm.cs319 hook = (_, args) => in RegisterTCMRegion()
321 if(args.CurrentState != MachineStateChangedEventArgs.State.Started) in RegisterTCMRegion()
DArmSignalsUnit.cs306 private void OnMachinePeripheralsChanged(IMachine machine, PeripheralsChangedEventArgs args) in OnMachinePeripheralsChanged() argument
308 if(args.Peripheral == snoopControlUnit && args is PeripheralsAddedEventArgs addedArgs) in OnMachinePeripheralsChanged()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/SynopsysDWCEthernetQualityOfService/
DSynopsysDWCEthernetQualityOfService_DMA.cs894 private void Log(LogLevel level, string format, params object[] args) in Log() argument
896 parent.Log(level, $"DMA Channel {channelNumber}: {format}", args); in Log()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs1237 public void EnterSingleStepModeSafely(HaltArguments args) in EnterSingleStepModeSafely() argument
1246 InvokeHalted(args); in EnterSingleStepModeSafely()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/MSP430X/
DMSP430X.cs154 public void EnterSingleStepModeSafely(HaltArguments args) in EnterSingleStepModeSafely() argument