/third_party/libwebsockets/include/libwebsockets/ |
D | lws-timeout-timer.h | 114 lws_set_timeout_us(struct lws *wsi, enum pending_timeout reason, lws_usec_t us); 120 #define LWS_SET_TIMER_USEC_CANCEL ((lws_usec_t)-1ll) 121 #define LWS_USEC_PER_SEC ((lws_usec_t)1000000) 151 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs); 159 lws_usec_t us; 224 lws_sul_earliest_wakeable_event(struct lws_context *ctx, lws_usec_t *pearliest); 235 sul_cb_t _cb, lws_usec_t _us); 239 lws_usec_t _us); 301 LWS_VISIBLE LWS_EXTERN lws_usec_t 302 __lws_sul_service_ripe(lws_dll2_owner_t *own, int own_len, lws_usec_t usnow);
|
D | lws-metrics.h | 160 lws_usec_t us_first; 162 lws_usec_t us_last; 164 lws_usec_t us_dumped; 221 lws_usec_t us_start;
|
D | lws-cache-ttl.h | 77 size_t size, lws_usec_t expiry, void **ppay); 81 lws_usec_t expiry; 270 const uint8_t *source, size_t size, lws_usec_t expiry,
|
D | lws-sequencer.h | 193 lws_seq_timeout_us(struct lws_sequencer *seq, lws_usec_t us); 220 LWS_VISIBLE LWS_EXTERN lws_usec_t
|
D | lws-netdev.h | 58 int (*event)(struct lws_netdev_instance *nd, lws_usec_t timestamp, 246 lws_netdev_wifi_event_plat(struct lws_netdev_instance *nd, lws_usec_t timestamp,
|
D | lws-system.h | 165 int (*set_clock)(lws_usec_t us); 374 lws_system_cpd_start_defer(struct lws_context *cx, lws_usec_t defer_us);
|
/third_party/libwebsockets/lib/core-net/ |
D | sorted-usec-list.c | 30 lws_usec_t a = ((lws_sorted_usec_list_t *)d)->us; in sul_compare() 31 lws_usec_t b = ((lws_sorted_usec_list_t *)i)->us; in sul_compare() 99 lws_usec_t 100 __lws_sul_service_ripe(lws_dll2_owner_t *own, int own_len, lws_usec_t usnow) in __lws_sul_service_ripe() 125 lws_usec_t lowest = 0; in __lws_sul_service_ripe() 181 lws_usec_t 236 lws_sul_earliest_wakeable_event(struct lws_context *ctx, lws_usec_t *pearliest) in lws_sul_earliest_wakeable_event() 240 lws_usec_t lowest = 0; in lws_sul_earliest_wakeable_event() 273 sul_cb_t _cb, lws_usec_t _us) in lws_sul_schedule() 281 if (_us == (lws_usec_t)LWS_SET_TIMER_USEC_CANCEL) in lws_sul_schedule() [all …]
|
D | private-lib-core-net.h | 56 (sul)->us = lws_now_usecs() + (lws_usec_t)(_us); \ 241 lws_usec_t 242 __lws_sul_service_ripe(lws_dll2_owner_t *own, int num_own, lws_usec_t usnow); 726 lws_usec_t conmon_datum; 913 lws_usec_t created; /* set by lws_spawn_piped() */ 914 lws_usec_t reaped; 916 lws_usec_t accounting[4]; 1208 lws_usec_t 1209 __lws_seq_timeout_check(struct lws_context_per_thread *pt, lws_usec_t usnow); 1211 lws_usec_t [all …]
|
D | sequencer.c | 53 lws_usec_t time_created; 54 lws_usec_t timeout; /* 0 or time we timeout */ 302 lws_seq_timeout_us(lws_seq_t *seq, lws_usec_t us) in lws_seq_timeout_us() 324 lws_usec_t
|
D | wsi-timeout.c | 55 __lws_set_timer_usecs(struct lws *wsi, lws_usec_t us) in __lws_set_timer_usecs() 65 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs) in lws_set_timer_usecs() 132 ((lws_usec_t)secs) * LWS_US_PER_SEC); in __lws_set_timeout() 176 lws_set_timeout_us(struct lws *wsi, enum pending_timeout reason, lws_usec_t us) in lws_set_timeout_us()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-misc.c | 42 lws_usec_t 51 return (((lws_usec_t)ts.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs() 52 ((lws_usec_t)ts.tv_nsec / LWS_NS_PER_US); in lws_now_usecs() 57 return (((lws_usec_t)now.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs() 58 (lws_usec_t)now.tv_usec; in lws_now_usecs()
|
D | unix-service.c | 77 lws_usec_t timeout_us, us; in _lws_plat_service_tsi() 79 lws_usec_t a, b; in _lws_plat_service_tsi() 104 timeout_us = ((lws_usec_t)timeout_ms) * LWS_US_PER_MS; in _lws_plat_service_tsi()
|
D | unix-spawn.c | 224 lsp->accounting[0] = (lws_usec_t)((uint64_t)tms.tms_cstime * 1000000) / hz; in lws_spawn_reap() 225 lsp->accounting[1] = (lws_usec_t)((uint64_t)tms.tms_cutime * 1000000) / hz; in lws_spawn_reap() 226 lsp->accounting[2] = (lws_usec_t)((uint64_t)tms.tms_stime * 1000000) / hz; in lws_spawn_reap() 227 lsp->accounting[3] = (lws_usec_t)((uint64_t)tms.tms_utime * 1000000) / hz; in lws_spawn_reap()
|
/third_party/libwebsockets/lib/misc/cache-ttl/ |
D | private-lib-misc-cache-ttl.h | 45 lws_usec_t expiry; 91 lws_usec_t earliest_expiry; 98 lws_cache_schedule(struct lws_cache_ttl_lru *cache, sul_cb_t cb, lws_usec_t e);
|
D | file.c | 360 lws_usec_t *pexpiry) in nsc_line_to_tag() 363 lws_usec_t expiry = 0; in nsc_line_to_tag() 382 expiry = (lws_usec_t)((unsigned long long)atoll(col) * in nsc_line_to_tag() 383 (lws_usec_t)LWS_US_PER_SEC); in nsc_line_to_tag() 431 lws_usec_t expiry; in nsc_lookup_cb() 531 lws_usec_t curr; 545 lws_usec_t expiry; in nsc_regen_cb() 703 size_t size, lws_usec_t expiry, void **ppvoid) in lws_cache_nscookiejar_write() 733 lws_usec_t expiry;
|
D | lws-cache-ttl.c | 46 lws_cache_schedule(struct lws_cache_ttl_lru *cache, sul_cb_t cb, lws_usec_t e) in lws_cache_schedule() 58 size_t size, lws_usec_t expiry, void **ppay) in lws_cache_write_through() 96 lws_usec_t expiry = 0; in lws_cache_lookup()
|
D | heap.c | 175 lws_usec_t now = lws_now_usecs(); in expiry_cb() 197 earliest_expiry(lws_cache_ttl_lru_t_heap_t *cache, lws_usec_t *pearliest) in earliest_expiry() 215 lws_usec_t earliest; in update_sul() 323 const uint8_t *source, size_t size, lws_usec_t expiry, in lws_cache_heap_write()
|
/third_party/libwebsockets/lib/misc/threadpool/ |
D | threadpool.c | 53 lws_usec_t created; 54 lws_usec_t acquired; 55 lws_usec_t done; 56 lws_usec_t entered_state; 58 lws_usec_t acc_running; 59 lws_usec_t acc_syncing; 76 lws_usec_t acquired; 103 ms_delta(lws_usec_t now, lws_usec_t then) in ms_delta() 109 us_accrue(lws_usec_t *acc, lws_usec_t then) in us_accrue() 111 lws_usec_t now = lws_now_usecs(); in us_accrue() [all …]
|
/third_party/libwebsockets/lib/roles/http/ |
D | date.c | 159 lws_http_check_retry_after(struct lws *wsi, lws_usec_t *us_interval_in_out) in lws_http_check_retry_after() 163 lws_usec_t u; in lws_http_check_retry_after() 179 u = ((lws_usec_t)(time_t)atoi(p)) * LWS_USEC_PER_SEC; in lws_http_check_retry_after() 207 u = ((lws_usec_t)(t - td)) * LWS_USEC_PER_SEC; in lws_http_check_retry_after()
|
/third_party/libwebsockets/include/ |
D | libwebsockets.h | 58 #define LWS_US_PER_SEC ((lws_usec_t)1000000) 59 #define LWS_MS_PER_SEC ((lws_usec_t)1000) 60 #define LWS_US_PER_MS ((lws_usec_t)1000) 61 #define LWS_NS_PER_US ((lws_usec_t)1000) 557 typedef int64_t lws_usec_t; typedef
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-service.c | 64 lws_usec_t timeout_us; in _lws_plat_service_tsi() 92 timeout_us = ((lws_usec_t)timeout_ms) * LWS_US_PER_MS; in _lws_plat_service_tsi() 128 lws_usec_t us; in _lws_plat_service_tsi()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_smd/ |
D | main.c | 33 smd_cb1int(void *opaque, lws_smd_class_t _class, lws_usec_t timestamp, in smd_cb1int() 47 smd_cb2int(void *opaque, lws_smd_class_t _class, lws_usec_t timestamp, in smd_cb2int() 66 smd_cb3int(void *opaque, lws_smd_class_t _class, lws_usec_t timestamp, in smd_cb3int()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-service.c | 45 lws_usec_t timeout_us; in _lws_plat_service_tsi() 88 timeout_us = ((lws_usec_t)timeout_ms) * LWS_US_PER_MS; in _lws_plat_service_tsi() 115 lws_usec_t us; in _lws_plat_service_tsi()
|
/third_party/libwebsockets/lib/secure-streams/ |
D | private-lib-secure-streams.h | 332 lws_usec_t us_earliest_write_req; 333 lws_usec_t us_start_upstream; 460 _lws_ss_backoff(lws_ss_handle_t *h, lws_usec_t us_override); 470 lws_ss_set_timeout_us(lws_ss_handle_t *h, lws_usec_t us);
|
/third_party/libwebsockets/lib/plat/optee/ |
D | network.c | 92 lws_usec_t timeout_us = timeout_ms * LWS_US_PER_MS; in _lws_plat_service_tsi() 127 lws_usec_t us; in _lws_plat_service_tsi()
|