Home
last modified time | relevance | path

Searched full:timeout (Results 1 – 25 of 3544) sorted by relevance

12345678910>>...142

/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtptimerqueue.c65 if (GST_CLOCK_TIME_IS_VALID (next->timeout)) { in rtp_timer_is_later()
66 if (!GST_CLOCK_TIME_IS_VALID (timer->timeout)) in rtp_timer_is_later()
69 if (timer->timeout > next->timeout) in rtp_timer_is_later()
73 if (timer->timeout == next->timeout && in rtp_timer_is_later()
86 if (GST_CLOCK_TIME_IS_VALID (prev->timeout)) { in rtp_timer_is_sooner()
87 if (!GST_CLOCK_TIME_IS_VALID (timer->timeout)) in rtp_timer_is_sooner()
90 if (timer->timeout < prev->timeout) in rtp_timer_is_sooner()
94 if (timer->timeout == prev->timeout && in rtp_timer_is_sooner()
117 if (prev->timeout == head->timeout) { in rtp_timer_is_closer_to_head()
127 if (GST_CLOCK_TIME_IS_VALID (timer->timeout) && in rtp_timer_is_closer_to_head()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Deloop_win.c55 struct dl_list timeout; member
78 dl_list_init(&eloop.timeout); in eloop_init()
241 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
245 if (timeout == NULL) in eloop_register_timeout()
247 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
248 os_free(timeout); in eloop_register_timeout()
251 now_sec = timeout->time.sec; in eloop_register_timeout()
252 timeout->time.sec += secs; in eloop_register_timeout()
253 if (timeout->time.sec < now_sec) { in eloop_register_timeout()
[all …]
Deloop.c117 struct dl_list timeout; member
240 dl_list_init(&eloop.timeout); in eloop_init()
853 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
856 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
857 if (timeout == NULL) in eloop_register_timeout()
859 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
860 os_free(timeout); in eloop_register_timeout()
863 now_sec = timeout->time.sec; in eloop_register_timeout()
864 timeout->time.sec += secs; in eloop_register_timeout()
865 if (timeout->time.sec < now_sec) in eloop_register_timeout()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Deloop_win.c55 struct dl_list timeout; member
78 dl_list_init(&eloop.timeout); in eloop_init()
241 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
245 if (timeout == NULL) in eloop_register_timeout()
247 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
248 os_free(timeout); in eloop_register_timeout()
251 now_sec = timeout->time.sec; in eloop_register_timeout()
252 timeout->time.sec += secs; in eloop_register_timeout()
253 if (timeout->time.sec < now_sec) { in eloop_register_timeout()
[all …]
Deloop.c117 struct dl_list timeout; member
238 dl_list_init(&eloop.timeout); in eloop_init()
848 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
851 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
852 if (timeout == NULL) in eloop_register_timeout()
854 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
855 os_free(timeout); in eloop_register_timeout()
858 now_sec = timeout->time.sec; in eloop_register_timeout()
859 timeout->time.sec += secs; in eloop_register_timeout()
860 if (timeout->time.sec < now_sec) { in eloop_register_timeout()
[all …]
/third_party/node/doc/api/
Dtimers.md63 ## Class: `Timeout`
71 timer is active. Each of the `Timeout` objects returned by these functions
72 export both `timeout.ref()` and `timeout.unref()` functions that can be used to
75 ### `timeout.hasRef()`
82 If true, the `Timeout` object will keep the Node.js event loop active.
84 ### `timeout.ref()`
89 * Returns: {Timeout} a reference to `timeout`
92 `Timeout` is active. Calling `timeout.ref()` multiple times will have no effect.
94 By default, all `Timeout` objects are "ref'ed", making it normally unnecessary
95 to call `timeout.ref()` unless `timeout.unref()` had been called previously.
[all …]
Dtimers.json90 "textRaw": "Class: `Timeout`",
92 "name": "Timeout",
93 …ve. Each of the <code>Timeout</code> objects returned by these functions\nexport both <code>timeou…
96 "textRaw": "`timeout.hasRef()`",
115 … "desc": "<p>If true, the <code>Timeout</code> object will keep the Node.js event loop active.</p>"
118 "textRaw": "`timeout.ref()`",
130 "textRaw": "Returns: {Timeout} a reference to `timeout`",
132 "type": "Timeout",
133 "desc": "a reference to `timeout`"
138Timeout</code> is active. Calling <code>timeout.ref()</code> multiple times will have no effect.</…
[all …]
/third_party/node/test/parallel/
Dtest-timers-to-primitive.js9 ].forEach((timeout) => {
10 assert.strictEqual(Number.isNaN(+timeout), false);
11 assert.strictEqual(+timeout, timeout[Symbol.toPrimitive]());
12 assert.strictEqual(`${timeout}`, timeout[Symbol.toPrimitive]().toString());
13 assert.deepStrictEqual(Object.keys({ [timeout]: timeout }), [`${timeout}`]);
14 clearTimeout(+timeout);
19 const timeout = setTimeout(common.mustNotCall(), 1); constant
20 const id = +timeout;
26 const timeout = setTimeout(common.mustNotCall(), 1); constant
27 const id = `${timeout}`;
Dtest-vm-timeout.js27 // Timeout of 100ms executing endless loop
30 vm.runInThisContext('while(true) {}', { timeout: 100 }); property
37 // Timeout of 1000ms, script finishes first
38 vm.runInThisContext('', { timeout: 1000 }); property
40 // Nested vm timeouts, inner timeout propagates out
45 runInVM: function(timeout) { argument
46 vm.runInNewContext('while(true) {}', context, { timeout }); field
49 vm.runInNewContext('runInVM(10)', context, { timeout: 10000 }); property
57 // Nested vm timeouts, outer timeout is shorter and fires first.
61 runInVM: function(timeout) { argument
[all …]
/third_party/ltp/testcases/kernel/syscalls/select/
Dselect_var.h22 fd_set *exceptfds, struct timeval *timeout, int faulty_to) in do_select_faulty_to() argument
26 return select(nfds, readfds, writefds, exceptfds, timeout); in do_select_faulty_to()
30 return tst_syscall(__NR_select, nfds, readfds, writefds, exceptfds, timeout); in do_select_faulty_to()
37 ._tvp = (long)timeout, in do_select_faulty_to()
49 ts = timeout; in do_select_faulty_to()
52 _ts.tv_sec = timeout->tv_sec; in do_select_faulty_to()
53 _ts.tv_nsec = timeout->tv_usec * 1000; in do_select_faulty_to()
58 timeout->tv_sec = _ts.tv_sec; in do_select_faulty_to()
59 timeout->tv_usec = _ts.tv_nsec / 1000; in do_select_faulty_to()
70 ts = timeout; in do_select_faulty_to()
[all …]
/third_party/node/test/async-hooks/
Dtest-graph.timeouts.js6 const TIMEOUT = 1; constant
11 setTimeout(common.mustCall(ontimeout), TIMEOUT);
13 setTimeout(onsecondTimeout, TIMEOUT + 1);
17 setTimeout(onthirdTimeout, TIMEOUT + 2);
28 [ { type: 'Timeout', id: 'timeout:1', triggerAsyncId: null },
29 { type: 'Timeout', id: 'timeout:2', triggerAsyncId: 'timeout:1' },
30 { type: 'Timeout', id: 'timeout:3', triggerAsyncId: 'timeout:2' }]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/p2p/
Dp2p_find.py3 # Will list all devices found/lost within a time frame (timeout)
17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementation
125 timeout = 0 variable
148 # Timeout
[all …]
Dp2p_listen.py17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0 variable
138 # Timeout
141 timeout = value variable
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/p2p/
Dp2p_find.py3 # Will list all devices found/lost within a time frame (timeout)
17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementation
125 timeout = 0 variable
148 # Timeout
[all …]
Dp2p_listen.py17 print(" %s -i <interface_name> [-t <timeout>] \ " \
22 print(" -t = timeout = 0s (infinite)")
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0 variable
138 # Timeout
141 timeout = value variable
[all …]
/third_party/typescript/tests/baselines/reference/
DweakType.types3 timeout?: number;
4 >timeout : number
11 >getDefaultSettings : () => { timeout: number; }
13 return { timeout: 1000 };
14 >{ timeout: 1000 } : { timeout: number; }
15 >timeout : number
19 new(s: string): { timeout: 1000 }
21 >timeout : 1000
32 >getDefaultSettings : () => { timeout: number; }
34 doSomething(() => ({ timeout: 1000 }));
[all …]
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_session_timeout.c21 * @brief tests closing sessions after set timeout. Openssl is used for
36 #define TIMEOUT 2 macro
125 struct timeval timeout; in parentproc() local
146 TIMEOUT, in parentproc()
171 killchild("SPDY_get_timeout returned wrong timeout"); in parentproc()
174 if(now - beginning > TIMEOUT*1000 + SELECT_MS_TIMEOUT) in parentproc()
178 printf("Timeout is: %i\n",TIMEOUT); in parentproc()
179 printf("Select Timeout is: %ims\n",SELECT_MS_TIMEOUT); in parentproc()
181 killchild("Timeout passed but session was not closed"); in parentproc()
183 if(timeoutlong > beginning + TIMEOUT *1000) in parentproc()
[all …]
/third_party/python/Lib/
Dqueue.py122 def put(self, item, block=True, timeout=None): argument
125 If optional args 'block' is true and 'timeout' is None (the default),
126 block if necessary until a free slot is available. If 'timeout' is
127 a non-negative number, it blocks at most 'timeout' seconds and raises
130 is immediately available, else raise the Full exception ('timeout'
138 elif timeout is None:
141 elif timeout < 0:
142 raise ValueError("'timeout' must be a non-negative number")
144 endtime = time() + timeout
154 def get(self, block=True, timeout=None): argument
[all …]
Dselectors.py156 def select(self, timeout=None): argument
158 ready or a timeout expires.
161 timeout -- if timeout > 0, this specifies the maximum wait time, in
163 if timeout <= 0, the select() call won't block, and will
165 if timeout is None, select() will block until a monitored
314 def _select(self, r, w, _, timeout=None): argument
315 r, w, x = select.select(r, w, w, timeout)
320 def select(self, timeout=None): argument
321 timeout = None if timeout is None else max(timeout, 0)
324 r, w, _ = self._select(self._readers, self._writers, [], timeout)
[all …]
/third_party/openssl/doc/man3/
DSSL_CTX_set_timeout.pod5 SSL_CTX_set_timeout, SSL_CTX_get_timeout - manipulate timeout values for session caching
16 SSL_CTX_set_timeout() sets the timeout for newly created sessions for
17 B<ctx> to B<t>. The timeout value B<t> must be given in seconds.
19 SSL_CTX_get_timeout() returns the currently set timeout value for B<ctx>.
25 timeout value valid at this time. If the actual time is later than creation
26 time plus timeout, the session is not reused.
28 Due to this realization, all sessions behave according to the timeout value
29 valid at the time of the session negotiation. Changes of the timeout value
40 The default value for session timeout is decided on a per protocol
42 All currently supported protocols have the same default timeout value
[all …]
/third_party/flutter/flutter/packages/flutter_driver/lib/src/driver/
Ddriver.dart99 @required Duration timeout,
103 assert(timeout != null);
105 return future..timeout(timeout, onTimeout: () { _log.warning(message); return null; });
188 /// fail (completing with an error). A timeout can be applied by the caller
189 /// using [Future.timeout] if necessary.
332 timeout: kUnusuallyLongTimeout,
443 timeout: command.timeout ?? kUnusuallyLongTimeout,
470 Future<Health> checkHealth({ Duration timeout }) async {
471 return Health.fromJson(await _sendCommand(GetHealth(timeout: timeout)));
475 Future<RenderTree> getRenderTree({ Duration timeout }) async {
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/select/
Dpselect.c61 struct timespec timeout; in pselect_normal_0100() local
62 timeout.tv_sec = 5; in pselect_normal_0100()
63 timeout.tv_nsec = 0; in pselect_normal_0100()
67 int ret = pselect(STDOUT_FILENO + 1, NULL, &set, NULL, &timeout, NULL); in pselect_normal_0100()
80 struct timespec timeout; in pselect_error_0100() local
81 timeout.tv_sec = 5; in pselect_error_0100()
82 timeout.tv_nsec = 0; in pselect_error_0100()
86 int ret = pselect(-1, NULL, &set, NULL, &timeout, NULL); in pselect_error_0100()
92 * @tc.desc : Monitor stdout file for readability (timeout)
99 struct timespec timeout; in pselect_timeout_0100() local
[all …]
Dselect.c39 struct timeval timeout; in select_0100() local
40 timeout.tv_sec = 5; in select_0100()
41 timeout.tv_usec = 0; in select_0100()
48 result = select(2, &readfds, &writefds, 0, &timeout); in select_0100()
55 * (invalid parameter, microsecond invalid value in timeout structure)
60 struct timeval timeout; in select_0200() local
61 timeout.tv_sec = -50; in select_0200()
68 result = select(2, &readfds, &writefds, 0, &timeout); in select_0200()
80 struct timeval timeout; in select_0300() local
81 timeout.tv_sec = 0; in select_0300()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dppoll.c35 struct timespec timeout; in ppoll_0100() local
36 timeout.tv_sec = 5; in ppoll_0100()
37 timeout.tv_nsec = 0; in ppoll_0100()
39 int ret = ppoll(pollfds, 1, &timeout, NULL); in ppoll_0100()
52 * @tc.desc : Listen to non-specified file time (timeout returns)
58 struct timespec timeout; in ppoll_0200() local
59 timeout.tv_sec = 3; in ppoll_0200()
60 timeout.tv_nsec = 0; in ppoll_0200()
62 int ret = ppoll(pollfds, 1, &timeout, NULL); in ppoll_0200()
73 struct timespec timeout; in ppoll_0300() local
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_timedlock.c27 * @tc.desc : Provide correct parameters, test timeout and lock
32 struct timespec timeout; in mtx_timedlock_0100() local
33 timeout.tv_sec = TWO; in mtx_timedlock_0100()
34 timeout.tv_nsec = 0; in mtx_timedlock_0100()
42 ret = mtx_timedlock(&mutex, &timeout); in mtx_timedlock_0100()
60 struct timespec timeout; in mtx_timedlock_0200() local
61 timeout.tv_sec = TWO; in mtx_timedlock_0200()
62 timeout.tv_nsec = 0; in mtx_timedlock_0200()
74 ret = mtx_timedlock(&mutex, &timeout); in mtx_timedlock_0200()
86 * @tc.desc : Provide correct parameters, test timeout and lock
[all …]

12345678910>>...142