Home
last modified time | relevance | path

Searched refs:timeout_ms (Results 1 – 25 of 167) sorted by relevance

1234567

/external/u-boot/net/
Dlink_local.c53 static int timeout_ms = -1; variable
89 if (timeout_ms == -1) in configure_wait()
93 if (!timeout_ms) in configure_wait()
94 timeout_ms = random_delay_ms(PROBE_WAIT); in configure_wait()
97 deadline_ms = MONOTONIC_MS() + timeout_ms; in configure_wait()
100 timeout_ms, eth_get_name(), nprobes, nclaims); in configure_wait()
102 net_set_timeout_handler(timeout_ms, link_local_timeout); in configure_wait()
121 timeout_ms = 0; in link_local_start()
143 timeout_ms = PROBE_MIN * 1000; in link_local_timeout()
144 timeout_ms += random_delay_ms(PROBE_MAX - PROBE_MIN); in link_local_timeout()
[all …]
Dtftp.c43 static ulong timeout_ms = TIMEOUT; variable
365 sprintf((char *)pkt, "%lu", timeout_ms / 1000); in tftp_send()
607 net_set_timeout_handler(timeout_ms, tftp_timeout_handler); in tftp_handler()
692 net_set_timeout_handler(timeout_ms, tftp_timeout_handler); in tftp_timeout_handler()
715 timeout_ms = simple_strtol(ep, NULL, 10); in tftp_start()
717 if (timeout_ms < 1000) { in tftp_start()
719 timeout_ms); in tftp_start()
720 timeout_ms = 1000; in tftp_start()
735 tftp_block_size_option, timeout_ms); in tftp_start()
816 net_set_timeout_handler(timeout_ms, tftp_timeout_handler); in tftp_start()
[all …]
/external/curl/lib/
Dselect.c75 int Curl_wait_ms(int timeout_ms) in Curl_wait_ms() argument
86 if(!timeout_ms) in Curl_wait_ms()
88 if(timeout_ms < 0) { in Curl_wait_ms()
93 delay(timeout_ms); in Curl_wait_ms()
95 Sleep(timeout_ms); in Curl_wait_ms()
97 pending_ms = timeout_ms; in Curl_wait_ms()
113 pending_ms = timeout_ms - ELAPSED_MS(); in Curl_wait_ms()
148 time_t timeout_ms) /* milliseconds to wait */ in Curl_socket_check() argument
168 if(timeout_ms >= INT_MAX) in Curl_socket_check()
169 timeout_ms = INT_MAX; in Curl_socket_check()
[all …]
Dpingpong.c51 time_t timeout_ms; /* in milliseconds */ in Curl_pp_state_timeout() local
62 timeout_ms = response_time - in Curl_pp_state_timeout()
71 timeout_ms = CURLMIN(timeout_ms, timeout2_ms); in Curl_pp_state_timeout()
74 return timeout_ms; in Curl_pp_state_timeout()
87 time_t timeout_ms = Curl_pp_state_timeout(pp, disconnecting); in Curl_pp_statemach() local
91 if(timeout_ms <= 0) { in Curl_pp_statemach()
98 if(timeout_ms < interval_ms) in Curl_pp_statemach()
99 interval_ms = timeout_ms; in Curl_pp_statemach()
Dselect.h77 time_t timeout_ms);
84 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
92 int Curl_wait_ms(int timeout_ms);
/external/libchrome/dbus/
Dmock_object_proxy.h27 int timeout_ms,
31 int timeout_ms));
37 int timeout_ms,
41 int timeout_ms,
48 int timeout_ms,
52 int timeout_ms,
59 int timeout_ms,
64 int timeout_ms,
Dmock_object_proxy.cc18 int timeout_ms, in CallMethod() argument
20 DoCallMethod(method_call, timeout_ms, &callback); in CallMethod()
25 int timeout_ms, in CallMethodWithErrorResponse() argument
27 DoCallMethodWithErrorResponse(method_call, timeout_ms, &callback); in CallMethodWithErrorResponse()
32 int timeout_ms, in CallMethodWithErrorCallback() argument
35 DoCallMethodWithErrorCallback(method_call, timeout_ms, &callback, in CallMethodWithErrorCallback()
Dobject_proxy.h115 int timeout_ms,
123 int timeout_ms);
138 int timeout_ms,
150 int timeout_ms,
169 int timeout_ms,
251 void StartAsyncMethodCall(int timeout_ms,
Dobject_proxy.cc135 int timeout_ms, in CallMethodAndBlockWithErrorDetails() argument
149 bus_->SendWithReplyAndBlock(request_message, timeout_ms, error->get()); in CallMethodAndBlockWithErrorDetails()
174 int timeout_ms) { in CallMethodAndBlock() argument
176 return CallMethodAndBlockWithErrorDetails(method_call, timeout_ms, &error); in CallMethodAndBlock()
180 int timeout_ms, in CallMethod() argument
186 CallMethodWithErrorResponse(method_call, timeout_ms, in CallMethod()
192 int timeout_ms, in CallMethodWithErrorResponse() argument
224 base::BindOnce(&ObjectProxy::StartAsyncMethodCall, this, timeout_ms, in CallMethodWithErrorResponse()
230 int timeout_ms, in CallMethodWithErrorCallback() argument
244 CallMethodWithErrorResponse(method_call, timeout_ms, in CallMethodWithErrorCallback()
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dsession_support.py143 def shutdown(self, timeout_ms=10000): argument
147 watchdog_config=event_pb2.WatchdogConfig(timeout_ms=timeout_ms),
153 logging.info('Waiting %dms for worker shutdown.', timeout_ms)
154 time.sleep(timeout_ms / 1000)
237 timeout_ms=self.shutdown_timeout * 1000,),
253 watchdog_config=event_pb2.WatchdogConfig(timeout_ms=-1,),
399 def __init__(self, timeout_ms=10000): argument
400 self.timeout_ms = timeout_ms
404 all_workers.shutdown(timeout_ms=self.timeout_ms)
417 def __init__(self, timeout_ms=10000): argument
[all …]
/external/curl/tests/server/
Dutil.c212 int wait_ms(int timeout_ms) in wait_ms() argument
223 if(!timeout_ms) in wait_ms()
225 if(timeout_ms < 0) { in wait_ms()
230 delay(timeout_ms); in wait_ms()
232 Sleep(timeout_ms); in wait_ms()
234 pending_ms = timeout_ms; in wait_ms()
250 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms()
/external/perfetto/test/
Dtest_helper.h56 void FlushAndWait(uint32_t timeout_ms);
64 void WaitForTracingDisabled(uint32_t timeout_ms = 5000);
76 uint32_t timeout_ms = 5000) {
77 return task_runner_->RunUntilCheckpoint(AddID(checkpoint), timeout_ms);
Dtest_helper.cc136 void TestHelper::FlushAndWait(uint32_t timeout_ms) { in FlushAndWait() argument
140 endpoint_->Flush(timeout_ms, [checkpoint](bool) { checkpoint(); }); in FlushAndWait()
141 RunUntilCheckpoint(checkpoint_name, timeout_ms + 1000); in FlushAndWait()
162 void TestHelper::WaitForTracingDisabled(uint32_t timeout_ms) { in WaitForTracingDisabled() argument
163 RunUntilCheckpoint("stop.tracing", timeout_ms); in WaitForTracingDisabled()
/external/curl/docs/examples/
Dmulti-uv.c159 static int start_timeout(CURLM *multi, long timeout_ms, void *userp) in start_timeout() argument
161 if(timeout_ms < 0) { in start_timeout()
165 if(timeout_ms == 0) in start_timeout()
166 timeout_ms = 1; /* 0 means directly call socket_action, but we'll do it in start_timeout()
168 uv_timer_start(&timeout, on_timeout, timeout_ms, 0); in start_timeout()
Dsendrecv.c32 static int wait_on_socket(curl_socket_t sockfd, int for_recv, long timeout_ms) in wait_on_socket() argument
38 tv.tv_sec = timeout_ms / 1000; in wait_on_socket()
39 tv.tv_usec = (timeout_ms % 1000) * 1000; in wait_on_socket()
/external/webrtc/webrtc/system_wrappers/source/
Dcondition_variable_unittest.cc84 bool WaitUntilBatonOffered(int timeout_ms) { in WaitUntilBatonOffered() argument
86 if (!cond_var_->SleepCS(*crit_sect_, timeout_ms)) { in WaitUntilBatonOffered()
107 bool TakeBatonIfStillFree(int timeout_ms) { in TakeBatonIfStillFree() argument
110 not_timeout = cond_var_->SleepCS(*crit_sect_, timeout_ms); in TakeBatonIfStillFree()
/external/toybox/lib/
Dtty.c66 int scan_key_getsize(char *scratch, int timeout_ms, unsigned *xx, unsigned *yy) in scan_key_getsize() argument
70 if (512&(key = scan_key(scratch, timeout_ms))) { in scan_key_getsize()
166 int scan_key(char *scratch, int timeout_ms) in scan_key() argument
214 if (maybe || timeout_ms != -1) in scan_key()
215 if (!xpoll(&pfd, 1, maybe ? 30 : timeout_ms)) break; in scan_key()
/external/libchrome/mojo/public/java/system/javatests/
Dmojo_test_rule.cc60 jlong timeout_ms) { in JNI_MojoTestRule_RunLoop() argument
62 if (timeout_ms) { in JNI_MojoTestRule_RunLoop()
65 base::TimeDelta::FromMilliseconds(timeout_ms)); in JNI_MojoTestRule_RunLoop()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_QueueEnqueueV2.pbtxt19 name: "timeout_ms"
22 timeout_ms milliseconds.
32 element has been enqueued (or 'timeout_ms' elapses, if specified).
Dapi_def_QueueEnqueue.pbtxt17 name: "timeout_ms"
20 timeout_ms milliseconds.
30 element has been enqueued (or 'timeout_ms' elapses, if specified).
Dapi_def_QueueDequeueV2.pbtxt25 name: "timeout_ms"
28 timeout_ms milliseconds.
39 has been dequeued (or 'timeout_ms' elapses, if specified).
Dapi_def_QueueDequeue.pbtxt23 name: "timeout_ms"
26 timeout_ms milliseconds.
37 has been dequeued (or 'timeout_ms' elapses, if specified).
Dapi_def_QueueEnqueueManyV2.pbtxt20 name: "timeout_ms"
23 to timeout_ms milliseconds.
37 elements have been enqueued (or 'timeout_ms' elapses, if specified).
/external/u-boot/drivers/usb/eth/
Dlan7x.h128 const unsigned int timeout_ms, in lan7x_wait_for_bit() argument
143 if (get_timer(start) > timeout_ms) in lan7x_wait_for_bit()
170 const unsigned int timeout_ms, in lan7x_mdio_wait_for_bit() argument
185 if (get_timer(start) > timeout_ms) in lan7x_mdio_wait_for_bit()
/external/perfetto/src/tracing/test/
Dmock_consumer.cc72 void MockConsumer::WaitForTracingDisabled(uint32_t timeout_ms) { in WaitForTracingDisabled() argument
77 task_runner_->RunUntilCheckpoint(checkpoint_name, timeout_ms); in WaitForTracingDisabled()
80 MockConsumer::FlushRequest MockConsumer::Flush(uint32_t timeout_ms) { in Flush() argument
85 service_endpoint_->Flush(timeout_ms, [result, on_flush](bool success) { in Flush()

1234567