Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/tests/net/socket/select/src/
Dmain.c79 struct timeval tval; in ZTEST_USER() local
95 tval.tv_sec = tval.tv_usec = 0; in ZTEST_USER()
97 res = zsock_select(s_sock + 1, &readfds, NULL, NULL, &tval); in ZTEST_USER()
112 tval.tv_sec = 0; in ZTEST_USER()
113 tval.tv_usec = TIMEOUT_MS * 1000; in ZTEST_USER()
115 res = zsock_select(s_sock + 1, &readfds, NULL, NULL, &tval); in ZTEST_USER()
127 tval.tv_sec = 0; in ZTEST_USER()
128 tval.tv_usec = TIMEOUT_MS * 1000; in ZTEST_USER()
130 res = zsock_select(s_sock + 1, &readfds, NULL, NULL, &tval); in ZTEST_USER()
145 tval.tv_sec = tval.tv_usec = 0; in ZTEST_USER()
[all …]
/Zephyr-Core-3.7.0/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/
Dcyabs_rtos_zephyr.c874 cy_rslt_t cy_rtos_get_time(cy_time_t *tval) in cy_rtos_get_time() argument
878 if (tval == NULL) { in cy_rtos_get_time()
882 *tval = k_uptime_get_32(); in cy_rtos_get_time()
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/
Dsockets_tls.c3523 const struct zsock_timeval *tval = optval; in set_timeout_opt() local
3529 if (tval->tv_sec == 0 && tval->tv_usec == 0) { in set_timeout_opt()
3532 *timeout = K_USEC(tval->tv_sec * 1000000ULL + tval->tv_usec); in set_timeout_opt()