Home
last modified time | relevance | path

Searched refs:timeout (Results 501 - 525 of 2369) sorted by relevance

1...<<21222324252627282930>>...95

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dremote_executor.h45 uint64_t timeout = 0u; member
62 uint64_t timeout, uint64_t connectionId, std::shared_ptr<ResultSet> &result);
100 bool CheckParamValid(const std::string &device, uint64_t timeout) const;
118 void StartTimer(uint64_t timeout, uint32_t sessionId);
156 std::map<TimerId, uint32_t> timeoutMap_; // use to abort task when timeout
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Dmock_system_func.cpp146 int __real_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
147 int __wrap_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) in __wrap_select() argument
151 int nRet = MockSystemFunc::GetInstance().select(nfds, readfds, writefds, exceptfds, timeout); in __wrap_select()
162 return __real_select(nfds, readfds, writefds, exceptfds, timeout); in __wrap_select()
/third_party/curl/tests/libtest/
H A Dlib670.c186 struct timeval timeout; in test() local
213 timeout.tv_sec = 0; in test()
214 timeout.tv_usec = 1000000 * PAUSE_TIME / 10; in test()
223 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcept, &timeout); in test()
/third_party/ffmpeg/libavformat/
H A Dos_support.c226 int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout) in ff_poll() argument
272 if (timeout < 0) { in ff_poll()
276 tv.tv_sec = timeout / 1000; in ff_poll()
277 tv.tv_usec = 1000 * (timeout % 1000); in ff_poll()
/third_party/musl/porting/linux/user/src/network/
H A Dresolvconf.c131 conf->timeout = 5; in get_resolv_conf_ext()
154 conf->timeout = 60; in get_resolv_conf_ext()
156 conf->timeout = timeout_second; in get_resolv_conf_ext()
214 p = strstr(line, "timeout:"); in get_resolv_conf_ext()
218 if (z != p) conf->timeout = x > 60 ? 60 : x; in get_resolv_conf_ext()
/third_party/musl/src/network/
H A Dresolvconf.c117 conf->timeout = 5; in get_resolv_conf_ext()
144 conf->timeout = 60; in get_resolv_conf_ext()
146 conf->timeout = timeout_second; in get_resolv_conf_ext()
208 p = strstr(line, "timeout:"); in get_resolv_conf_ext()
212 if (z != p) conf->timeout = x > 60 ? 60 : x; in get_resolv_conf_ext()
/third_party/mesa3d/src/vulkan/overlay-layer/
H A Dmesa-overlay-control.py36 def recv(self, timeout):
38 timeout as float in seconds
41 - bytes() (empty) on timeout
44 events = self.epoll.poll(timeout)
85 def readCmd(self, ncmds, timeout=TIMEOUT):
89 - bytes() (empty) on timeout
94 remaining = timeout
149 # timeout
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-mcast_receiver.c62 double timeout; member
238 info_p->timeout = opt_d; in parse_options()
416 if (info_p->timeout) in receive_mcast()
417 if (info_p->timeout < difftime(time(NULL), start_time)) in receive_mcast()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl31.c63 static struct timespec timeout; variable
149 timeout.tv_sec = 5; in setup()
150 timeout.tv_nsec = 0; in setup()
336 ret = sigtimedwait(&newset, NULL, &timeout); in check_io_signal()
/third_party/ltp/testcases/kernel/syscalls/recv/
H A Drecv01.c193 struct timeval timeout; in setup1() local
205 timeout.tv_sec = 2; in setup1()
206 timeout.tv_usec = 0; in setup1()
207 n = select(s + 1, &rdfds, 0, 0, &timeout); in setup1()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DFence11.cpp143 GLuint64 timeout, in clientWait()
161 if (timeout == 0) in clientWait()
171 LONGLONG timeoutInSeconds = static_cast<LONGLONG>(timeout / 1000000000ull); in clientWait()
213 angle::Result Sync11::serverWait(const gl::Context *context, GLbitfield flags, GLuint64 timeout) in serverWait() argument
141 clientWait(const gl::Context *context, GLbitfield flags, GLuint64 timeout, GLenum *outResult) clientWait() argument
/third_party/python/Modules/clinic/
H A D_queuemodule.c.h36 "put($self, /, item, block=True, timeout=None)\n"
41 "The optional \'block\' and \'timeout\' arguments are ignored, as this method\n"
49 int block, PyObject *timeout);
55 static const char * const _keywords[] = {"item", "block", "timeout", NULL}; in _queue_SimpleQueue_put()
61 PyObject *timeout = Py_None; in _queue_SimpleQueue_put() local
80 timeout = args[2]; in _queue_SimpleQueue_put()
82 return_value = _queue_SimpleQueue_put_impl(self, item, block, timeout); in _queue_SimpleQueue_put()
124 "get($self, /, block=True, timeout=None)\n"
129 "If optional args \'block\' is true and \'timeout\' is None (the default),\n"
130 "block if necessary until an item is available. If \'timeout\' i
[all...]
/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_drag_drawing_test.cpp216 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
261 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
306 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
351 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
393 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
435 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
477 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
519 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
556 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
604 ASSERT_TRUE(futureFlag.wait_for(std::chrono::milliseconds(PROMISE_WAIT_SPAN_MS)) != std::future_status::timeout); in HWTEST_F()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Drtpoll.c210 struct timeval timeout; in pa_rtpoll_run() local
290 pa_zero(timeout); in pa_rtpoll_run()
292 /* Calculate timeout */ in pa_rtpoll_run()
298 pa_timeval_add(&timeout, pa_timeval_diff(&p->next_elapse, &now)); in pa_rtpoll_run()
307 pa_log("poll timeout: %d ms ",(int) ((timeout.tv_sec*1000) + (timeout.tv_usec / 1000))); in pa_rtpoll_run()
309 pa_log("poll timeout is ZERO"); in pa_rtpoll_run()
311 pa_log("poll timeout is FOREVER"); in pa_rtpoll_run()
319 ts.tv_sec = timeout in pa_rtpoll_run()
[all...]
/third_party/python/Lib/
H A Dsocket.py27 socket.getdefaulttimeout() -- get the default timeout value
28 socket.setdefaulttimeout() -- set the default timeout value
29 create_connection() -- connects to an address, with an optional timeout and
296 # Issue #7995: if no default timeout is set and the listening
297 # socket had a (non-zero) timeout, force the new socket in blocking
363 timeout = self.gettimeout()
364 if timeout == 0:
381 if timeout and not selector_select(timeout):
390 if not timeout
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DCommandProcessor.h282 uint64_t timeout) = 0;
283 virtual angle::Result waitIdle(Context *context, uint64_t timeout) = 0;
310 uint64_t timeout,
346 angle::Result finishToSerial(Context *context, Serial finishSerial, uint64_t timeout) override;
347 angle::Result waitIdle(Context *context, uint64_t timeout) override;
377 uint64_t timeout,
494 angle::Result finishToSerial(Context *context, Serial finishSerial, uint64_t timeout) override;
496 angle::Result waitIdle(Context *context, uint64_t timeout) override;
525 uint64_t timeout,
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Dffrt_block_queue.h27 explicit FFRTBlockQueue(uint32_t timeout) : timeout_(timeout) in FFRTBlockQueue() argument
/base/inputmethod/imf/common/include/
H A Dblock_queue.h27 explicit BlockQueue(uint32_t timeout) : timeout_(timeout) in BlockQueue() argument
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_ptrace.cpp41 bool DfxPtrace::Attach(pid_t tid, int timeout) in Attach() argument
66 if (curTime - startTime > timeout) { in Attach()
/base/request/request/frameworks/js/napi/include/
H A Dblock_queue.h25 explicit BlockQueue(uint32_t timeout) : timeout_(timeout) in BlockQueue() argument
/base/startup/init/services/begetctl/
H A Dservice_control.c56 uint64_t timeout = strtoull(timeBuffer, NULL, DECIMAL_BASE); in main_cmd() local
60 StartServiceByTimer(argv[1], timeout); in main_cmd()
76 {"timer_start", main_cmd, "start service by timer", "timer_start servicename timeout", ""}, in MODULE_CONSTRUCTOR()
/foundation/ability/ability_runtime/tools/aa/src/
H A Dmain.cpp32 CommandTimer(const std::string &timerName, uint32_t timeout, const std::string &operation) in CommandTimer() argument
36 timerId_ = HiviewDFX::XCollie::GetInstance().SetTimer("ability::aa_command", timeout, in CommandTimer()
/foundation/ability/ability_runtime/services/common/src/
H A Dqueue_task_handler_wrap.cpp23 : taskQueue_(queueName.c_str(), ffrt::queue_attr().qos(Convert2FfrtQos(queueQos)).timeout(QUEUE_TIME_OUT)) in QueueTaskHandlerWrap()
30 ffrt::queue_attr().qos(Convert2FfrtQos(queueQos)).timeout(QUEUE_TIME_OUT).max_concurrency(concurrentNum)) in QueueTaskHandlerWrap()
/foundation/multimedia/media_foundation/engine/scene/standard/
H A Ddata_stream.h110 * @param timeout Indicates how much time (millisecond) to wait, default -1 means wait until buffer obtained.
114 virtual bool GetEmptyBuffer(std::shared_ptr<DataBuffer>& buffer, int timeout = -1) = 0;
140 * @param timeout Indicates how much time (millisecond) to wait, default -1 means wait until data buffer obtained.
144 virtual bool GetDataBuffer(std::shared_ptr<DataBuffer>& buffer, int timeout = -1) = 0;
/foundation/multimedia/media_utils_lite/interfaces/kits/
H A Ddata_stream.h110 * @param timeout Indicates how much time (millisecond) to wait, default -1 means wait until buffer obtained.
114 virtual bool GetEmptyBuffer(std::shared_ptr<DataBuffer>& buffer, int timeout = -1) = 0;
140 * @param timeout Indicates how much time (millisecond) to wait, default -1 means wait until data buffer obtained.
144 virtual bool GetDataBuffer(std::shared_ptr<DataBuffer>& buffer, int timeout = -1) = 0;

Completed in 15 milliseconds

1...<<21222324252627282930>>...95