Home
last modified time | relevance | path

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

12345678910>>...84

/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/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/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/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.js30 vm.runInThisContext('while(true) {}', { timeout: 100 }); property
38 vm.runInThisContext('', { timeout: 1000 }); property
45 runInVM: function(timeout) { argument
46 vm.runInNewContext('while(true) {}', context, { timeout }); field
49 vm.runInNewContext('runInVM(10)', context, { timeout: 10000 }); property
61 runInVM: function(timeout) { argument
62 vm.runInNewContext('while(true) {}', context, { timeout }); field
65 vm.runInNewContext('runInVM(10000)', context, { timeout: 100 }); property
76 runInVM: function(timeout) { argument
77 vm.runInNewContext('throw new Error(\'foobar\')', context, { timeout }); field
[all …]
Dtest-dns-channel-timeout.js8 for (const timeout of [null, true, false, '', '2']) {
9 assert.throws(() => new ctor({ timeout }), { field
15 for (const timeout of [-2, 4.2, 2 ** 31]) {
16 assert.throws(() => new ctor({ timeout }), { field
22 for (const timeout of [-1, 0, 1]) new ctor({ timeout }); // OK field
25 for (const timeout of [0, 1, 2]) {
28 const resolver = new dns.Resolver({ timeout }); field
40 for (const timeout of [0, 1, 2]) {
43 const resolver = new dns.promises.Resolver({ timeout }); field
/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/musl/libc-test/src/functionalext/supplement/select/
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()
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()
89 result = select(2, &readfds, &writefds, 0, &timeout); in select_0300()
[all …]
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()
99 struct timespec timeout; in pselect_timeout_0100() local
100 timeout.tv_sec = 2; in pselect_timeout_0100()
[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()
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
74 timeout.tv_sec = 1; in ppoll_0300()
[all …]
/third_party/mesa3d/src/util/
Dfutex.h41 static inline long sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *a… in sys_futex() argument
43 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex()
51 static inline int futex_wait(uint32_t *addr, int32_t value, const struct timespec *timeout) in futex_wait() argument
55 return sys_futex(addr, FUTEX_WAIT_BITSET, value, timeout, NULL, in futex_wait()
75 static inline int futex_wait(uint32_t *addr, int32_t value, struct timespec *timeout) in futex_wait() argument
85 if (timeout != NULL) { in futex_wait()
86 tmo._timeout = *timeout; in futex_wait()
105 static inline int futex_wait(uint32_t *addr, int32_t value, const struct timespec *timeout) in futex_wait() argument
109 if (timeout == NULL) in futex_wait()
113 if (timespeccmp(&tsnow, timeout, <)) in futex_wait()
[all …]
Dos_time.c118 os_time_get_absolute_timeout(uint64_t timeout) in os_time_get_absolute_timeout() argument
123 if (timeout == OS_TIMEOUT_INFINITE || timeout > INT64_MAX) in os_time_get_absolute_timeout()
127 abs_timeout = time + (int64_t)timeout; in os_time_get_absolute_timeout()
138 os_wait_until_zero(volatile int *var, uint64_t timeout) in os_wait_until_zero() argument
143 if (!timeout) in os_wait_until_zero()
146 if (timeout == OS_TIMEOUT_INFINITE) { in os_wait_until_zero()
156 int64_t end_time = start_time + timeout; in os_wait_until_zero()
172 os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout) in os_wait_until_zero_abs_timeout() argument
177 if (timeout == OS_TIMEOUT_INFINITE) in os_wait_until_zero_abs_timeout()
181 if (os_time_get_nano() >= timeout) in os_wait_until_zero_abs_timeout()
/third_party/libuv/src/unix/
Depoll.c103 void uv__io_poll(uv_loop_t* loop, int timeout) { in uv__io_poll() argument
185 assert(timeout >= -1); in uv__io_poll()
188 real_timeout = timeout; in uv__io_poll()
192 user_timeout = timeout; in uv__io_poll()
193 timeout = 0; in uv__io_poll()
212 if (timeout != 0) in uv__io_poll()
218 if (sizeof(int32_t) == sizeof(long) && timeout >= max_safe_timeout) in uv__io_poll()
219 timeout = max_safe_timeout; in uv__io_poll()
229 timeout, in uv__io_poll()
239 timeout); in uv__io_poll()
[all …]
/third_party/node/deps/uv/src/unix/
Depoll.c103 void uv__io_poll(uv_loop_t* loop, int timeout) { in uv__io_poll() argument
185 assert(timeout >= -1); in uv__io_poll()
188 real_timeout = timeout; in uv__io_poll()
192 user_timeout = timeout; in uv__io_poll()
193 timeout = 0; in uv__io_poll()
212 if (timeout != 0) in uv__io_poll()
218 if (sizeof(int32_t) == sizeof(long) && timeout >= max_safe_timeout) in uv__io_poll()
219 timeout = max_safe_timeout; in uv__io_poll()
229 timeout, in uv__io_poll()
239 timeout); in uv__io_poll()
[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/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_timedlock.c32 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()
91 struct timespec timeout; in mtx_timedlock_time64_0100() local
92 timeout.tv_sec = TWO; in mtx_timedlock_time64_0100()
[all …]
/third_party/openh264/codec/decoder/core/src/
Dwels_decoder_thread.cpp99 int EventWait (SWelsDecEvent* e, int32_t timeout) { in EventWait() argument
101 if ((uint32_t)timeout == WELS_DEC_THREAD_WAIT_INFINITE || timeout < 0) in EventWait()
104 result = WaitForSingleObject (e->h, timeout); in EventWait()
122 int SemWait (SWelsDecSemphore* s, int32_t timeout) { in SemWait() argument
124 if ((uint32_t)timeout == WELS_DEC_THREAD_WAIT_INFINITE || timeout < 0) in SemWait()
127 result = WaitForSingleObject (s->h, timeout); in SemWait()
147 static void getTimespecFromTimeout (struct timespec* ts, int32_t timeout) { in getTimespecFromTimeout() argument
150 ts->tv_nsec = tv.tv_usec * 1000 + timeout * 1000000; in getTimespecFromTimeout()
179 int EventWait (SWelsDecEvent* e, int32_t timeout) { in EventWait() argument
182 if (timeout == 0) { in EventWait()
[all …]
/third_party/libuv/src/
Dtimer.c46 if (a->timeout < b->timeout) in timer_less_than()
48 if (b->timeout < a->timeout) in timer_less_than()
61 handle->timeout = 0; in uv_timer_init()
69 uint64_t timeout, in uv_timer_start() argument
79 clamped_timeout = handle->loop->time + timeout; in uv_timer_start()
80 if (clamped_timeout < timeout) in uv_timer_start()
84 handle->timeout = clamped_timeout; in uv_timer_start()
135 if (handle->loop->time >= handle->timeout) in uv_timer_get_due_in()
138 return handle->timeout - handle->loop->time; in uv_timer_get_due_in()
152 if (handle->timeout <= loop->time) in uv__next_timeout()
[all …]
/third_party/node/deps/uv/src/
Dtimer.c46 if (a->timeout < b->timeout) in timer_less_than()
48 if (b->timeout < a->timeout) in timer_less_than()
61 handle->timeout = 0; in uv_timer_init()
69 uint64_t timeout, in uv_timer_start() argument
79 clamped_timeout = handle->loop->time + timeout; in uv_timer_start()
80 if (clamped_timeout < timeout) in uv_timer_start()
84 handle->timeout = clamped_timeout; in uv_timer_start()
135 if (handle->loop->time >= handle->timeout) in uv_timer_get_due_in()
138 return handle->timeout - handle->loop->time; in uv_timer_get_due_in()
152 if (handle->timeout <= loop->time) in uv__next_timeout()
[all …]
/third_party/node/deps/npm/node_modules/agentkeepalive/lib/
Dagent.js54 if (options.timeout === undefined) {
56 options.timeout = Math.max(options.freeSocketTimeout * 2, 8000);
60 options.timeout = ms(options.timeout);
94 const timeout = this.calcSocketTimeout(socket);
95 if (timeout > 0 && socket.timeout !== timeout) {
96 socket.setTimeout(timeout);
106 get timeout() { getter in Agent
108 return this.options.timeout;
159 if (socket.timeout !== customTimeout) {
172 const agentTimeout = this.options.timeout;
[all …]
/third_party/json/tests/thirdparty/Fuzzer/test/
Dfuzzer-timeout.test1 RUN: not LLVMFuzzer-TimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutTest
3 TimeoutTest: Test unit written to ./timeout-
4 TimeoutTest: == ERROR: libFuzzer: timeout after
8 TimeoutTest: SUMMARY: libFuzzer: timeout
10 RUN: not LLVMFuzzer-TimeoutTest -timeout=1 %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInput…
12 SingleInputTimeoutTest-NOT: Test unit written to ./timeout-
14 RUN: LLVMFuzzer-TimeoutTest -timeout=1 -timeout_exitcode=0
16 RUN: not LLVMFuzzer-TimeoutEmptyTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutEmptyTest
18 TimeoutEmptyTest: == ERROR: libFuzzer: timeout after
19 TimeoutEmptyTest: SUMMARY: libFuzzer: timeout
/third_party/libcoap/examples/
Doscore_testcases.sh101 timeout $*
143 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a coap://$TARGET_IP:$S_PORT_B…
148 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/c_client.conf,/tmp/client_c coap://$TARGET_IP:$S_PORT_D…
153 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a coap://$TARGET_IP:$S_PORT_B…
158 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a -A 0 coap://$TARGET_IP:$S_P…
163 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a -s 2 coap://$TARGET_IP:$S_P…
168 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a -s 4 coap://$TARGET_IP:$S_P…
173 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a -s 2 coap://$TARGET_IP:$S_P…
178 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a -m post -e "%4a" -t 0 coap:…
183 timeout 10 $CLIENT -w -v8 -E $INDIR/interop/a_client.conf,/tmp/client_a -m put -e "%7a" -t 0 -O 1,0…
[all …]
/third_party/python/Lib/
Dselectors.py156 def select(self, timeout=None): argument
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)
403 def select(self, timeout=None): argument
406 if timeout is None:
407 timeout = None
408 elif timeout <= 0:
[all …]

12345678910>>...84