Home
last modified time | relevance | path

Searched refs:Identifier (Results 1 – 9 of 9) sorted by relevance

/Renode-v1.15.3-c57714d/src/Renode/Network/ExternalControl/
DGPIOPort.cs32 …return Response.CommandFailed(Identifier, $"Expected at least {1 + InstanceBasedCommandHeaderSize}… in Invoke()
39 …return Response.CommandFailed(Identifier, $"Expected {expectedCount + InstanceBasedCommandHeaderSi… in Invoke()
51 return Response.Success(Identifier, BitConverter.GetBytes(gpio.IsSet)); in Invoke()
53 … return Response.CommandFailed(Identifier, $"This instance does not provide GPIO output #{id}"); in Invoke()
55 … return Response.CommandFailed(Identifier, "This instance does not provide GPIO outputs"); in Invoke()
63 return Response.Success(Identifier); in Invoke()
65 … return Response.CommandFailed(Identifier, "This instance does not provide GPIO inputs"); in Invoke()
72 … return Response.CommandFailed(Identifier, "This instance does not provide GPIO outputs"); in Invoke()
77 … return Response.CommandFailed(Identifier, $"This instance does not provide GPIO output #{id}"); in Invoke()
81 return Response.Success(Identifier); in Invoke()
[all …]
DRunFor.cs38 return Response.CommandFailed(Identifier, "Command is unavailable"); in Invoke()
43 return Response.CommandFailed(Identifier, "Expected 8 bytes of payload"); in Invoke()
48 … return Response.CommandFailed(Identifier, "One RunFor command can be running at any given time"); in Invoke()
94 return Response.Success(Identifier); in Invoke()
96 return Response.CommandFailed(Identifier, "RunFor was interrupted"); in Invoke()
99 public override Command Identifier => Command.RunFor; field in Antmicro.Renode.Network.ExternalControl.RunFor
DADC.cs29 …return Response.CommandFailed(Identifier, $"Expected at least {1 + InstanceBasedCommandHeaderSize}… in Invoke()
36 …return Response.CommandFailed(Identifier, $"Expected {expectedCount + InstanceBasedCommandHeaderSi… in Invoke()
44 return Response.Success(Identifier, channelCount.AsRawBytes()); in Invoke()
50 return Response.Success(Identifier, value.AsRawBytes()); in Invoke()
56 return Response.Success(Identifier); in Invoke()
59 return Response.CommandFailed(Identifier, "Unexpected command format"); in Invoke()
65 public override Command Identifier => Command.ADC; field in Antmicro.Renode.Network.ExternalControl.ADC
DGetMachine.cs25 …if(!IInstanceBasedCommandExtensions.TryGetName(Identifier, data, 0, out var name, out var response… in Invoke()
32 return Response.CommandFailed(Identifier, "Machine not found"); in Invoke()
36 return Response.Success(Identifier, id.AsRawBytes()); in Invoke()
39 public override Command Identifier => Command.GetMachine; field in Antmicro.Renode.Network.ExternalControl.GetMachine
DIInstanceBasedCommand.cs22 …return Response.CommandFailed(@this.Identifier, $"Expected at least {PayloadOffset} bytes of paylo…
35 return Response.CommandFailed(@this.Identifier, "Invalid instance id");
45 if(!TryGetName(@this.Identifier, data, NameOffset, out var name, out response))
52 return Response.CommandFailed(@this.Identifier, "Instance not found");
55 return Response.Success(@this.Identifier, id.AsRawBytes());
96 …response = Response.CommandFailed(@this.Identifier, $"Expected at least {MachineIdOffset + Machine… in TryGetMachine()
106 response = Response.CommandFailed(@this.Identifier, "Invalid machine id"); in TryGetMachine()
DGetTime.cs26 return Response.Success(Identifier, ((ulong)timestamp.TotalMicroseconds).AsRawBytes()); in Invoke()
29 public override Command Identifier => Command.GetTime; field in Antmicro.Renode.Network.ExternalControl.GetTime
DICommand.cs23 Command Identifier { get; } property
39 public abstract Command Identifier { get; } property in Antmicro.Renode.Network.ExternalControl.BaseCommand
DExternalControlServer.cs398 commandHandlers.Add(command.Identifier, command); in Register()
427 activeCommandHandlers.Add(command.Identifier, command); in TryActivate()
/Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/Syntax/
DGrammar.cs127 …public static readonly Parser<string> Identifier = GeneralIdentifier.Named("identifier").Where(x =… field in Antmicro.Renode.PlatformDescription.Syntax.Grammar
130 (from first in Identifier
131 from rest in Parse.Char('.').Then(x => Identifier).XMany()
171 (from firstElement in Identifier
172 from rest in Parse.Char('.').Then(x => Identifier).XAtLeastOnce()
181 …public static readonly Parser<ReferenceValue> ReferenceValue = Identifier.Select(x => new Referenc…
216 (from identifier in Identifier.Named("constructor or property name")
243 from addSuffix in Identifier.Where(x => x == "add").Optional()
260 … result = result.Or(Identifier.Select(x => new SingleOrMultiIrqEnd(new[] { new IrqEnd(x, 0) }))); in GetIrqEnd()
332 from variableName in Identifier.Named("variable name")