Home
last modified time | relevance | path

Searched refs:Timeout (Results 1 - 25 of 40) sorted by relevance

12

/third_party/python/Lib/asyncio/
H A Dtimeouts.py12 "Timeout",
27 class Timeout: class
55 f"Cannot change state of {self._state.value} Timeout",
82 return f"<Timeout [{self._state.value}]{info_str}>"
84 async def __aenter__(self) -> "Timeout":
89 raise RuntimeError("Timeout should be used inside a task")
125 def timeout(delay: Optional[float]) -> Timeout:
126 """Timeout async context manager.
142 return Timeout(loop.time() + delay if delay is not None else None)
145 def timeout_at(when: Optional[float]) -> Timeout
[all...]
/third_party/node/lib/
H A Dtimers.js39 Timeout,
139 * @returns {Timeout}
165 const timeout = new Timeout(callback, after, args, false, true);
183 * @param {Timeout | string | number} timer
209 * @returns {Timeout}
235 const timeout = new Timeout(callback, repeat, args, true, true);
243 * @param {Timeout | string | number} timer
253 Timeout.prototype.close = function() {
258 Timeout.prototype[SymbolDispose] = function() {
263 * Coerces a `Timeout` t
251 Timeout.prototype.close = function() { global() class
256 Timeout.prototype[SymbolDispose] = function() { global() function
[all...]
/third_party/node/deps/undici/src/lib/
H A Dtimers.js53 class Timeout {
88 : new Timeout(callback, delay, opaque)
91 if (timeout instanceof Timeout) {
/third_party/rust/crates/rustix/tests/net/
H A Dsockopt.rs11 rustix::net::sockopt::get_socket_timeout(&s, rustix::net::sockopt::Timeout::Recv) in test_sockopts()
54 rustix::net::sockopt::Timeout::Recv, in test_sockopts()
62 rustix::net::sockopt::get_socket_timeout(&s, rustix::net::sockopt::Timeout::Recv) in test_sockopts()
70 rustix::net::sockopt::get_socket_timeout(&s, rustix::net::sockopt::Timeout::Recv) in test_sockopts()
/third_party/node/test/cctest/
H A Dtest_inspector_socket_server.cc29 Timeout timeout(&loop); \
41 class Timeout { class
43 explicit Timeout(uv_loop_t* loop) : timed_out(false), done_(false) { in Timeout() function in __anon15477::Timeout
45 uv_timer_start(&timer_, Timeout::set_flag, 5000, 0); in Timeout()
49 ~Timeout() { in ~Timeout()
60 Timeout* t = node::ContainerOf(&Timeout::timer_, timer); in set_flag()
65 Timeout* t = node::ContainerOf(&Timeout::timer_, in mark_done()
H A Dtest_inspector_socket.cc17 class Timeout { class
19 explicit Timeout(uv_loop_t* loop) : timed_out(false), done_(false) { in Timeout() function in __anon15476::Timeout
21 uv_timer_start(&timer_, Timeout::set_flag, 5000, 0); in Timeout()
24 ~Timeout() { in ~Timeout()
36 Timeout* t = node::ContainerOf(&Timeout::timer_, timer); in set_flag()
41 Timeout* t = node::ContainerOf(&Timeout::timer_, in mark_done()
52 Timeout timeout(&loop); \
/third_party/node/lib/timers/
H A Dpromises.js13 Timeout,
80 const timeout = new Timeout(resolve, after, args, false, ref);
152 interval = new Timeout(() => {
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
H A Dtestlist.go189 // Timeout is the status of a test that failed to complete in the alloted
191 Timeout = Status("TIMEOUT")
218 Timeout,
234 case Fail, Timeout, Crash, Unimplemented, Unreachable, Assert, Abort, InternalError:
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dsyscalls.rs754 use crate::net::sockopt::Timeout;
934 id: Timeout,
939 Timeout::Recv => SO_RCVTIMEO_NEW,
940 Timeout::Send => SO_SNDTIMEO_NEW,
954 id: Timeout, in set_socket_timeout_old()
959 Timeout::Recv => SO_RCVTIMEO_OLD, in set_socket_timeout_old()
960 Timeout::Send => SO_SNDTIMEO_OLD, in set_socket_timeout_old()
968 id: Timeout,
971 Timeout::Recv => SO_RCVTIMEO_NEW,
972 Timeout
[all...]
H A Dtypes.rs269 /// Timeout identifier for use with [`set_socket_timeout`] and
276 pub enum Timeout { enum
277 /// `SO_RCVTIMEO`—Timeout for receiving.
280 /// `SO_SNDTIMEO`—Timeout for sending.
/third_party/rust/crates/rustix/src/net/
H A Dsockopt.rs14 pub use backend::net::types::Timeout;
200 id: Timeout, in set_socket_timeout()
225 pub fn get_socket_timeout<Fd: AsFd>(fd: Fd, id: Timeout) -> io::Result<Option<Duration>> { in get_socket_timeout()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Dscheduler.h309 struct Timeout { struct
312 inline bool operator<(const Timeout&) const;
314 containers::set<Timeout, std::less<Timeout>> timeouts;
/third_party/rust/crates/rustix/src/backend/libc/net/
H A Dsyscalls.rs396 use crate::net::sockopt::Timeout;
543 id: Timeout,
547 Timeout::Recv => c::SO_RCVTIMEO,
548 Timeout::Send => c::SO_SNDTIMEO,
608 id: Timeout,
611 Timeout::Recv => c::SO_RCVTIMEO,
612 Timeout::Send => c::SO_SNDTIMEO,
/third_party/mbedtls/tests/scripts/
H A Dtcp_client.pl40 Timeout => 1);
/third_party/node/lib/internal/
H A Dtimers.js71 // Timeout lists and the object map lookup of a specific list by the duration of
133 // Timeout values > TIMEOUT_MAX are set to 1.
141 // timeoutInfo is an Int32Array that contains the reference count of Timeout
166 class Timeout {
198 initAsyncResource(this, 'Timeout');
345 initAsyncResource(item, 'Timeout');
386 const timer = new Timeout(callback, after, undefined, false, false);
656 Timeout,
/third_party/node/deps/cares/src/lib/
H A Dares_event_win32.h89 LARGE_INTEGER Timeout; member
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dscheduler.cpp330 timeouts.emplace(Timeout{timeout, fiber}); in add()
340 auto erased = timeouts.erase(Timeout{timeout, fiber}) != 0; in erase()
351 bool Scheduler::WaitingFibers::Timeout::operator<(const Timeout& o) const { in operator <()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
H A DTestSuite_unittest.cpp107 // Verifies that Pass, Fail, Crash and Timeout are all handled correctly.
119 {{"MockTestSuiteTest", "DISABLED_Timeout"}, {TestResultType::Timeout, 0.0}}, in TEST_F()
H A DTestSuite.cpp180 case TestResultType::Timeout: in ResultTypeToString()
201 return TestResultType::Timeout; in GetResultTypeFromString()
1619 else if (result.type == TestResultType::Timeout) in finishProcess()
1799 mTestResults.results[testIdentifier].type = TestResultType::Timeout; in run()
1918 onCrashOrTimeout(TestResultType::Timeout); in startWatchdog()
2069 case TestResultType::Timeout: in TestResultTypeToString()
2070 return "Timeout"; in TestResultTypeToString()
H A DTestSuite.h65 Timeout, member in angle::TestResultType
/third_party/libuv/src/win/
H A Dpoll.c108 afd_poll_info->Timeout.QuadPart = INT64_MAX; in uv__fast_poll_submit_poll_req()
558 afd_poll_info.Timeout.QuadPart = INT64_MAX; in uv__poll_close()
/third_party/node/deps/uv/src/win/
H A Dpoll.c106 afd_poll_info->Timeout.QuadPart = INT64_MAX; in uv__fast_poll_submit_poll_req()
557 afd_poll_info.Timeout.QuadPart = INT64_MAX; in uv__poll_close()
/third_party/python/Lib/test/libregrtest/
H A Druntest_mp.py20 runtest, is_failed, TestResult, Interrupted, Timeout, ChildError, PROGRESS_MIN_TIME)
283 return self.mp_result_error(Timeout(test_name), stdout)
/third_party/node/lib/internal/debugger/
H A Dinspect.js59 `Timeout (${timeout}) waiting for ${host}:${port} to be free`);
/third_party/libuv/include/uv/
H A Dwin.h221 LARGE_INTEGER Timeout; member

Completed in 19 milliseconds

12