Home
last modified time | relevance | path

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

1234

/Renode-v1.15.3-c57714d/src/Renode/RobotFrameworkEngine/
DUartKeywords.cs24 public void SetDefaultUartTimeout(float timeout) in SetDefaultUartTimeout() argument
26 globalTimeout = timeout; in SetDefaultUartTimeout()
48 …public int CreateTerminalTester(string uart, float? timeout = null, string machine = null, string … in CreateTerminalTester() argument
57 var timeoutInSeconds = timeout ?? globalTimeout; in CreateTerminalTester()
74 …erResult WaitForPromptOnUart(string prompt, int? testerId = null, float? timeout = null, bool trea… in WaitForPromptOnUart() argument
77 return WaitForLineOnUart(prompt, timeout, testerId, treatAsRegex, true, pauseEmulation); in WaitForPromptOnUart()
81 …public TerminalTesterResult WaitForLineOnUart(string content, float? timeout = null, int? testerId… in WaitForLineOnUart() argument
84 return DoTest(timeout, testerId, (tester, timeInterval) => in WaitForLineOnUart()
92 …public TerminalTesterResult WaitForLinesOnUart(string[] content, float? timeout = null, int? teste… in WaitForLinesOnUart() argument
95 return DoTest(timeout, testerId, (tester, timeInterval) => in WaitForLinesOnUart()
[all …]
DNetworkInterfaceKeywords.cs37 … public NetworkInterfaceTesterResult WaitForOutgoingPacket(float timeout, int? testerId = null) in WaitForOutgoingPacket() argument
39 … if(!GetTesterOrThrowException(testerId).TryWaitForOutgoingPacket(timeout, out var packet)) in WaitForOutgoingPacket()
48 …ingPacketWithBytesAtIndex(string bytes, int index, int maxPackets, float timeout, int? testerId = … in WaitForOutgoingPacketWithBytesAtIndex() argument
50 …terId).TryWaitForOutgoingPacketWithBytesAtIndex(bytes, index, maxPackets, timeout, out var packet)) in WaitForOutgoingPacketWithBytesAtIndex()
DLedKeywords.cs19 public void SetDefaultLedTimeout(float timeout) in SetDefaultLedTimeout() argument
21 globalDefaultTimeout = timeout; in SetDefaultLedTimeout()
31 …public void AssertLedState(bool state, float? timeout = null, int? testerId = null, bool pauseEmul… in AssertLedState() argument
33 GetTesterOrThrowException(testerId).AssertState(state, timeout, pauseEmulation); in AssertLedState()
DRenodeKeywords.cs208 public void WaitForPause(float timeout) in WaitForPause() argument
222 var timeoutEvent = masterTimeSource.EnqueueTimeoutEvent((uint)(timeout * 1000)); in WaitForPause()
308 public void CreateLogTester(float timeout, bool? defaultPauseEmulation = null) in CreateLogTester() argument
311 logTester = new LogTester(timeout); in CreateLogTester()
316 …public string WaitForLogEntry(string pattern, float? timeout = null, bool keep = false, bool treat… in WaitForLogEntry() argument
321 …var result = logTester.WaitForEntry(pattern, out var bufferedMessages, timeout, keep, treatAsRegex… in WaitForLogEntry()
336 …public void ShouldNotBeInLog(String pattern, float? timeout = null, bool treatAsRegex = false, boo… in ShouldNotBeInLog() argument
342 …var result = logTester.WaitForEntry(pattern, out var _, timeout, true, treatAsRegex, pauseEmulatio… in ShouldNotBeInLog()
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/buses/
Dcfu.cpp24 void Cfu::timeoutTick(uint8_t* signal, uint8_t expectedValue, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
29 timeout--; in timeoutTick()
31 while((*signal != expectedValue) && timeout > 0); in timeoutTick()
33 if(timeout == 0) { in timeoutTick()
Dapb3.cpp24 void APB3::timeoutTick(uint8_t* signal, uint8_t expectedValue, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
29 timeout--; in timeoutTick()
31 while((*signal != expectedValue) && timeout > 0); in timeoutTick()
33 if(timeout == 0) { in timeoutTick()
Dwishbone.cpp39 void Wishbone::timeoutTick(uint8_t *signal, uint8_t value, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
43 timeout--; in timeoutTick()
45 while(*signal != value && timeout > 0); in timeoutTick()
55 if(timeout == 0) { in timeoutTick()
Daxilite.cpp21 void AxiLite::timeoutTick(uint8_t* signal, uint8_t expectedValue, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
26 timeout--; in timeoutTick()
28 while((*signal != expectedValue) && timeout > 0); in timeoutTick()
30 if(timeout == 0) { in timeoutTick()
Daxi.cpp41 void Axi::timeoutTick(uint8_t *signal, uint8_t value, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
45 timeout--; in timeoutTick()
46 } while ((*signal != value) && timeout > 0); in timeoutTick()
48 if (timeout == 0) { in timeoutTick()
Daxi-slave.cpp50 void AxiSlave::timeoutTick(uint8_t* signal, uint8_t expectedValue, int timeout = DEFAULT_TIMEOUT) in timeoutTick() argument
55 timeout--; in timeoutTick()
57 while((*signal != expectedValue) && timeout > 0); in timeoutTick()
59 if(timeout == 0) { in timeoutTick()
/Renode-v1.15.3-c57714d/tests/unit-tests/
Dtimer-reconfiguration.robot47 Wait For Log Entry block ended: PC 0x1014 timeout=0
48 Wait For Log Entry IRQ timeout=0
49 Wait For Log Entry block started: PC 0x1014 timeout=0
58 Wait For Log Entry block started: PC 0x1000 timeout=0
59 Should Not Be In Log block ended: PC 0x100 timeout=0
60 Should Not Be In Log block ended: PC 0x101 timeout=0
61 Wait For Log Entry block ended: PC 0x1020 timeout=0
62 Wait For Log Entry IRQ timeout=0
71 Should Not Be In Log IRQ timeout=0
73 Wait For Log Entry IRQ timeout=0
Demulation-mode.robot8 Create Terminal Tester sysbus.uart timeout=1
20 Create Terminal Tester sysbus.uart timeout=1
Duart-tester.robot71 ... Wait For Line On Uart ZEPHYR timeout=1
100 ... Wait For Bytes On Uart 59 52 20 4f 53 timeout=1
108 ... Wait For Line On Uart ZEPHYR timeout=1
127 ... Wait For Bytes On Uart 52 20 4f 53 timeout=1
130 Wait For Bytes On Uart 2a 2a 2a 2a 0d 0a 73 68 timeout=0
133 Wait For Bytes On Uart 65 6c 6c timeout=0
145 ... Wait For Bytes On Uart 4f 53 timeout=1 matchStart=true
148 Wait For Bytes On Uart 20 4f 53 timeout=0 matchStart=true
/Renode-v1.15.3-c57714d/tests/network-logging/
Dtelnet_library.py26 def telnet_read_until(until_string: str, timeout: int = 15) -> str:
32 coro = asyncio.wait_for(reader.readuntil(until_string.encode(ENCODING)), timeout=timeout)
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/Connection/
DSocketConnection.cs35 timeout = timeoutInMilliseconds; in SocketConnection()
37 mainSocketCommunicator = new SocketCommunicator(parentElement, timeout, this.address); in SocketConnection()
57 if(!mainSocketCommunicator.AcceptConnection(timeout)) in Connect()
63 if(success && !asyncSocketCommunicator.AcceptConnection(timeout)) in Connect()
147 receiveThread.Join(timeout); in Abort()
358 private readonly int timeout; field in Antmicro.Renode.Plugins.CoSimulationPlugin.Connection.SocketConnection
375 timeout = timeoutInMilliseconds; in SocketCommunicator()
381 listener?.Close(timeout); in Dispose()
382 socket?.Close(timeout); in Dispose()
497 task.Wait(timeout, channelTaskFactory.CancellationToken); in WaitSendOrReceiveTask()
[all …]
DLibraryConnection.cs21 …public LibraryConnection(IEmulationElement parentElement, int timeout, Action<ProtocolMessage> rec… in LibraryConnection() argument
24 this.timeout = timeout; in LibraryConnection()
69 if(mainReceived.WaitOne(timeout)) in TryReceiveMessage()
235 private readonly int timeout; field in Antmicro.Renode.Plugins.CoSimulationPlugin.Connection.LibraryConnection
DCoSimulationConnection.cs36 int timeout = DefaultTimeout, in ConnectToCoSimulation() argument
49 limitBuffer, timeout, address); in ConnectToCoSimulation()
68 int timeout, in CoSimulationConnection() argument
75 cosimConnection = SetupConnection(address, timeout, frequency, limitBuffer); in CoSimulationConnection()
315 …private ICoSimulationConnection SetupConnection(string address, int timeout, long frequency, ulong… in SetupConnection() argument
320 … cosimConnection = new SocketConnection(this, timeout, HandleReceivedMessage, address); in SetupConnection()
324 cosimConnection = new LibraryConnection(this, timeout, HandleReceivedMessage); in SetupConnection()
340 if(!allTicksProcessedARE.WaitOne(timeout)) in SetupConnection()
/Renode-v1.15.3-c57714d/tests/platforms/
DGR712RC.robot48 Should Not Be On Uart TEST END timeout=0.005
61 Should Not Be On Uart GPIO_ISR: pin 2 timeout=0.005
63 Should Not Be On Uart GPIO_ISR: pin 2 timeout=0.005
67 Should Not Be On Uart GPIO_ISR: pin 3 timeout=0.005
72 Should Not Be On Uart GPIO_ISR: pin 3 timeout=0.005
77 Should Not Be On Uart GPIO_ISR: pin 4 timeout=0.005
83 Should Not Be On Uart GPIO_ISR: pin 5 timeout=0.005
90 Should Not Be On Uart GPIO_ISR timeout=0.005
DGR716.robot44 Should Not Be On Uart thread_b: Hello World from cpu 0 on gr716a_mini! timeout=0
45 Wait For Line On Uart thread_b: Hello World from cpu 0 on gr716a_mini! timeout=0.02
48 Should Not Be On Uart thread_a: Hello World from cpu 0 on gr716a_mini! timeout=0
49 Wait For Line On Uart thread_a: Hello World from cpu 0 on gr716a_mini! timeout=0.02
DRenesas_EK-RA2E1.robot28 Wait For Log Entry AGT0 True level=Error pauseEmulation=true timeout=0.011
31 Assert Led State True timeout=0.01 pauseEmulation=true
34 Assert Led State True timeout=0.005 pauseEmulation=true
/Renode-v1.15.3-c57714d/tests/
Dretry_and_timeout_listener.py41 timed_out = result.failed and result.timeout and result.timeout.timed_out()
46 over_timeout = result.elapsed_time.seconds - Time(test.timeout).seconds
/Renode-v1.15.3-c57714d/tests/platforms/verilated/
Dzynq_verilated_fpga_isp.robot50 Wait For Line On Uart < timeout=300
51 Wait For Prompt On Uart ${PROMPT} timeout=100
54 Wait For Line On Uart < timeout=300
55 Wait For Prompt On Uart ${PROMPT} timeout=100
72 Wait For Prompt On Uart ${PROMPT} timeout=300
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/libs/socket-cpp/Socket/
DTCPClient.cpp44 bool CTCPClient::SetRcvTimeout(struct timeval timeout) { in SetRcvTimeout() argument
47 …iErr = setsockopt(m_ConnectSocket, SOL_SOCKET, SO_RCVTIMEO, (char*) &timeout, sizeof(struct timeva… in SetRcvTimeout()
82 bool CTCPClient::SetSndTimeout(struct timeval timeout) { in SetSndTimeout() argument
85 …iErr = setsockopt(m_ConnectSocket, SOL_SOCKET, SO_SNDTIMEO, (char*) &timeout, sizeof(struct timeva… in SetSndTimeout()
/Renode-v1.15.3-c57714d/tools/gdb_compare/
Dgdb_compare.py136 self.proc = pexpect.spawn(f"{binary} --disable-gui --plain --port {port}", timeout=20)
189 …self.process = pexpect.spawn(f"{gdb_binary} --silent --nx --nh", timeout=10, dimensions=self.dimen…
190 self.process.timeout = 120
203 self.run_command(type + (f" {delta}" if int(delta) > 1 else ""), timeout=adjusted_timeout)
214 …def run_command(self, command: str, timeout: float = 10, confirm: bool = False, dont_wait_for_outp…
235 result = self.process.expect(re.escape(command) + r".+\n", timeout, async_=async_)
242 self.process.expect([r".+\n", r"\(gdb\)"], timeout)
292 async def expect(self, timeout: float = 10) -> None:
300 self.task = self.process.expect([r".+\n", r"\(gdb\)"], timeout, async_=True)
411 … await self.run_command(type + (f" {delta}" if int(delta) > 1 else ""), timeout=adjusted_timeout)
[all …]
/Renode-v1.15.3-c57714d/tests/peripherals/
DSynopsysDWCEthernetQualityOfService.robot73 Wait For Prompt On Uart buildroot login: timeout=60
88 Wait For Line On Uart --- 192.168.0.2 ping statistics --- timeout=20
103 Wait For Prompt On Uart buildroot login: timeout=60
138 Wait For Prompt On Uart buildroot login: timeout=60
170 …Prompt On Uart buildroot login: testerId=${tester-0} timeout=60
171 …Prompt On Uart buildroot login: testerId=${tester-1} timeout=60
195 …Line On Uart success testerId=${tester-1} timeout=10
202 …Line On Uart success testerId=${tester-1} timeout=10

1234