Home
last modified time | relevance | path

Searched refs:wait_time (Results 1 - 25 of 42) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
H A D6-1.c111 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/
H A Ddpp_supplicant.c116 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()
266 "DPP: Reply wait timeout - wait_time=%u diff_ms=%u", in wpas_dpp_reply_wait_timeout()
267 wait_time, diff_m in wpas_dpp_reply_wait_timeout()
349 unsigned int wait_time, max_wait_time, freq, max_tries, used; wpas_dpp_auth_init_next() local
1586 unsigned int wait_time; wpas_dpp_rx_pkex_exchange_req() local
1636 unsigned int wait_time; wpas_dpp_rx_pkex_exchange_resp() local
1695 unsigned int wait_time; wpas_dpp_rx_pkex_commit_reveal_req() local
2009 unsigned int wait_time; wpas_dpp_check_connect() local
2125 unsigned int wait_time; wpas_dpp_pkex_add() local
[all...]
H A Doffchannel.c248 * @wait_time: Wait time for response in milliseconds
256 * channel. The @wait_time parameter can be used to request the driver to remain
261 const u8 *buf, size_t len, unsigned int wait_time, in offchannel_send_action()
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 in offchannel_send_action()
259 offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *buf, size_t len, unsigned int wait_time, void (*tx_cb)(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, enum offchannel_send_action_result result), int no_cck) offchannel_send_action() argument
[all...]
H A Dgas_query.c286 struct wpabuf *req, unsigned int wait_time) in gas_query_tx()
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()
285 gas_query_tx(struct gas_query *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) gas_query_tx() argument
H A Doffchannel.h15 const u8 *buf, size_t len, unsigned int wait_time,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Doffchannel.c250 * @wait_time: Wait time for response in milliseconds
258 * channel. The @wait_time parameter can be used to request the driver to remain
263 const u8 *buf, size_t len, unsigned int wait_time, in offchannel_send_action()
314 wpa_s->action_tx_wait_time = wait_time; in offchannel_send_action()
315 if (wait_time) in offchannel_send_action()
320 wait_time, wpa_s->pending_action_dst, in offchannel_send_action()
363 if (wait_time > wpa_s->max_remain_on_chan) in offchannel_send_action()
364 wait_time = wpa_s->max_remain_on_chan; in offchannel_send_action()
365 else if (wait_time == 0) in offchannel_send_action()
366 wait_time in offchannel_send_action()
261 offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *buf, size_t len, unsigned int wait_time, void (*tx_cb)(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, enum offchannel_send_action_result result), int no_cck) offchannel_send_action() argument
[all...]
H A Ddpp_supplicant.c214 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()
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_m in wpas_dpp_reply_wait_timeout() local
262 wpas_dpp_stop_listen_for_tx(struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int wait_time) wpas_dpp_stop_listen_for_tx() argument
661 unsigned int wait_time, max_wait_time, freq, max_tries, used; wpas_dpp_auth_init_next() local
2137 unsigned int wait_time, max_wait_time; wpas_dpp_rx_reconfig_announcement() local
2654 unsigned int wait_time; wpas_dpp_rx_pkex_exchange_req() local
2704 unsigned int wait_time; wpas_dpp_rx_pkex_exchange_resp() local
2763 unsigned int wait_time; wpas_dpp_rx_pkex_commit_reveal_req() local
3131 unsigned int wait_time; wpas_dpp_check_connect() local
3281 unsigned int wait_time; wpas_dpp_pkex_add() local
[all...]
H A Dgas_query.c277 struct wpabuf *req, unsigned int wait_time) in gas_query_tx()
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()
276 gas_query_tx(struct gas_query *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) gas_query_tx() argument
H A Doffchannel.h15 const u8 *buf, size_t len, unsigned int wait_time,
/third_party/mesa3d/.gitlab-ci/tests/
H A Dtest_lava_job_submitter.py39 wait_time = kwargs.pop("wait_time", 1)
43 proxy_job_state.side_effect = frozen_time.tick(wait_time)
208 @pytest.mark.parametrize("wait_time", (DEVICE_HANGING_TIMEOUT_SEC * 2,))
216 wait_time,
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/src/ap/
H A Ddpp_hostapd.c89 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()
226 "DPP: Reply wait timeout - wait_time=%u diff_ms=%u", in hostapd_dpp_reply_wait_timeout()
227 wait_time, diff_m in hostapd_dpp_reply_wait_timeout()
314 unsigned int wait_time, max_wait_time, freq, max_tries, used; hostapd_dpp_auth_init_next() local
[all...]
H A Daccounting.c464 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()
H A Dgas_query_ap.c260 struct wpabuf *req, unsigned int wait_time) in gas_query_tx()
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()
258 gas_query_tx(struct gas_query_ap *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) gas_query_tx() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Ddpp_hostapd.c186 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()
340 "DPP: Reply wait timeout - wait_time=%u diff_ms=%u", in hostapd_dpp_reply_wait_timeout()
341 wait_time, diff_m in hostapd_dpp_reply_wait_timeout()
447 unsigned int wait_time, max_wait_time, freq, max_tries, used; hostapd_dpp_auth_init_next() local
1349 unsigned int wait_time, max_wait_time; hostapd_dpp_rx_reconfig_announcement() local
[all...]
H A Daccounting.c464 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()
H A Dgas_query_ap.c260 struct wpabuf *req, unsigned int wait_time) in gas_query_tx()
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()
258 gas_query_tx(struct gas_query_ap *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) gas_query_tx() argument
/third_party/NuttX/fs/vfs/
H A Dfs_poll.c454 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/src/p2p/
H A Dp2p_dev_disc.c71 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()
H A Dp2p_sd.c278 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 in p2p_rx_gas_comeback_req()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A Dp2p_dev_disc.c71 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()
H A Dp2p_sd.c278 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 in p2p_rx_gas_comeback_req()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dgas_server.c51 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()
507 gas_server_init(void *ctx, void (*tx)(void *ctx, int freq, const u8 *da, struct wpabuf *buf, unsigned int wait_time)) gas_server_init() argument
H A Dgas_server.h21 unsigned int wait_time));
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dgas_server.h20 unsigned int wait_time));
H A Dgas_server.c48 unsigned int wait_time);
422 unsigned int wait_time)) in gas_server_init()
418 gas_server_init(void *ctx, void (*tx)(void *ctx, int freq, const u8 *da, struct wpabuf *buf, unsigned int wait_time)) gas_server_init() argument

Completed in 20 milliseconds

12