/external/u-boot/net/ |
D | link_local.c | 55 static int timeout_ms = -1; variable 91 if (timeout_ms == -1) in configure_wait() 95 if (!timeout_ms) in configure_wait() 96 timeout_ms = random_delay_ms(PROBE_WAIT); in configure_wait() 99 deadline_ms = MONOTONIC_MS() + timeout_ms; in configure_wait() 102 timeout_ms, eth_get_name(), nprobes, nclaims); in configure_wait() 104 net_set_timeout_handler(timeout_ms, link_local_timeout); in configure_wait() 123 timeout_ms = 0; in link_local_start() 145 timeout_ms = PROBE_MIN * 1000; in link_local_timeout() 146 timeout_ms += random_delay_ms(PROBE_MAX - PROBE_MIN); in link_local_timeout() [all …]
|
D | tftp.c | 46 static ulong timeout_ms = TIMEOUT; variable 345 sprintf((char *)pkt, "%lu", timeout_ms / 1000); in tftp_send() 552 net_set_timeout_handler(timeout_ms, tftp_timeout_handler); in tftp_handler() 602 net_set_timeout_handler(timeout_ms, tftp_timeout_handler); in tftp_timeout_handler() 643 timeout_ms = simple_strtol(ep, NULL, 10); in tftp_start() 645 if (timeout_ms < 1000) { in tftp_start() 647 timeout_ms); in tftp_start() 648 timeout_ms = 1000; in tftp_start() 663 tftp_block_size_option, timeout_ms); in tftp_start() 740 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/u-boot/drivers/watchdog/ |
D | mtk_wdt.c | 73 static void mtk_wdt_set_timeout(struct udevice *dev, u64 timeout_ms) in mtk_wdt_set_timeout() argument 94 if (timeout_ms > 15984) in mtk_wdt_set_timeout() 95 timeout_ms = 15984; in mtk_wdt_set_timeout() 97 timeout_us = timeout_ms * 1000; in mtk_wdt_set_timeout() 106 static int mtk_wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags) in mtk_wdt_start() argument 110 mtk_wdt_set_timeout(dev, timeout_ms); in mtk_wdt_start()
|
D | tangier_wdt.c | 40 static int tangier_wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags) in tangier_wdt_start() argument 50 do_div(timeout_ms, 1000); in tangier_wdt_start() 51 timeout_sec = clamp_t(u32, timeout_ms, WDT_TIMEOUT_MIN, WDT_TIMEOUT_MAX); in tangier_wdt_start()
|
/external/perfetto/test/ |
D | test_helper.cc | 149 void TestHelper::FlushAndWait(uint32_t timeout_ms) { in FlushAndWait() argument 153 endpoint_->Flush(timeout_ms, [checkpoint](bool) { checkpoint(); }); in FlushAndWait() 154 RunUntilCheckpoint(checkpoint_name, timeout_ms + 1000); in FlushAndWait() 175 void TestHelper::WaitForTracingDisabled(uint32_t timeout_ms) { in WaitForTracingDisabled() argument 176 RunUntilCheckpoint("stop.tracing", timeout_ms); in WaitForTracingDisabled() 179 void TestHelper::WaitForReadData(uint32_t read_count, uint32_t timeout_ms) { in WaitForReadData() argument 181 timeout_ms); in WaitForReadData()
|
/external/curl/docs/examples/ |
D | multi-event.c | 149 static int start_timeout(CURLM *multi, long timeout_ms, void *userp) in start_timeout() argument 151 if(timeout_ms < 0) { in start_timeout() 155 if(timeout_ms == 0) in start_timeout() 156 timeout_ms = 1; /* 0 means directly call socket_action, but we'll do it in start_timeout() 159 tv.tv_sec = timeout_ms / 1000; in start_timeout() 160 tv.tv_usec = (timeout_ms % 1000) * 1000; in start_timeout()
|
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()
|
/external/u-boot/include/ |
D | regmap.h | 266 timeout_ms, test_add_time) \ argument 278 if ((timeout_ms) && get_timer(__start) > (timeout_ms)) { \ 288 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_ms) \ argument 290 timeout_ms, 0) \
|
/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/arm-trusted-firmware/drivers/st/i2c/ |
D | stm32_i2c.c | 530 uint8_t *p_data, uint16_t size, uint32_t timeout_ms, in i2c_write() argument 564 timeout_ref = timeout_init_us(timeout_ms * 1000); in i2c_write() 671 uint8_t *p_data, uint16_t size, uint32_t timeout_ms) in stm32_i2c_mem_write() argument 674 p_data, size, timeout_ms, I2C_MODE_MEM); in stm32_i2c_mem_write() 689 uint32_t timeout_ms) in stm32_i2c_master_transmit() argument 692 p_data, size, timeout_ms, I2C_MODE_MASTER); in stm32_i2c_master_transmit() 711 uint8_t *p_data, uint16_t size, uint32_t timeout_ms, in i2c_read() argument 840 uint8_t *p_data, uint16_t size, uint32_t timeout_ms) in stm32_i2c_mem_read() argument 843 p_data, size, timeout_ms, I2C_MODE_MEM); in stm32_i2c_mem_read() 858 uint32_t timeout_ms) in stm32_i2c_master_receive() argument [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 92 static void do_poll(int fd, int timeout_ms) in do_poll() argument 108 if (!timeout_ms) in do_poll() 111 timeout_ms -= 10; in do_poll() 112 if (timeout_ms <= 0) { in do_poll() 350 int timeout_ms = cfg_tcp ? cfg_rcv_timeout_ms : cfg_connect_timeout_ms; in do_recv() local 364 do_poll(fd, timeout_ms); in do_recv() 382 timeout_ms = cfg_rcv_timeout_ms; in do_recv()
|
/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/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/deqp-deps/amber/src/vulkan/ |
D | command_buffer.cc | 72 Result CommandBuffer::SubmitAndReset(uint32_t timeout_ms) { in SubmitAndReset() argument 92 static_cast<uint64_t>(timeout_ms) * 1000ULL * 1000ULL /* nanosecond */); in SubmitAndReset() 114 Result CommandBufferGuard::Submit(uint32_t timeout_ms) { in Submit() argument 117 result_ = buffer_->SubmitAndReset(timeout_ms); in Submit()
|
/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).
|
/external/arm-trusted-firmware/include/drivers/st/ |
D | stm32_i2c.h | 308 uint8_t *p_data, uint16_t size, uint32_t timeout_ms); 311 uint8_t *p_data, uint16_t size, uint32_t timeout_ms); 314 uint32_t timeout_ms); 317 uint32_t timeout_ms); 319 uint32_t trials, uint32_t timeout_ms);
|
/external/toybox/lib/ |
D | tty.c | 162 int scan_key_getsize(char *scratch, int timeout_ms, unsigned *xx, unsigned *yy) in scan_key_getsize() argument 212 if (maybe || timeout_ms != -1) in scan_key_getsize() 213 if (!xpoll(&pfd, 1, maybe ? 30 : timeout_ms)) break; in scan_key_getsize() 232 int scan_key(char *scratch, int timeout_ms) in scan_key() argument 234 return scan_key_getsize(scratch, timeout_ms, NULL, NULL); in scan_key()
|