/third_party/ltp/include/ |
H A D | tst_epoll.h | 31 int maxevents, int timeout); 33 #define SAFE_EPOLL_WAIT(epfd, events, maxevents, timeout)\ 34 safe_epoll_wait(__FILE__, __LINE__, epfd, events, maxevents, timeout)
|
/third_party/node/test/parallel/ |
H A D | test-timers-args.js | 9 function timeout(nargs) { function 15 if (nargs < 128) timeout(nargs + 1); 30 timeout(0);
|
/third_party/node/deps/v8/tools/testrunner/ |
H A D | test_config.py | 21 timeout, 34 self.timeout = timeout
|
/third_party/node/test/fixtures/wpt/html/webappapis/timers/ |
H A D | missing-timeout-setinterval.any.js | 1 function timeout_trampoline(t, timeout, message) { 6 }, timeout); 7 }, timeout);
|
/third_party/mesa3d/src/util/ |
H A D | os_time.h | 102 * Convert a relative timeout in nanoseconds into an absolute timeout, 103 * in other words, it returns current time + timeout. 109 os_time_get_absolute_timeout(uint64_t timeout); 116 * \param timeout timeout in ns, can be anything from 0 (no wait) to 121 os_wait_until_zero(volatile int *var, uint64_t timeout); 126 * The timeout is the absolute time when the waiting should stop. If it is 132 * \param timeout the time in ns when the waiting should stop 136 os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout); [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | poll.h | 61 #define pa_poll(fds,nfds,timeout) poll((fds),(nfds),(timeout)) 63 int pa_poll(struct pollfd *fds, unsigned long nfds, int timeout);
|
H A D | poll-win32.c | 351 pa_poll (struct pollfd *pfd, nfds_t nfd, int timeout) in pa_poll() argument 390 /* convert timeout number into a timeval structure */ in pa_poll() 391 if (timeout == 0) in pa_poll() 397 else if (timeout > 0) in pa_poll() 400 ptv->tv_sec = timeout / 1000; in pa_poll() 401 ptv->tv_usec = (timeout % 1000) * 1000; in pa_poll() 403 else if (timeout == INFTIM) in pa_poll() 535 timeout = 0; in pa_poll() 555 if (timeout == INFTIM) in pa_poll() 558 wait_timeout = timeout; in pa_poll() [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/regres/shell/ |
H A D | shell_windows.go | 25 // If the process does not finish within timeout a errTimeout will be returned. 26 func Exec(timeout time.Duration, exe, wd string, env []string, args ...string) ([]byte, error) { 42 case <-time.NewTimer(timeout).C: 44 return b.Bytes(), ErrTimeout{exe, timeout}
|
/vendor/hisilicon/hispark_pegasus/demo/lwip_demo/ |
H A D | demo_entry_cmsis.c | 31 int timeout = 10; /* timeout 10ms */ in NetDemoTask() local 32 while (timeout--) { in NetDemoTask() 33 printf("After %d seconds, I will start lwip test!\r\n", timeout); in NetDemoTask()
|
/third_party/ltp/testcases/lib/ |
H A D | test.sh | 191 # tst_timeout "command arg1 arg2 ..." timeout 192 # Runs command for specified timeout (in seconds). 197 local timeout=$(echo $2 | grep -o "^[0-9]\+$") 205 # accept only numbers as timeout 206 if [ -z "$timeout" ]; then 213 while [ $timeout -gt 0 ]; do 218 timeout=$((timeout - 1)) 223 if [ $timeout -le 0 ]; then
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_sync.c | 103 /* Careful, timeout might overflow. */ 104 static inline void pvr_start_timeout(struct timespec *timeout, in pvr_start_timeout() argument 107 clock_gettime(CLOCK_MONOTONIC, timeout); in pvr_start_timeout() 108 timespec_add_nsec(timeout, timeout, timeout_ns); in pvr_start_timeout() 113 pvr_get_remaining_time(const struct timespec *timeout) in pvr_get_remaining_time() argument 118 timespec_sub(&time, timeout, &time); in pvr_get_remaining_time() 183 /* ppoll() returns EINVAL on negative timeout. Nothing to worry. in pvr_srv_sync_wait_many() 217 /* For zero timeout, just return even if we still have unsignaled in pvr_srv_sync_wait_many()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLAssembleWebGLInterfaceAutogen.cpp | 32 void emscripten_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { in emscripten_glWaitSync() argument 33 uint32_t timeoutLo = timeout; in emscripten_glWaitSync() 34 uint32_t timeoutHi = timeout >> 32; in emscripten_glWaitSync() 39 GLenum emscripten_glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { in emscripten_glClientWaitSync() argument 40 uint32_t timeoutLo = timeout; in emscripten_glClientWaitSync() 41 uint32_t timeoutHi = timeout >> 32; in emscripten_glClientWaitSync()
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | spdy_fileserver.c | 272 struct timeval timeout; in main() local 316 timeout.tv_sec = 1; in main() 317 timeout.tv_usec = 0; in main() 321 timeout.tv_sec = timeoutlong / 1000; in main() 322 timeout.tv_usec = (timeoutlong % 1000) * 1000; in main() 330 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in main()
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_request_response_with_callback.c | 168 struct timeval timeout; in parentproc() local 204 timeout.tv_sec = 1; in parentproc() 205 timeout.tv_usec = 0; in parentproc() 209 timeout.tv_sec = timeoutlong / 1000; in parentproc() 210 timeout.tv_usec = (timeoutlong % 1000) * 1000; in parentproc() 218 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout); in parentproc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | event.h | 59 // wait_for() blocks until the event is signaled, or the timeout has been 61 // If the timeout was reached, then wait_for() return false. 69 // wait_until() blocks until the event is signaled, or the timeout has been 71 // If the timeout was reached, then wait_for() return false. 77 const std::chrono::time_point<Clock, Duration>& timeout) const; 119 const std::chrono::time_point<Clock, Duration>& timeout); 173 const std::chrono::time_point<Clock, Duration>& timeout) { in wait_until() 175 if (!cv.wait_until(lock, timeout, [&] { return signalled; })) { in wait_until() 209 const std::chrono::time_point<Clock, Duration>& timeout) const { in wait_until() 210 return shared->wait_until(timeout); in wait_until() 172 wait_until( const std::chrono::time_point<Clock, Duration>& timeout) wait_until() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | eapol_test.py | 55 def request(self, cmd, timeout=10): 56 return self.ctrl.request(cmd, timeout=timeout) 58 def wait_event(self, events, timeout=10): 68 remaining = start + timeout - now 71 if not self.mon.pending(timeout=remaining):
|
/test/testfwk/developer_test/src/core/testkit/ |
H A D | kit_lite.py | 50 self.timeout = "" 54 self.timeout = str(int(get_config_value( 55 'timeout', config, is_list=False, default=0)) * 1000) 61 if self.timeout == "0" or not self.burn_file: 62 msg = "The config for deploy kit is invalid with timeout:{}, " \ 63 "burn_file:{}".format(self.timeout, self.burn_file) 103 cmd_com.execute_command(command='AT+RST={}'.format(self.timeout))
|
/third_party/ffmpeg/libavformat/ |
H A D | network.h | 90 * This works similarly to ff_network_wait_fd, but waits up to 'timeout' microseconds 95 * @param timeout Timeout interval, in microseconds. Actual precision is 100000 mcs, due to ff_network_wait_fd usage 97 * @return 0 if data can be read/written, AVERROR(ETIMEDOUT) if timeout expired, or negative error code 99 int ff_network_wait_fd_timeout(int fd, int write, int64_t timeout, AVIOInterruptCB *int_cb); 102 * Waits for up to 'timeout' microseconds. If the usert's int_cb is set and 104 * @param timeout Timeout in microseconds. Maybe have lower actual precision. 106 * @return AVERROR(ETIMEDOUT) if timeout expirted, AVERROR_EXIT if interrupted by int_cb 108 int ff_network_sleep_interruptible(int64_t timeout, AVIOInterruptCB *int_cb); 257 * @param timeout Polling timeout i [all...] |
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop02.c | 13 * EAGAIN - semop = 0 and timeout happens 14 * EAGAIN - semop = -1 and timeout happens 15 * EFAULT - invalid timeout pointer 35 static struct tst_ts timeout; variable 36 static struct tst_ts *valid_to = &timeout, *invalid_to; 81 timeout.type = tv->ts_type; in setup() 82 tst_ts_set_sec(&timeout, 0); in setup() 83 tst_ts_set_nsec(&timeout, 10000); in setup()
|
/third_party/python/Lib/test/support/ |
H A D | socket_helper.py | 193 def transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()): 198 if timeout is _NOT_SET: 199 timeout = support.INTERNET_TIMEOUT 246 if timeout is not None: 247 socket.setdefaulttimeout(timeout)
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
H A D | SyncMtl.h | 50 uint64_t timeout, 80 uint64_t timeout, 121 GLuint64 timeout, 125 GLuint64 timeout) override; 146 EGLTime timeout,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | SyncVk.h | 45 uint64_t timeout, 68 uint64_t timeout, 93 GLuint64 timeout, 97 GLuint64 timeout) override; 119 EGLTime timeout,
|
/third_party/python/Modules/ |
H A D | _threadmodule.c | 75 /* Helper to acquire an interruptible lock with a timeout. If the lock acquire 79 * timeout. 82 acquire_timed(PyThread_type_lock lock, _PyTime_t timeout) in acquire_timed() argument 85 if (timeout > 0) { in acquire_timed() 86 endtime = _PyDeadline_Init(timeout); in acquire_timed() 92 microseconds = _PyTime_AsMicroseconds(timeout, _PyTime_ROUND_CEILING); in acquire_timed() 110 /* If we're using a timeout, recompute the timeout after processing in acquire_timed() 112 if (timeout > 0) { in acquire_timed() 113 timeout in acquire_timed() 128 lock_acquire_parse_args(PyObject *args, PyObject *kwds, _PyTime_t *timeout) lock_acquire_parse_args() argument 175 _PyTime_t timeout; lock_PyThread_acquire_lock() local 357 _PyTime_t timeout; rlock_acquire() local [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_init.c | 84 if (q1->timeout.tv_sec > q2->timeout.tv_sec) { in ares_query_timeout_cmp_cb() 87 if (q1->timeout.tv_sec < q2->timeout.tv_sec) { in ares_query_timeout_cmp_cb() 91 if (q1->timeout.tv_usec > q2->timeout.tv_usec) { in ares_query_timeout_cmp_cb() 94 if (q1->timeout.tv_usec < q2->timeout.tv_usec) { in ares_query_timeout_cmp_cb() 147 if (channel->timeout == 0) { in init_by_defaults() 148 channel->timeout in init_by_defaults() [all...] |
/third_party/python/Lib/multiprocessing/ |
H A D | queues.py | 86 def put(self, obj, block=True, timeout=None): 89 if not self._sem.acquire(block, timeout): 98 def get(self, block=True, timeout=None): 101 if block and timeout is None: 107 deadline = time.monotonic() + timeout 108 if not self._rlock.acquire(block, timeout): 112 timeout = deadline - time.monotonic() 113 if not self._poll(timeout): 308 def put(self, obj, block=True, timeout=None): 311 if not self._sem.acquire(block, timeout) [all...] |