/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 6-1.c | 111 struct timeval wait_time; in main() local 168 wait_time.tv_sec = after_wait.tv_sec - before_wait.tv_sec; in main() 169 wait_time.tv_usec = after_wait.tv_usec - before_wait.tv_usec; in main() 170 if (wait_time.tv_usec < 0) { in main() 171 --wait_time.tv_sec; in main() 172 wait_time.tv_usec += 1000000; in main() 174 if (wait_time.tv_sec < TIMEOUT) { in main() 177 TIMEOUT, (long int)wait_time.tv_sec, in main() 178 (long int)wait_time.tv_usec); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | dpp_supplicant.c | 116 unsigned int wait_time, max_tries; in wpas_dpp_auth_resp_retry() local 135 wait_time = wpa_s->dpp_resp_retry_time; in wpas_dpp_auth_resp_retry() 137 wait_time = 1000; in wpas_dpp_auth_resp_retry() 140 wait_time); in wpas_dpp_auth_resp_retry() 142 eloop_register_timeout(wait_time / 1000, in wpas_dpp_auth_resp_retry() 143 (wait_time % 1000) * 1000, in wpas_dpp_auth_resp_retry() 255 unsigned int wait_time, diff_ms; in wpas_dpp_reply_wait_timeout() local 260 wait_time = wpa_s->dpp_resp_wait_time ? in wpas_dpp_reply_wait_timeout() 267 wait_time, diff_ms); in wpas_dpp_reply_wait_timeout() 269 if (auth->auth_req_ack && diff_ms >= wait_time) { in wpas_dpp_reply_wait_timeout() [all …]
|
D | offchannel.c | 261 const u8 *buf, size_t len, unsigned int wait_time, in offchannel_send_action() argument 312 wpa_s->action_tx_wait_time = wait_time; in offchannel_send_action() 313 if (wait_time) in offchannel_send_action() 318 wait_time, wpa_s->pending_action_dst, in offchannel_send_action() 361 if (wait_time > wpa_s->max_remain_on_chan) in offchannel_send_action() 362 wait_time = wpa_s->max_remain_on_chan; in offchannel_send_action() 363 else if (wait_time == 0) in offchannel_send_action() 364 wait_time = 20; in offchannel_send_action() 368 wait_time, wait_time + wpa_s->extra_roc_dur); in offchannel_send_action() 369 wait_time += wpa_s->extra_roc_dur; in offchannel_send_action() [all …]
|
D | gas_query.c | 286 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument 304 wait_time > gas->wpa_s->max_remain_on_chan) in gas_query_tx() 305 wait_time = gas->wpa_s->max_remain_on_chan; in gas_query_tx() 317 wpabuf_len(req), wait_time, in gas_query_tx() 330 unsigned int wait_time; in gas_query_tx_comeback_req() local 338 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req() 341 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
|
D | offchannel.h | 15 const u8 *buf, size_t len, unsigned int wait_time,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | offchannel.c | 261 const u8 *buf, size_t len, unsigned int wait_time, in offchannel_send_action() argument 312 wpa_s->action_tx_wait_time = wait_time; in offchannel_send_action() 313 if (wait_time) in offchannel_send_action() 318 wait_time, wpa_s->pending_action_dst, in offchannel_send_action() 361 if (wait_time > wpa_s->max_remain_on_chan) in offchannel_send_action() 362 wait_time = wpa_s->max_remain_on_chan; in offchannel_send_action() 363 else if (wait_time == 0) in offchannel_send_action() 364 wait_time = 20; in offchannel_send_action() 368 wait_time, wait_time + wpa_s->extra_roc_dur); in offchannel_send_action() 369 wait_time += wpa_s->extra_roc_dur; in offchannel_send_action() [all …]
|
D | dpp_supplicant.c | 214 unsigned int wait_time, max_tries; in wpas_dpp_auth_resp_retry() local 233 wait_time = wpa_s->dpp_resp_retry_time; in wpas_dpp_auth_resp_retry() 235 wait_time = 1000; in wpas_dpp_auth_resp_retry() 238 wait_time); in wpas_dpp_auth_resp_retry() 240 eloop_register_timeout(wait_time / 1000, in wpas_dpp_auth_resp_retry() 241 (wait_time % 1000) * 1000, in wpas_dpp_auth_resp_retry() 264 unsigned int wait_time) in wpas_dpp_stop_listen_for_tx() argument 279 if (wpa_s->dpp_listen_freq == freq && remaining > wait_time) in wpas_dpp_stop_listen_for_tx() 284 wpa_s->dpp_listen_freq, remaining, freq, wait_time); in wpas_dpp_stop_listen_for_tx() 550 unsigned int wait_time, diff_ms; in wpas_dpp_reply_wait_timeout() local [all …]
|
D | gas_query.c | 277 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument 295 wait_time > gas->wpa_s->max_remain_on_chan) in gas_query_tx() 296 wait_time = gas->wpa_s->max_remain_on_chan; in gas_query_tx() 308 wpabuf_len(req), wait_time, in gas_query_tx() 321 unsigned int wait_time; in gas_query_tx_comeback_req() local 329 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req() 332 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
|
D | offchannel.h | 15 const u8 *buf, size_t len, unsigned int wait_time,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | dpp_hostapd.c | 89 unsigned int wait_time, max_tries; in hostapd_dpp_auth_resp_retry() local 109 wait_time = hapd->dpp_resp_retry_time; in hostapd_dpp_auth_resp_retry() 111 wait_time = 1000; in hostapd_dpp_auth_resp_retry() 114 wait_time); in hostapd_dpp_auth_resp_retry() 116 eloop_register_timeout(wait_time / 1000, in hostapd_dpp_auth_resp_retry() 117 (wait_time % 1000) * 1000, in hostapd_dpp_auth_resp_retry() 215 unsigned int wait_time, diff_ms; in hostapd_dpp_reply_wait_timeout() local 220 wait_time = hapd->dpp_resp_wait_time ? in hostapd_dpp_reply_wait_timeout() 227 wait_time, diff_ms); in hostapd_dpp_reply_wait_timeout() 229 if (auth->auth_req_ack && diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout() [all …]
|
D | accounting.c | 464 unsigned int i, wait_time; in accounting_interim_error_cb() local 491 wait_time = 0; in accounting_interim_error_cb() 493 wait_time = 3; /* RADIUS_CLIENT_FIRST_WAIT */ in accounting_interim_error_cb() 495 wait_time *= 2; in accounting_interim_error_cb() 497 res = eloop_deplete_timeout(wait_time, 0, accounting_interim_update, in accounting_interim_error_cb() 503 MAC2STR(addr), sta->acct_interim_errors, wait_time); in accounting_interim_error_cb()
|
D | gas_query_ap.c | 260 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument 273 res = hostapd_drv_send_action(gas->hapd, query->freq, wait_time, in gas_query_tx() 284 unsigned int wait_time; in gas_query_tx_comeback_req() local 292 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req() 295 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | dpp_hostapd.c | 186 unsigned int wait_time, max_tries; in hostapd_dpp_auth_resp_retry() local 206 wait_time = hapd->dpp_resp_retry_time; in hostapd_dpp_auth_resp_retry() 208 wait_time = 1000; in hostapd_dpp_auth_resp_retry() 211 wait_time); in hostapd_dpp_auth_resp_retry() 213 eloop_register_timeout(wait_time / 1000, in hostapd_dpp_auth_resp_retry() 214 (wait_time % 1000) * 1000, in hostapd_dpp_auth_resp_retry() 329 unsigned int wait_time, diff_ms; in hostapd_dpp_reply_wait_timeout() local 334 wait_time = hapd->dpp_resp_wait_time ? in hostapd_dpp_reply_wait_timeout() 341 wait_time, diff_ms); in hostapd_dpp_reply_wait_timeout() 343 if (auth->auth_req_ack && diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout() [all …]
|
D | accounting.c | 464 unsigned int i, wait_time; in accounting_interim_error_cb() local 491 wait_time = 0; in accounting_interim_error_cb() 493 wait_time = 3; /* RADIUS_CLIENT_FIRST_WAIT */ in accounting_interim_error_cb() 495 wait_time *= 2; in accounting_interim_error_cb() 497 res = eloop_deplete_timeout(wait_time, 0, accounting_interim_update, in accounting_interim_error_cb() 503 MAC2STR_SEC(addr), sta->acct_interim_errors, wait_time); in accounting_interim_error_cb()
|
D | gas_query_ap.c | 260 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument 273 res = hostapd_drv_send_action(gas->hapd, query->freq, wait_time, in gas_query_tx() 284 unsigned int wait_time; in gas_query_tx_comeback_req() local 292 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req() 295 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
|
/third_party/mesa3d/.gitlab-ci/tests/ |
D | test_lava_job_submitter.py | 39 wait_time = kwargs.pop("wait_time", 1) 43 proxy_job_state.side_effect = frozen_time.tick(wait_time) 216 wait_time, argument 223 frozen_time, side_effect=side_effect, wait_time=wait_time 232 assert delta_time.total_seconds() >= wait_time
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p_sd.c | 278 unsigned int wait_time; in p2p_start_sd() local 312 wait_time = 5000; in p2p_start_sd() 313 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_start_sd() 314 wait_time = p2p->cfg->max_listen; in p2p_start_sd() 317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd() 429 unsigned int wait_time = 200; in p2p_sd_response() local 464 wait_time = 0; /* no more SD frames in the sequence */ in p2p_sd_response() 475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response() 628 unsigned int wait_time = 200; in p2p_rx_gas_comeback_req() local 681 wait_time = 0; /* no more SD frames in the sequence */ in p2p_rx_gas_comeback_req() [all …]
|
D | p2p_dev_disc.c | 71 unsigned int wait_time; in p2p_send_dev_disc_req() local 92 wait_time = 1000; in p2p_send_dev_disc_req() 93 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_send_dev_disc_req() 94 wait_time = p2p->cfg->max_listen; in p2p_send_dev_disc_req() 97 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_send_dev_disc_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p_sd.c | 278 unsigned int wait_time; in p2p_start_sd() local 312 wait_time = 5000; in p2p_start_sd() 313 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_start_sd() 314 wait_time = p2p->cfg->max_listen; in p2p_start_sd() 317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd() 429 unsigned int wait_time = 200; in p2p_sd_response() local 464 wait_time = 0; /* no more SD frames in the sequence */ in p2p_sd_response() 475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response() 628 unsigned int wait_time = 200; in p2p_rx_gas_comeback_req() local 681 wait_time = 0; /* no more SD frames in the sequence */ in p2p_rx_gas_comeback_req() [all …]
|
D | p2p_dev_disc.c | 71 unsigned int wait_time; in p2p_send_dev_disc_req() local 92 wait_time = 1000; in p2p_send_dev_disc_req() 93 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_send_dev_disc_req() 94 wait_time = p2p->cfg->max_listen; in p2p_send_dev_disc_req() 97 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_send_dev_disc_req()
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | videocrop-test.c | 94 GstClockTime wait_time, waited_for_block; in test_with_caps() local 99 wait_time = GST_SECOND / FRAMERATE; in test_with_caps() 119 if (wait_time > waited_for_block) { in test_with_caps() 120 g_usleep ((wait_time - waited_for_block) / GST_MSECOND); in test_with_caps() 123 time_run += wait_time; in test_with_caps()
|
/third_party/NuttX/fs/vfs/ |
D | fs_poll.c | 454 struct timespec wait_time; in poll() local 470 wait_time.tv_sec = millisecs_left / MSEC_PER_SEC; in poll() 471 wait_time.tv_nsec = (millisecs_left - MSEC_PER_SEC * wait_time.tv_sec) * NSEC_PER_MSEC; in poll() 473 ret = wait_sem_time(wait_table.wait, &wait_time); in poll()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | gas_server.c | 51 unsigned int wait_time); 264 unsigned int wait_time = 0; in gas_server_handle_rx_comeback_req() local 326 wait_time = 2000; in gas_server_handle_rx_comeback_req() 329 gas->tx(gas->ctx, response->freq, response->dst, resp, wait_time); in gas_server_handle_rx_comeback_req() 511 unsigned int wait_time)) in gas_server_init() argument
|
/third_party/gstreamer/gstplugins_bad/sys/decklink/ |
D | gstdecklinkaudiosink.cpp | 714 GstClockTime wait_time = running_time; in gst_decklink_audio_sink_render() local 721 if (wait_time < self->buffer_time) in gst_decklink_audio_sink_render() 722 wait_time = 0; in gst_decklink_audio_sink_render() 724 wait_time -= self->buffer_time; in gst_decklink_audio_sink_render() 733 gst_base_sink_wait_clock (GST_BASE_SINK_CAST (self), wait_time, NULL); in gst_decklink_audio_sink_render()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | gas_server.h | 20 unsigned int wait_time));
|