Home
last modified time | relevance | path

Searched refs:LWS_US_PER_SEC (Results 1 – 25 of 51) sorted by relevance

123

/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail/
Dminimal-secure-streams-testsfail.c445 "t_h1", 5 * LWS_US_PER_SEC, LWSSSCS_QOS_ACK_REMOTE,
452 "t_h1_tls", 5 * LWS_US_PER_SEC, LWSSSCS_QOS_ACK_REMOTE,
459 "t_h2_tls", 5 * LWS_US_PER_SEC, LWSSSCS_QOS_ACK_REMOTE,
473 "d_h1", 5 * LWS_US_PER_SEC, LWSSSCS_TIMEOUT,
480 "d_h1_tls", 5 * LWS_US_PER_SEC, LWSSSCS_TIMEOUT,
487 "d_h2_tls", 5 * LWS_US_PER_SEC, LWSSSCS_TIMEOUT,
500 "nxd_h1", 65 * LWS_US_PER_SEC, LWSSSCS_UNREACHABLE,
507 "nxd_h1_tls", 35 * LWS_US_PER_SEC, LWSSSCS_UNREACHABLE,
514 "nxd_h2_tls", 35 * LWS_US_PER_SEC, LWSSSCS_UNREACHABLE,
529 "nxd_h1", 65 * LWS_US_PER_SEC, LWSSSCS_ALL_RETRIES_FAILED,
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_cache/
Dmain.c42 lws_now_usecs() + LWS_US_PER_SEC, NULL)) in test_just_l1()
46 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) in test_just_l1()
127 lws_now_usecs() + LWS_US_PER_SEC, NULL)) in test_just_l1_limits()
131 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) in test_just_l1_limits()
213 lws_now_usecs() + LWS_US_PER_SEC, NULL)) { in test_nsc1()
223 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) { in test_nsc1()
233 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) { in test_nsc1()
414 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) { in test_nsc1()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c44 tv.tv_sec = (int)(us / LWS_US_PER_SEC); in lws_event_hrtimer_cb()
45 tv.tv_usec = (int)(us - (tv.tv_sec * LWS_US_PER_SEC)); in lws_event_hrtimer_cb()
47 tv.tv_sec = (long)(us / LWS_US_PER_SEC); in lws_event_hrtimer_cb()
48 tv.tv_usec = (long)(us - (tv.tv_sec * LWS_US_PER_SEC)); in lws_event_hrtimer_cb()
92 tv.tv_sec = (suseconds_t)(us / LWS_US_PER_SEC); in lws_event_idle_timer_cb()
93 tv.tv_usec = (suseconds_t)(us - (tv.tv_sec * LWS_US_PER_SEC)); in lws_event_idle_timer_cb()
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/
Dprotocol_lws_minimal.c85 sul_connect_attempt, 10 * LWS_US_PER_SEC); in sul_connect_attempt()
178 sul_connect_attempt, LWS_US_PER_SEC); in callback_minimal()
223 sul_connect_attempt, LWS_US_PER_SEC); in callback_minimal()
/third_party/libwebsockets/lib/plat/unix/
Dunix-misc.c51 return (((lws_usec_t)ts.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs()
57 return (((lws_usec_t)now.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs()
Dunix-init.c81 &pt->sul_plat, 30 * LWS_US_PER_SEC); in lws_sul_plat_unix()
207 &context->pt[0].sul_plat, 30 * LWS_US_PER_SEC); in lws_plat_init()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/
Dprotocol_lws_minimal_pmd_bulk.c105 sul_connect_attempt, 10 * LWS_US_PER_SEC); in sul_connect_attempt()
259 sul_connect_attempt, LWS_US_PER_SEC); in callback_minimal_pmd_bulk()
265 sul_connect_attempt, LWS_US_PER_SEC); in callback_minimal_pmd_bulk()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-binance/
Dmain.c67 return (uint64_t)((lws_usec_t)tv.tv_sec * LWS_US_PER_SEC) + in get_us_timeofday()
94 sul_hz_cb, LWS_US_PER_SEC); in sul_hz_cb()
184 sul_hz_cb, LWS_US_PER_SEC); in binance_state()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-binance/
Dmain.c170 return (uint64_t)((lws_usec_t)tv.tv_sec * LWS_US_PER_SEC) + (uint64_t)tv.tv_usec; in get_us_timeofday()
183 sul_hz_cb, LWS_US_PER_SEC); in sul_hz_cb()
292 sul_hz_cb, LWS_US_PER_SEC); in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/
Dminimal-ws-client.c154 sul_connect_attempt, 10 * LWS_US_PER_SEC); in sul_connect_attempt()
220 sul_connect_attempt, LWS_US_PER_SEC); in callback_minimal_broker()
260 sul_connect_attempt, LWS_US_PER_SEC); in callback_minimal_broker()
/third_party/libwebsockets/lib/core-net/
Dwsi-timeout.c132 ((lws_usec_t)secs) * LWS_US_PER_SEC); in __lws_set_timeout()
240 rbo->secs_since_valid_ping) * LWS_US_PER_SEC); in lws_validity_cb()
272 rbo->secs_since_valid_ping)) * LWS_US_PER_SEC); in _lws_validity_confirmed_role()
Dsequencer.c82 &pt->sul_seq_heartbeat, LWS_US_PER_SEC); in lws_sul_seq_heartbeat_cb()
92 &pt->sul_seq_heartbeat, LWS_US_PER_SEC); in lws_seq_pt_init()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c150 sul_tp_dump, LWS_US_PER_SEC); in sul_tp_dump()
203 sul_tp_dump, LWS_US_PER_SEC); in callback_minimal()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-service.c131 struct timeval tv = { timeout_us / LWS_US_PER_SEC, in _lws_plat_service_tsi()
132 timeout_us % LWS_US_PER_SEC }, *ptv = &tv; in _lws_plat_service_tsi()
/third_party/libwebsockets/lwsws/
Dmain.c131 lws_sul_schedule(context, 0, &sul_lwsws, lwsws_min, 60 * LWS_US_PER_SEC); in lwsws_min()
188 lws_sul_schedule(context, 0, &sul_lwsws, lwsws_min, 60 * LWS_US_PER_SEC); in context_creation()
/third_party/libwebsockets/lib/tls/
Dtls-server.c39 (lws_usec_t)24 * 3600 * LWS_US_PER_SEC); in lws_sul_tls_cb()
121 (lws_usec_t)24 * 3600 * LWS_US_PER_SEC); in lws_context_init_server_ssl()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-async-dns/
Dmain.c251 lws_sul_schedule(context, 0, &sul_l, sul_retry_l, 5 * LWS_US_PER_SEC); in sul_retry_l()
287 lws_sul_schedule(context, 0, &sul_l, sul_retry_l, LWS_US_PER_SEC); in main()
/third_party/libwebsockets/lib/roles/mqtt/
Dprivate-lib-roles-mqtt.h46 #define LWS_MQTT_RESPONSE_TIMEOUT (3 * LWS_US_PER_SEC)
47 #define LWS_MQTT_RETRY_CEILING (60 * LWS_US_PER_SEC)
/third_party/libwebsockets/lib/misc/
Dpeer-limits.c59 lws_sul_peer_limits_cb, 10 * LWS_US_PER_SEC); in lws_sul_peer_limits_cb()
74 lws_sul_peer_limits_cb, 10 * LWS_US_PER_SEC); in __lws_peer_add_to_peer_wait_list()
/third_party/libwebsockets/lib/secure-streams/system/captive-portal-detect/
Dcaptive-portal-detect.c49 lws_ss_start_timeout(m->ss, 3 * LWS_US_PER_SEC); in ss_cpd_state()
/third_party/libwebsockets/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/
Dminimal-dbus-ws-proxy-testclient.c362 lws_sul_schedule(context, 0, &dbus_ctx->sul, sul_timer, 2 * LWS_US_PER_SEC); in sul_timer()
408 lws_sul_schedule(context, 0, &dbus_ctx->sul, sul_timer, LWS_US_PER_SEC); in main()
/third_party/libwebsockets/lib/core/
Dlibwebsockets.c1469 { "y", (uint64_t)365 * 24 * 3600 * LWS_US_PER_SEC },
1470 { "d", (uint64_t)24 * 3600 * LWS_US_PER_SEC },
1471 { "hr", (uint64_t)3600 * LWS_US_PER_SEC },
1472 { "min", 60 * LWS_US_PER_SEC },
1473 { "s", LWS_US_PER_SEC },
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
Dmulti.c207 sul_multi_tx_periodic_cb, 2 * LWS_US_PER_SEC); in multi_myss_state()
405 10 * LWS_US_PER_SEC); in smd_ss_multi_test()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c50 60 * LWS_US_PER_SEC); in sul_cb()
/third_party/libwebsockets/lib/roles/cgi/
Dops-cgi.c115 &pt->sul_cgi, lws_cgi_sul_cb, 3 * LWS_US_PER_SEC); in lws_cgi_sul_cb()

123