/external/u-boot/net/ |
D | link_local.c | 53 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 …]
|
D | tftp.c | 43 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/ |
D | select.c | 75 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 …]
|
D | pingpong.c | 51 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()
|
D | select.h | 77 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/ |
D | mock_object_proxy.h | 27 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,
|
D | mock_object_proxy.cc | 18 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()
|
D | object_proxy.h | 115 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,
|
D | object_proxy.cc | 135 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/ |
D | session_support.py | 143 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/ |
D | util.c | 212 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/ |
D | test_helper.h | 56 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);
|
D | test_helper.cc | 136 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/ |
D | multi-uv.c | 159 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()
|
D | sendrecv.c | 32 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/ |
D | condition_variable_unittest.cc | 84 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/ |
D | tty.c | 66 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/ |
D | mojo_test_rule.cc | 60 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/ |
D | api_def_QueueEnqueueV2.pbtxt | 19 name: "timeout_ms" 22 timeout_ms milliseconds. 32 element has been enqueued (or 'timeout_ms' elapses, if specified).
|
D | api_def_QueueEnqueue.pbtxt | 17 name: "timeout_ms" 20 timeout_ms milliseconds. 30 element has been enqueued (or 'timeout_ms' elapses, if specified).
|
D | api_def_QueueDequeueV2.pbtxt | 25 name: "timeout_ms" 28 timeout_ms milliseconds. 39 has been dequeued (or 'timeout_ms' elapses, if specified).
|
D | api_def_QueueDequeue.pbtxt | 23 name: "timeout_ms" 26 timeout_ms milliseconds. 37 has been dequeued (or 'timeout_ms' elapses, if specified).
|
D | api_def_QueueEnqueueManyV2.pbtxt | 20 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/ |
D | lan7x.h | 128 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/ |
D | mock_consumer.cc | 72 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()
|