/third_party/node/test/parallel/ |
H A D | test-set-http-max-http-headers.js | 9 const timeout = common.platformTimeout(100); 98 setTimeout(runTest, timeout);
|
H A D | test-vm-options-validation.js | 85 assertErrors({ timeout: value }, invalidArgType); 88 assertErrors({ timeout: value }, outOfRange);
|
H A D | test-vm-sigint-existing-handler.js | 49 const timeout = setTimeout(() => {}, 1000); 66 timeout.unref();
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_pv.h | 104 /* timeout is the duration within which this path validation should 106 ngtcp2_duration timeout; member 123 * to |*ppv|. This function makes a copy of |dcid|. |timeout| is a 133 ngtcp2_duration timeout, uint8_t flags, ngtcp2_log *log, 184 * validation fails because of timeout.
|
/third_party/ltp/testcases/kernel/syscalls/io_submit/ |
H A D | io_submit02.c | 74 struct timespec timeout = { .tv_sec = 1 }; in run() local 86 &timeout); in run()
|
/third_party/ltp/testcases/kernel/syscalls/select/ |
H A D | select04.c | 40 struct timeval timeout = {.tv_sec = 0, .tv_usec = 1000}; in run() local 45 TEST(do_select(*tc->fd + 1, tc->readfds, tc->writefds, NULL, &timeout)); in run()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_fence.c | 110 struct pipe_fence_handle *fence, uint64_t timeout) in lima_fence_finish() 112 return !sync_wait(fence->fd, timeout / 1000000); in lima_fence_finish() 109 lima_fence_finish(struct pipe_screen *pscreen, struct pipe_context *pctx, struct pipe_fence_handle *fence, uint64_t timeout) lima_fence_finish() argument
|
/third_party/mesa3d/src/util/ |
H A D | cnd_monotonic.h | 119 const DWORD timeout = (future > now) ? (DWORD)(future - now) : 0; in u_cnd_monotonic_timedwait() local 120 if (SleepConditionVariableCS(&cond->condvar, mtx, timeout)) in u_cnd_monotonic_timedwait()
|
/third_party/python/Lib/multiprocessing/ |
H A D | popen_forkserver.py | 64 timeout = 0 if flag == os.WNOHANG else None 65 if not wait([self.sentinel], timeout):
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | EGLSync.cpp | 82 EGLTime timeout, in clientWait() 85 return mFence->clientWait(display, context, flags, timeout, outResult); in clientWait() 79 clientWait(const Display *display, const gl::Context *context, EGLint flags, EGLTime timeout, EGLint *outResult) clientWait() argument
|
H A D | Fence.h | 67 GLuint64 timeout, 69 angle::Result serverWait(const Context *context, GLbitfield flags, GLuint64 timeout);
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Socket.cpp | 76 timeval timeout = {us / 1000000, us % 1000000}; in select() local 78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Fence.cpp | 126 GLenum FenceSync::clientWait(GLbitfield flags, GLuint64 timeout) in clientWait() argument 134 void FenceSync::serverWait(GLbitfield flags, GLuint64 timeout) in serverWait() argument
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Socket.cpp | 77 timeval timeout = { us / 1000000, us % 1000000 }; in select() local 79 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
H A D | benchmark.js | 97 console.log(`test aborted due to timeout after ${idx} frames`); 98 reject(`test aborted due to timeout after ${idx} frames`);
|
/kernel/linux/linux-6.6/fs/ |
H A D | eventpoll.c | 1816 * @timeout: Maximum timeout for the ready events fetch operation, in 1817 * timespec. If the timeout is zero, the function will not block, 1818 * while if the @timeout ptr is NULL, the function will block 1826 int maxevents, struct timespec64 *timeout) in ep_poll() 1835 if (timeout && (timeout->tv_sec | timeout->tv_nsec)) { in ep_poll() 1836 slack = select_estimate_accuracy(timeout); in ep_poll() 1838 *to = timespec64_to_ktime(*timeout); in ep_poll() 1825 ep_poll(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout) ep_poll() argument 2389 do_compat_epoll_pwait(int epfd, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout, const compat_sigset_t __user *sigmask, compat_size_t sigsetsize) do_compat_epoll_pwait() argument [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-jz4780.c | 569 long timeout; in jz4780_i2c_xfer_read() local 604 timeout = wait_for_completion_timeout(&i2c->trans_waitq, in jz4780_i2c_xfer_read() 607 if (!timeout) { in jz4780_i2c_xfer_read() 608 dev_err(&i2c->adap.dev, "irq read timeout\n"); in jz4780_i2c_xfer_read() 631 long timeout; in jz4780_i2c_xfer_write() local 659 timeout = wait_for_completion_timeout(&i2c->trans_waitq, in jz4780_i2c_xfer_write() 661 if (timeout && !i2c->stop_hold) { in jz4780_i2c_xfer_write() 665 timeout = JZ4780_I2C_TIMEOUT * 100; in jz4780_i2c_xfer_write() 666 for (; timeout > 0; timeout in jz4780_i2c_xfer_write() [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_ioctl.c | 211 * @timeout: how long we will wait 214 * for a timeout to occur (eg due to flow control) 219 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent() argument 221 tty_debug_wait_until_sent(tty, "wait until sent, timeout=%ld\n", timeout); in tty_wait_until_sent() 223 if (!timeout) in tty_wait_until_sent() 224 timeout = MAX_SCHEDULE_TIMEOUT; in tty_wait_until_sent() 226 timeout = wait_event_interruptible_timeout(tty->write_wait, in tty_wait_until_sent() 227 !tty_chars_in_buffer(tty), timeout); in tty_wait_until_sent() 228 if (timeout < in tty_wait_until_sent() [all...] |
/kernel/linux/linux-5.10/sound/ppc/ |
H A D | burgundy.c | 21 int timeout = 50; in snd_pmac_burgundy_busy_wait() local 22 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) in snd_pmac_burgundy_busy_wait() 24 if (timeout < 0) in snd_pmac_burgundy_busy_wait() 25 printk(KERN_DEBUG "burgundy_busy_wait: timeout\n"); in snd_pmac_burgundy_busy_wait() 31 int timeout; in snd_pmac_burgundy_extend_wait() local 32 timeout = 50; in snd_pmac_burgundy_extend_wait() 33 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait() 35 if (timeout < 0) in snd_pmac_burgundy_extend_wait() 36 printk(KERN_DEBUG "burgundy_extend_wait: timeout #1\n"); in snd_pmac_burgundy_extend_wait() 37 timeout in snd_pmac_burgundy_extend_wait() [all...] |
/kernel/linux/linux-5.10/sound/arm/ |
H A D | aaci.c | 70 int timeout; in aaci_ac97_write() local 91 timeout = FRAME_PERIOD_US * 8; in aaci_ac97_write() 95 } while ((v & (SLFR_1TXB|SLFR_2TXB)) && --timeout); in aaci_ac97_write() 99 "timeout waiting for write to complete\n"); in aaci_ac97_write() 110 int timeout, retries = 10; in aaci_ac97_read() local 129 timeout = FRAME_PERIOD_US * 8; in aaci_ac97_read() 133 } while ((v & SLFR_1TXB) && --timeout); in aaci_ac97_read() 136 dev_err(&aaci->dev->dev, "timeout on slot 1 TX busy\n"); in aaci_ac97_read() 145 timeout = FRAME_PERIOD_US * 8; in aaci_ac97_read() 150 } while ((v != (SLFR_1RXV|SLFR_2RXV)) && --timeout); in aaci_ac97_read() 183 int timeout = 5000; aaci_chan_wait_ready() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | backing-dev.c | 266 unsigned long timeout; in wb_wakeup_delayed() local 268 timeout = msecs_to_jiffies(dirty_writeback_interval * 10); in wb_wakeup_delayed() 271 queue_delayed_work(bdi_wq, &wb->dwork, timeout); in wb_wakeup_delayed() 961 * @timeout: timeout in jiffies 963 * Waits for up to @timeout jiffies for a backing_dev (any backing_dev) to exit 967 long congestion_wait(int sync, long timeout) in congestion_wait() argument 975 ret = io_schedule_timeout(timeout); in congestion_wait() 978 trace_writeback_congestion_wait(jiffies_to_usecs(timeout), in congestion_wait() 988 * @timeout 998 wait_iff_congested(int sync, long timeout) wait_iff_congested() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | si2157.c | 21 unsigned long timeout; in si2157_cmd_execute() local 39 timeout = jiffies + msecs_to_jiffies(TIMEOUT); in si2157_cmd_execute() 40 while (!time_after(jiffies, timeout)) { in si2157_cmd_execute() 56 (jiffies_to_msecs(timeout) - TIMEOUT), in si2157_cmd_execute() 184 /* request the firmware, this will block and timeout */ in si2157_init() 315 unsigned long timeout; in si2157_tune_wait() local 329 timeout = start_time + msecs_to_jiffies(TUN_TIMEOUT); in si2157_tune_wait() 340 if (time_after(jiffies, timeout)) in si2157_tune_wait() 356 timeout = jiffies + msecs_to_jiffies(DIG_TIMEOUT); in si2157_tune_wait() 358 timeout in si2157_tune_wait() [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | si2157.c | 21 unsigned long timeout; in si2157_cmd_execute() local 39 timeout = jiffies + msecs_to_jiffies(TIMEOUT); in si2157_cmd_execute() 40 while (!time_after(jiffies, timeout)) { in si2157_cmd_execute() 56 (jiffies_to_msecs(timeout) - TIMEOUT), in si2157_cmd_execute() 100 /* request the firmware, this will block and timeout */ in si2157_load_firmware() 362 unsigned long timeout; in si2157_tune_wait() local 376 timeout = start_time + msecs_to_jiffies(TUN_TIMEOUT); in si2157_tune_wait() 387 if (time_after(jiffies, timeout)) in si2157_tune_wait() 403 timeout = jiffies + msecs_to_jiffies(DIG_TIMEOUT); in si2157_tune_wait() 405 timeout in si2157_tune_wait() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-jz4780.c | 568 long timeout; in jz4780_i2c_xfer_read() local 603 timeout = wait_for_completion_timeout(&i2c->trans_waitq, in jz4780_i2c_xfer_read() 606 if (!timeout) { in jz4780_i2c_xfer_read() 607 dev_err(&i2c->adap.dev, "irq read timeout\n"); in jz4780_i2c_xfer_read() 630 long timeout; in jz4780_i2c_xfer_write() local 658 timeout = wait_for_completion_timeout(&i2c->trans_waitq, in jz4780_i2c_xfer_write() 660 if (timeout && !i2c->stop_hold) { in jz4780_i2c_xfer_write() 664 timeout = JZ4780_I2C_TIMEOUT * 100; in jz4780_i2c_xfer_write() 665 for (; timeout > 0; timeout in jz4780_i2c_xfer_write() [all...] |
/kernel/linux/linux-6.6/sound/arm/ |
H A D | aaci.c | 70 int timeout; in aaci_ac97_write() local 91 timeout = FRAME_PERIOD_US * 8; in aaci_ac97_write() 95 } while ((v & (SLFR_1TXB|SLFR_2TXB)) && --timeout); in aaci_ac97_write() 99 "timeout waiting for write to complete\n"); in aaci_ac97_write() 110 int timeout, retries = 10; in aaci_ac97_read() local 129 timeout = FRAME_PERIOD_US * 8; in aaci_ac97_read() 133 } while ((v & SLFR_1TXB) && --timeout); in aaci_ac97_read() 136 dev_err(&aaci->dev->dev, "timeout on slot 1 TX busy\n"); in aaci_ac97_read() 145 timeout = FRAME_PERIOD_US * 8; in aaci_ac97_read() 150 } while ((v != (SLFR_1RXV|SLFR_2RXV)) && --timeout); in aaci_ac97_read() 183 int timeout = 5000; aaci_chan_wait_ready() local [all...] |