/kernel/liteos_a/compat/posix/src/ |
H A D | semaphore.c | 115 int sem_timedwait(sem_t *sem, const struct timespec *timeout) in sem_timedwait() argument 125 if (!ValidTimeSpec(timeout)) { in sem_timedwait() 130 tickCnt = OsTimeSpec2Tick(timeout); in sem_timedwait()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | signal.c | 127 int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout)
in sigtimedwait() argument 132 if (timeout != NULL) {
in sigtimedwait() 133 tick = TimeSpec2Tick(timeout);
in sigtimedwait()
|
/test/xts/acts/ability/ability_runtime/capichildprocess/entry/src/main/cpp/ |
H A D | IpcProxy.cpp | 50 ipcOpt.timeout = 0; in RequestExitChildProcess() 81 ipcOpt.timeout = 0; in Add() 111 ipcOpt.timeout = 0; in StartNativeChildProcess()
|
/test/xts/dcts/communication/softbus_standard/common/ |
H A D | net_trans_common.h | 187 int Wait(int timeout);
188 int Wait4Session(int timeout, WaitSessionType type);
189 int WaitNodeCount(int timeout, WaitNodeStateType state, int expectCount);
|
/test/xts/acts/commonlibrary/toolchain/libc-test/src/ |
H A D | toolchaintest.cpp | 65 int timeoutsec = 10, timeout = 0; in RunTests() local 91 timeout = 1; in RunTests() 111 } else if (timeout) { in RunTests()
|
/third_party/backends/backend/ |
H A D | sm3840_lib.h | 69 int size, int timeout); 72 int size, int timeout); 76 int size, int timeout);
|
/third_party/backends/sanei/ |
H A D | sanei_access.c | 157 sanei_access_lock( const char *devicename, SANE_Word timeout ) in sanei_access_lock() 165 DBG( 2, "sanei_access_lock: devname >%s<, timeout: %u\n", in sanei_access_lock() 166 devicename, timeout ); in sanei_access_lock() 170 to = timeout; in sanei_access_lock() 211 DBG( 1, "sanei_access_lock: timeout!\n"); in sanei_access_lock()
|
/third_party/curl/docs/examples/ |
H A D | ftpuploadresume.c | 71 const char *localpath, long timeout, long tries) in upload() 88 if(timeout) in upload() 89 curl_easy_setopt(curlhandle, CURLOPT_SERVER_RESPONSE_TIMEOUT, timeout); in upload() 70 upload(CURL *curlhandle, const char *remotepath, const char *localpath, long timeout, long tries) upload() argument
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
H A D | workbench.py | 72 self.timeout = 0 82 self.timeout += stats['timeout'] 101 'timeout': self.timeout, 122 print('Ran %(total)d test cases (%(timeout)d timeouts, '
|
/third_party/node/test/parallel/ |
H A D | test-http-keep-alive-pipeline-max-requests.js | 13 assert.strictEqual(headers.search(/Keep-Alive: timeout=5, max=3\r\n/m), -1); 17 assert.match(headers, /Keep-Alive: timeout=5, max=3\r\n/m); 78 assert.strictEqual(responseParts[6].search(/Keep-Alive: timeout=5\r\n/m), -1);
|
/third_party/node/deps/npm/node_modules/@sigstore/tuf/dist/ |
H A D | client.js | 45 timeout: options.timeout, 101 fetchTimeout: options.timeout,
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_queue.h | 107 wsi_queue_pull(struct wsi_queue *queue, uint32_t *index, uint64_t timeout) in wsi_queue_pull() argument 117 uint32_t abs_nsec = now.tv_nsec + timeout % NSEC_PER_SEC; in wsi_queue_pull() 119 (timeout / NSEC_PER_SEC); in wsi_queue_pull() 122 /* Avoid roll-over in tv_sec on 32-bit systems if the user provided timeout in wsi_queue_pull()
|
/third_party/mesa3d/src/util/ |
H A D | libsync.h | 102 static inline int sync_wait(int fd, int timeout) in sync_wait() argument 113 ret = poll(&fds, 1, timeout); in sync_wait() 125 timeout -= (poll_end.tv_sec - poll_start.tv_sec) * 1000 + in sync_wait()
|
/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/ |
H A D | io_pgetevents02.c | 28 struct tst_ts *timeout; member 36 {"invalid timeout", &ctx, 1, 1, events, NULL, &sigmask, EFAULT}, 96 void *const to = tc->timeout ? tst_ts_get(tc->timeout) : bad_addr; in run()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl33.c | 32 * The lease-break-time is set to 45 seconds for timeout in kernel. 53 static struct timespec timeout = {.tv_sec = 5}; variable 119 TEST(sigtimedwait(&newset, NULL, &timeout)); in do_test() 124 timeout.tv_sec); in do_test()
|
/third_party/ltp/testcases/network/stress/interface/ |
H A D | if-mtu-change.sh | 29 local timeout=1 30 tst_is_int $CHANGE_INTERVAL && timeout=$CHANGE_INTERVAL 31 tst_set_timeout $(((timeout + 30) * MTU_CHANGE_TIMES))
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | recvmsg.c | 48 int timeout = TEST_TIMEOUT; in check_recv_message() local 50 while (timeout > 0) { in check_recv_message() 58 timeout--; in check_recv_message()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/shell/ |
H A D | shell_unix.go | 86 // If the process does not finish within timeout a errTimeout will be returned. 87 func Exec(timeout time.Duration, exe, wd string, env []string, args ...string) ([]byte, error) { 106 case <-time.NewTimer(timeout).C: 113 return b.Bytes(), ErrTimeout{exe, timeout}
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | per_thread_sem.cc | 78 bool timeout = false; in AbslInternalPerThreadSemWait() local 92 timeout = in AbslInternalPerThreadSemWait() 101 return !timeout; in AbslInternalPerThreadSemWait()
|
/third_party/rust/crates/nix/test/ |
H A D | test_poll.rs | 24 // Poll an idle pipe. Should timeout in test_poll() 52 let timeout = TimeSpec::milliseconds(1); in test_ppoll() 56 // Poll an idle pipe. Should timeout in test_ppoll() 58 let nfds = loop_while_eintr!(ppoll(&mut fds, Some(timeout), Some(sigset))); in test_ppoll() 65 let nfds = ppoll(&mut fds, Some(timeout), None).unwrap(); in test_ppoll()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ap.h | 22 int timeout); 25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout); 28 int timeout);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ap.h | 22 int timeout); 25 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout); 28 int timeout);
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-omap.c | 43 /* timeout waiting for the controller to respond */ 46 /* timeout for pm runtime autosuspend */ 49 /* timeout for making decision on bus free status */ 311 unsigned long timeout; in omap_i2c_reset() local 325 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_reset() 329 if (time_after(jiffies, timeout)) { in omap_i2c_reset() 330 dev_warn(omap->dev, "timeout waiting " in omap_i2c_reset() 503 unsigned long timeout; in omap_i2c_wait_for_bb() local 505 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_wait_for_bb() 507 if (time_after(jiffies, timeout)) in omap_i2c_wait_for_bb() 546 unsigned long timeout; omap_i2c_wait_for_bb_valid() local 663 unsigned long timeout; omap_i2c_xfer_msg() local 963 unsigned long timeout = 10000; errata_omap3_i462() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | sb1000.c | 260 unsigned long timeout; in card_wait_for_busy_clear() local 263 timeout = jiffies + TimeOutJiffies; in card_wait_for_busy_clear() 269 if (time_after_eq(jiffies, timeout)) { in card_wait_for_busy_clear() 270 printk(KERN_WARNING "%s: card_wait_for_busy_clear timeout\n", in card_wait_for_busy_clear() 284 unsigned long timeout; in card_wait_for_ready() local 287 timeout = jiffies + TimeOutJiffies; in card_wait_for_ready() 293 if (time_after_eq(jiffies, timeout)) { in card_wait_for_ready() 294 printk(KERN_WARNING "%s: card_wait_for_ready timeout\n", in card_wait_for_ready() 361 unsigned long timeout; in sb1000_wait_for_ready() local 363 timeout in sb1000_wait_for_ready() 387 unsigned long timeout; sb1000_wait_for_ready_clear() local [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | atiixp.c | 417 int timeout = 1000; in snd_atiixp_acquire_codec() local 420 if (! timeout--) { in snd_atiixp_acquire_codec() 421 dev_warn(chip->card->dev, "codec acquire timeout\n"); in snd_atiixp_acquire_codec() 432 int timeout; in snd_atiixp_codec_read() local 443 timeout = 1000; in snd_atiixp_codec_read() 449 } while (--timeout); in snd_atiixp_codec_read() 452 dev_warn(chip->card->dev, "codec read timeout (reg %x)\n", reg); in snd_atiixp_codec_read() 491 int timeout; in snd_atiixp_aclink_reset() local 503 timeout = 10; in snd_atiixp_aclink_reset() 511 if (!--timeout) { in snd_atiixp_aclink_reset() 566 int timeout; snd_atiixp_codec_detect() local 653 int timeout = 1000; snd_atiixp_pcm_pointer() local 844 int timeout; atiixp_spdif_flush_dma() local [all...] |