Home
last modified time | relevance | path

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

12345678910>>...168

/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/boost/libs/beast/doc/qbk/06_websocket/
D06_timeouts.qbk17 general logical operations, the websocket stream has a more sophisticated timeout
18 mechanism built-in which may be enabled and configured. The timeout features
20 stream. The interface to these timeout features is show in this table.
22 [table WebSocket Timeout Interface
25 [link beast.ref.boost__beast__websocket__stream_base__timeout `stream_base::timeout`]
27 This represents configured timeout settings for a websocket stream.
30 …[link beast.ref.boost__beast__websocket__stream_base__timeout.suggested `stream_base::timeout::sug…
32 This function returns the suggested timeout settings for a given role
38 This function sets timeout and other options on the stream.
42 There are three timeout settings which may be set independently on the stream:
[all …]
/third_party/grpc/src/python/grpcio/grpc/beta/
D_client_adaptations.py93 def result(self, timeout=None): argument
95 return self._future.result(timeout=timeout)
103 def exception(self, timeout=None): argument
105 rpc_error_call = self._future.exception(timeout=timeout)
115 def traceback(self, timeout=None): argument
117 return self._future.traceback(timeout=timeout)
172 def _blocking_unary_unary(channel, group, method, timeout, with_call, argument
184 timeout=timeout,
190 timeout=timeout,
197 def _future_unary_unary(channel, group, method, timeout, protocol_options, argument
[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/curl/tests/unit/
Dunit1303.c56 #define TIMEOUTS(x,y) data->set.timeout = x; data->set.connecttimeout = y
86 {BASE + 10, 0, 10000, 8000, FALSE, -1, "timeout is -1, expired"},
92 {BASE + 8, 0, 10000, 8000, TRUE, -1, "timeout is -1, expired"},
95 /* no connect timeout set, not connecting */
98 {BASE + 10, 0, 10000, 0, FALSE, -1, "timeout is -1, expired"},
101 /* no connect timeout set, connecting */
104 {BASE + 10, 0, 10000, 0, FALSE, -1, "timeout is -1, expired"},
107 /* only connect timeout set, not connecting */
108 {BASE + 4, 0, 0, 10000, FALSE, 0, "no timeout active"},
109 {BASE + 4, 990000, 0, 10000, FALSE, 0, "no timeout active"},
[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/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/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/grpc/src/python/grpcio/grpc/
D_interceptor.py48 ('method', 'timeout', 'metadata', 'credentials',
61 timeout = call_details.timeout
63 timeout = default_details.timeout
85 return method, timeout, metadata, credentials, wait_for_ready, compression
211 timeout=None, argument
217 timeout=timeout,
226 timeout=None, argument
231 client_call_details = _ClientCallDetails(self._method, timeout,
243 timeout=new_timeout,
261 timeout=None, argument
[all …]
/third_party/grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_multi_callable.py28 def __call__(self, request, timeout=None, metadata=None, credentials=None): argument
31 [request], True, timeout)
34 def with_call(self, request, timeout=None, metadata=None, credentials=None): argument
37 [request], True, timeout)
40 def future(self, request, timeout=None, metadata=None, credentials=None): argument
43 [request], True, timeout)
53 def __call__(self, request, timeout=None, metadata=None, credentials=None): argument
56 [request], True, timeout)
68 timeout=None, argument
73 [], False, timeout)
[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 …]
/third_party/curl/docs/libcurl/
Dcurl_multi_timeout.328 CURLMcode curl_multi_timeout(CURLM *multi_handle, long *timeout);
35 Proceeding means either doing the socket-style timeout action: call the
40 The timeout value returned in the long \fBtimeout\fP points to, is in number
42 immediately without waiting for anything. If it returns -1, there's no timeout
49 Note: if libcurl returns a -1 timeout here, it just means that libcurl
50 currently has no stored timeout value. You must not wait too long (more than a
54 struct timeval timeout;
59 /* no set timeout, use a default */
62 timeout.tv_sec = timeo / 1000;
63 timeout.tv_usec = (timeo % 1000) * 1000;
[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 …]

12345678910>>...168