Home
last modified time | relevance | path

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

12

/external/libwebsockets/lib/plat/unix/
Dunix-misc.c39 return (((lws_usec_t)ts.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs()
45 return (((lws_usec_t)now.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs()
Dunix-init.c78 __lws_sul_insert(&pt->pt_sul_owner, &pt->sul_plat, 30 * LWS_US_PER_SEC); in lws_sul_plat_unix()
145 30 * LWS_US_PER_SEC); in lws_plat_init()
/external/libwebsockets/lib/roles/cgi/
Dops-cgi.c96 3 * LWS_US_PER_SEC); in lws_cgi_sul_cb()
109 3 * LWS_US_PER_SEC); in rops_pt_init_destroy_cgi()
/external/libwebsockets/lib/core-net/
Dwsi-timeout.c130 ((lws_usec_t)secs) * LWS_US_PER_SEC); in __lws_set_timeout()
276 ((lws_usec_t)secs) * LWS_US_PER_SEC); in lws_timed_callback_vh_protocol()
313 rbo->secs_since_valid_ping) * LWS_US_PER_SEC); in lws_validity_cb()
345 rbo->secs_since_valid_ping)) * LWS_US_PER_SEC); in _lws_validity_confirmed_role()
Dsequencer.c81 LWS_US_PER_SEC); in lws_sul_seq_heartbeat_cb()
91 LWS_US_PER_SEC); in lws_seq_pt_init()
Dserver.c232 LWS_US_PER_SEC, in lws_json_dump_context()
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c37 tv.tv_sec = us / LWS_US_PER_SEC; in lws_event_hrtimer_cb()
38 tv.tv_usec = us - (tv.tv_sec * LWS_US_PER_SEC); in lws_event_hrtimer_cb()
81 tv.tv_sec = us / LWS_US_PER_SEC; in lws_event_idle_timer_cb()
82 tv.tv_usec = us - (tv.tv_sec * LWS_US_PER_SEC); in lws_event_idle_timer_cb()
/external/libwebsockets/lib/plat/freertos/
Dfreertos-service.c123 struct timeval tv = { timeout_us / LWS_US_PER_SEC, in _lws_plat_service_tsi()
124 timeout_us % LWS_US_PER_SEC }, *ptv = &tv; in _lws_plat_service_tsi()
/external/libwebsockets/lwsws/
Dmain.c128 lws_sul_schedule(context, 0, &sul_lwsws, lwsws_min, 60 * LWS_US_PER_SEC); in lwsws_min()
182 lws_sul_schedule(context, 0, &sul_lwsws, lwsws_min, 60 * LWS_US_PER_SEC); in context_creation()
/external/libwebsockets/lib/core/
Dlibwebsockets.c1124 { "y ", (uint64_t)365 * 24 * 3600 * LWS_US_PER_SEC },
1125 { "d ", (uint64_t)24 * 3600 * LWS_US_PER_SEC },
1126 { "hr ", (uint64_t)3600 * LWS_US_PER_SEC },
1127 { "min", 60 * LWS_US_PER_SEC },
1128 { "s ", LWS_US_PER_SEC },
Dcontext.c60 __lws_sul_insert(&pt->pt_sul_owner, &pt->sul_stats, 10 * LWS_US_PER_SEC); in lws_sul_stats_cb()
72 __lws_sul_insert(&pt->pt_sul_owner, &pt->sul_peer_limits, 10 * LWS_US_PER_SEC); in lws_sul_peer_limits_cb()
697 10 * LWS_US_PER_SEC); in lws_create_context()
702 &context->pt[0].sul_peer_limits, 10 * LWS_US_PER_SEC); in lws_create_context()
/external/libwebsockets/lib/roles/mqtt/
Dprivate-lib-roles-mqtt.h48 #define LWS_MQTT_RESPONSE_TIMEOUT (3 * LWS_US_PER_SEC)
49 #define LWS_MQTT_RETRY_CEILING (60 * LWS_US_PER_SEC)
/external/libwebsockets/lib/tls/
Dtls-server.c38 (lws_usec_t)24 * 3600 * LWS_US_PER_SEC); in lws_sul_tls_cb()
119 (lws_usec_t)24 * 3600 * LWS_US_PER_SEC); in lws_context_init_server_ssl()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c50 60 * LWS_US_PER_SEC); in sul_cb()
/external/libwebsockets/lib/misc/
Dspawn.c155 5 * LWS_US_PER_SEC); in lws_spawn_reap()
395 300 * LWS_US_PER_SEC); in lws_spawn_piped()
/external/libwebsockets/lib/roles/dbus/
Ddbus.c495 3 * LWS_US_PER_SEC); in lws_dbus_sul_cb()
508 3 * LWS_US_PER_SEC); in rops_pt_init_destroy_dbus()
/external/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c56 lws_sspc_sul_retry_cb, LWS_US_PER_SEC); in lws_sspc_sul_retry_cb()
121 lws_sspc_sul_retry_cb, LWS_US_PER_SEC); in callback_sspc_client()
/external/libwebsockets/lib/secure-streams/system/auth-api.amazon.com/
Dauth.c101 (uint64_t)m->expires_secs * LWS_US_PER_SEC); in auth_api_amazon_com_parser_cb()
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/
Dmain.c226 lws_seq_timeout_us(lws_seq_from_user(s), 3 * LWS_US_PER_SEC); in sequencer_start_client()
/external/libwebsockets/include/
Dlibwebsockets.h53 #define LWS_US_PER_SEC ((lws_usec_t)1000000) macro
/external/libwebsockets/lib/abstract/transports/
Dunit-test.c385 LWS_US_PER_SEC); in lws_atcut_client_conn()
/external/libwebsockets/lib/system/async-dns/
Dasync-dns-parse.c679 (adst.smallest_ttl * LWS_US_PER_SEC)); in lws_adns_parse_udp()
Dasync-dns.c626 lws_now_usecs() + (3600ll * LWS_US_PER_SEC)); in lws_async_dns_query()
/external/libwebsockets/lib/roles/h1/
Dops-h1.c1133 30 * LWS_US_PER_SEC); in rops_pt_init_destroy_h1()
/external/libwebsockets/lib/roles/h2/
Dops-h2.c562 30 * LWS_US_PER_SEC); in rops_pt_init_destroy_h2()

12