Home
last modified time | relevance | path

Searched refs:timeout (Results 276 - 300 of 2205) sorted by relevance

1...<<11121314151617181920>>...89

/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dspdy_fileserver.c272 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 Dtest_request_response_with_callback.c168 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 Devent.h59 // 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 Deapol_test.py55 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):
/third_party/node/lib/internal/test_runner/
H A Dtest.js81 function stopTest(timeout, signal) {
87 if (timeout === kDefaultTimeout) {
90 timer = setTimeout(() => deferred.resolve(), timeout);
99 `test timed out after ${timeout}ms`,
212 const { concurrency, loc, only, timeout, todo, signal } = options;
233 this.timeout = kDefaultTimeout;
252 this.timeout = parent.timeout;
283 if (timeout != null && timeout !
[all...]
/third_party/python/Lib/
H A Dftplib.py78 host, user, passwd, acct, timeout, source_address, encoding
81 The parameter ´timeout´ must be numeric and defaults to None if not
82 passed, meaning that no timeout will be set on any ftp socket(s).
83 If a timeout is passed, then this is now the default timeout for all ftp
110 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *,
119 self.timeout = timeout
139 def connect(self, host='', port=0, timeout=-999, source_address=None):
143 - timeout
[all...]
/third_party/node/lib/
H A Dchild_process.js119 * timeout?: number;
218 * timeout?: number;
311 * timeout?: number;
334 timeout: 0,
343 // Validate the timeout, if present.
344 validateTimeout(options.timeout);
461 if (options.timeout > 0) {
465 }, options.timeout);
748 * timeout?: number;
755 validateTimeout(options.timeout);
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_session_manager.cpp689 int64_t timeout; in CalAppProcessTime() local
695 /* timeout = (AppSize / 3Ms) * 3 + 30 */ in CalAppProcessTime()
696 timeout = defaultTimeout + (appSize / processRate) * multiple; in CalAppProcessTime()
699 timeout = defaultTimeout; in CalAppProcessTime()
701 timeout = timeout < minTimeout ? minTimeout : timeout; in CalAppProcessTime()
702 resTimeoutMs = (uint32_t)(timeout * invertMillisecond % UINT_MAX); /* conver second to millisecond */ in CalAppProcessTime()
703 HILOGI("Calculate App extension process run timeout=%{public}u(ms), bundleName=%{public}s ", resTimeoutMs, in CalAppProcessTime()
721 uint32_t timeout
762 uint32_t timeout = it->second.timeout; StartExtTimer() local
791 UpdateTimer(const std::string &bundleName, uint32_t timeout, const Utils::Timer::TimerCallback &callback) UpdateTimer() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_input_ai_checker.cpp20 std::chrono::duration<float, std::ratio<1, SECONDS_TO_MILLISECONDS>> timeout) in NeedAIAnalysis()
34 TAG_LOGI(AceLogTag::ACE_TEXTINPUT, "NeedAIAnalysis rectfied time:%{public}f", timeout.count()); in NeedAIAnalysis()
35 if (targetType == CaretUpdateType::PRESSED && timeout.count() < AIPOS_RECTIFIED_INTERVAL_MS) { in NeedAIAnalysis()
19 NeedAIAnalysis(const std::string& content, const NG::CaretUpdateType targetType, std::chrono::duration<float, std::ratio<1, SECONDS_TO_MILLISECONDS>> timeout) NeedAIAnalysis() argument
/foundation/multimedia/av_codec/services/dfx/include/
H A Davcodec_xcollie.h28 uint64_t SetTimer(const std::string &name, bool isService, bool recovery, uint32_t timeout);
47 bool recovery = false, uint32_t timeout = 30) in AVCodecXcollieTimer()
49 index_ = AVCodecXCollie::GetInstance().SetTimer(name, isService, recovery, timeout); in AVCodecXcollieTimer()
/third_party/node/test/parallel/
H A Dtest-http-client-timeout-option-listeners.js13 const timeout = 2 ** 31 - 1;
21 timeout: timeout
41 const numListeners = socket.listeners('timeout').length;
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
H A Dstarvation.c28 static int timeout = 240; variable
62 if (tst_parse_int(str_timeout, &timeout, 1, INT_MAX)) in setup()
63 tst_brk(TBROK, "Invalid number of timeout '%s'", str_timeout); in setup()
65 tst_set_max_runtime(timeout); in setup()
109 {"t:", &str_timeout, "Max timeout (default 240s)"},
/third_party/skia/experimental/tools/
H A Dandroid_skp_capture.sh51 timeout=$(( $(date +%s) + $phase1_timeout_seconds))
54 if [ $(date +%s) -gt $timeout ] ; then
71 timeout=$(( $(date +%s) + $phase2_timeout_seconds))
74 if [ $(date +%s) -gt $timeout ] ; then
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/
H A Devent_loop_impl.cpp46 EventRequest(int type, EventImpl *event, EventTime timeout) in EventRequest() argument
50 timeout_(timeout) in EventRequest()
122 EventTime timeout = 0; in Add() local
123 int errCode = QueueRequest(EventRequest::ADD_EVENT, eventImpl, timeout); in Add()
147 EventTime timeout = 0; in Remove() local
148 int errCode = QueueRequest(EventRequest::REMOVE_EVENT, eventImpl, timeout); in Remove()
412 int EventLoopImpl::ModifyEventObject(EventImpl *event, EventTime timeout) in ModifyEventObject() argument
420 event->SetTimeoutPeriod(timeout); in ModifyEventObject()
442 EventTime timeout = request->GetTimeout(); in ProcessRequest() local
462 (void)(ModifyEventObject(event, timeout)); in ProcessRequest()
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_init.c84 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 Dqueues.py86 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...]
/third_party/pulseaudio/src/pulsecore/
H A Dpoll-win32.c351 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/infra/bots/recipe_modules/flavor/
H A Dandroid.py94 infra_step=True, timeout=30, abort_on_failure=False,
100 timeout=180, abort_on_failure=False,
206 timeout=30)
238 timeout=30)
283 timeout=30)
348 timeout=30)
443 timeout=300,
463 timeout=180, abort_on_failure=False,
467 infra_step=True, timeout=300,
492 timeout
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
H A Dsyscalls.rs534 pub(crate) fn poll(fds: &mut [PollFd<'_>], timeout: c::c_int) -> io::Result<usize> {
539 let timeout = if timeout >= 0 {
541 tv_sec: (timeout as i64) / 1000,
542 tv_nsec: (timeout as i64) % 1000 * 1_000_000,
551 opt_ref(timeout.as_ref()),
558 ret_usize(syscall!(__NR_poll, fds_addr_mut, fds_len, c_int(timeout)))
613 timeout: c::c_int,
622 c_int(timeout)
632 c_int(timeout),
[all...]
/foundation/multimedia/player_framework/services/utils/
H A Dplayer_xcollie.cpp77 int32_t PlayerXCollie::SetTimer(const std::string &name, bool recovery, uint32_t timeout) in SetTimer() argument
88 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer(name, timeout, func, this, flag); in SetTimer()
99 int32_t PlayerXCollie::SetTimerByLog(const std::string &name, uint32_t timeout) in SetTimerByLog() argument
103 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer(name, timeout, nullptr, this, flag); in SetTimerByLog()
/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_request.cpp80 void HttpClientRequest::SetTimeout(unsigned int timeout) in SetTimeout() argument
82 timeout_ = timeout; in SetTimeout()
85 void HttpClientRequest::SetConnectTimeout(unsigned int timeout) in SetConnectTimeout() argument
87 connectTimeout_ = timeout; in SetConnectTimeout()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Devent.c87 struct timespec timeout; in EventWaitInternal() local
89 timeout.tv_sec = now.tv_sec + ms / MS_PER_SECOND; in EventWaitInternal()
90 timeout.tv_nsec = now.tv_usec * MS_PER_SECOND + (ms % MS_PER_SECOND) * NS_PER_MS; in EventWaitInternal()
91 ret = pthread_cond_timedwait(&event->cond, &event->mutex, &timeout); in EventWaitInternal()
108 HILOGE("EventWait result is timeout"); in EventWait()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dselectndk.cpp66 struct timespec timeout = {PARAM_0}; in PSelect() local
67 timeout.tv_sec = PARAM_5; in PSelect()
68 timeout.tv_nsec = PARAM_0; in PSelect()
73 ret = pselect(STDOUT_FILENO + PARAM_1, nullptr, &set, nullptr, &timeout, nullptr); in PSelect()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dsignalndk32.cpp57 timespec timeout = {.tv_sec = PARAM_2, .tv_nsec = PARAM_0}; in SigTimedWait_time641() local
60 ret = __sigtimedwait_time64(&set2, &siginfo, &timeout); in SigTimedWait_time641()
77 timespec timeout = {.tv_sec = PARAM_2, .tv_nsec = PARAM_0}; in SigTimedWait_time642() local
78 int ret = ret = __sigtimedwait_time64(&set, &siginfo, &timeout); in SigTimedWait_time642()
/third_party/curl/tests/libtest/
H A Dlib555.c119 struct timeval timeout; in test() local
123 timeout.tv_sec = 0; in test()
124 timeout.tv_usec = 100000L; /* 100 ms */ in test()
141 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); in test()

Completed in 12 milliseconds

1...<<11121314151617181920>>...89