Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-latest/components/newlib/
Dtime.c155 struct timeval tv = {0, 0}; in _times_r() local
156 _gettimeofday_r(r, &tv, NULL); in _times_r()
157 return (clock_t) tv.tv_sec; in _times_r()
160 int IRAM_ATTR _gettimeofday_r(struct _reent *r, struct timeval *tv, void *tz) in _gettimeofday_r() argument
165 if (tv) { in _gettimeofday_r()
167 tv->tv_sec = microseconds / 1000000; in _gettimeofday_r()
168 tv->tv_usec = microseconds % 1000000; in _gettimeofday_r()
177 int settimeofday(const struct timeval *tv, const struct timezone *tz) in settimeofday() argument
181 if (tv) { in settimeofday()
183 uint64_t now = ((uint64_t) tv->tv_sec) * 1000000LL + tv->tv_usec; in settimeofday()
[all …]
Dpoll.c15 struct timeval tv = { in poll() local
63 …const int select_ret = select(max_fd + 1, &readfds, &writefds, &errorfds, timeout < 0 ? NULL: &tv); in poll()
/hal_espressif-latest/components/mbedtls/port/
Desp_platform_time.c14 struct timespec tv = {}; in mbedtls_ms_time() local
17 ret = clock_gettime(CLOCK_MONOTONIC, &tv); in mbedtls_ms_time()
22 current_ms = tv.tv_sec; in mbedtls_ms_time()
23 return current_ms * 1000L + tv.tv_nsec / 1000000L; in mbedtls_ms_time()
Dnet_sockets.c333 struct timeval tv; in mbedtls_net_usleep() local
334 tv.tv_sec = usec / 1000000; in mbedtls_net_usleep()
335 tv.tv_usec = usec % 1000000; in mbedtls_net_usleep()
336 select( 0, NULL, NULL, NULL, &tv ); in mbedtls_net_usleep()
379 struct timeval tv; in mbedtls_net_recv_timeout() local
390 tv.tv_sec = timeout / 1000; in mbedtls_net_recv_timeout()
391 tv.tv_usec = ( timeout % 1000 ) * 1000; in mbedtls_net_recv_timeout()
393 ret = select( fd + 1, &read_fds, NULL, NULL, timeout == 0 ? NULL : &tv ); in mbedtls_net_recv_timeout()
/hal_espressif-latest/components/wpa_supplicant/port/
Dos_xtensa.c35 struct timeval tv; in os_get_time() local
36 int ret = gettimeofday(&tv, NULL); in os_get_time()
37 t->sec = (os_time_t) tv.tv_sec; in os_get_time()
38 t->usec = tv.tv_usec; in os_get_time()
Deloop.c331 struct os_reltime tv, now; in eloop_run() local
343 os_reltime_sub(&timeout->time, &now, &tv); in eloop_run()
344 ms = tv.sec * 1000 + tv.usec / 1000; in eloop_run()
/hal_espressif-latest/components/log/
Dlog_freertos.c80 struct timeval tv; in esp_log_system_timestamp() local
83 gettimeofday(&tv, NULL); in esp_log_system_timestamp()
84 localtime_r(&tv.tv_sec, &timeinfo); in esp_log_system_timestamp()
92 tv.tv_usec / 1000); in esp_log_system_timestamp()
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dwpa_debug.c76 struct os_time tv; in wpa_debug_print_timestamp() local
77 os_get_time(&tv); in wpa_debug_print_timestamp()
78 wpa_printf(MSG_DEBUG, "%ld.%06u: ", (long) tv.sec, (unsigned int) tv.usec); in wpa_debug_print_timestamp()
/hal_espressif-latest/components/newlib/port/
Desp_time_impl.c128 struct timeval tv; in esp_sync_timekeeping_timers() local
129 gettimeofday(&tv, NULL); in esp_sync_timekeeping_timers()
130 settimeofday(&tv, NULL); in esp_sync_timekeeping_timers()
/hal_espressif-latest/components/esp_netif/include/
Desp_netif_sntp.h33 typedef void (*esp_sntp_time_cb_t)(struct timeval *tv);
/hal_espressif-latest/components/esp_netif/lwip/
Desp_netif_sntp.c33 static void sync_time_cb(struct timeval *tv) in sync_time_cb() argument
39 s_storage->sync_cb(tv); in sync_time_cb()
/hal_espressif-latest/components/mbedtls/esp_crt_bundle/
Dcacrt_all.pem582 NetLock Arany (Class Gold) Főtanúsítvány