| /components/drivers/rtc/ |
| A D | dev_soft_rtc.c | 122 tv->tv_usec = init_tv.tv_usec + _tv.tv_usec; in soft_rtc_control() 131 init_tv.tv_usec = tv->tv_usec - _tv.tv_usec; in soft_rtc_control() 165 … tv->tv_usec = init_tv.tv_usec + ((tick % RT_TICK_PER_SECOND) * (1000000 / RT_TICK_PER_SECOND)); in soft_rtc_control() 173 … init_tv.tv_usec = tv->tv_usec - ((tick % RT_TICK_PER_SECOND) * (1000000 / RT_TICK_PER_SECOND)); in soft_rtc_control()
|
| /components/lwp/terminal/ |
| A D | bsd_porting.h | 513 #define timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) 514 #define timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 516 (((tvp)->tv_sec == (uvp)->tv_sec) ? ((tvp)->tv_usec cmp(uvp)->tv_usec) \ 526 if (tv->tv_usec < 0) in timevalfix() 529 tv->tv_usec += 1000000; in timevalfix() 531 if (tv->tv_usec >= 1000000) in timevalfix() 534 tv->tv_usec -= 1000000; in timevalfix() 541 op1->tv_usec += op2->tv_usec; in timevaladd() 548 op1->tv_usec -= op2->tv_usec; in timevalsub() 556 rc += tv->tv_usec * RT_TICK_PER_SECOND / MICROSECOND_PER_SECOND; in tvtohz()
|
| /components/drivers/ktime/src/ |
| A D | boottime.c | 22 tv->tv_usec = (ns % (1000ULL * 1000 * 1000)) / 1000; in rt_ktime_boottime_get_us()
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | clnt_generic.c | 77 tv.tv_usec = 0; in clnt_create()
|
| A D | clnt_udp.c | 165 cu->cu_total.tv_usec = -1; in clntudp_bufcreate() 369 mtimeout = ((cu->cu_total.tv_sec * 1000) + ((cu->cu_total.tv_usec + 500)/1000)); in clntudp_control()
|
| /components/libc/posix/io/poll/ |
| A D | select.c | 119 msec = (int)timeout->tv_sec * 1000 + (int)timeout->tv_usec / 1000; in select()
|
| /components/net/lwip/lwip-2.1.2/test/sockets/ |
| A D | sockets_stresstest.c | 196 tv.tv_usec = (timeout_ms - (tv.tv_sec * 1000)) * 1000; in sockets_stresstest_wait_readable_select() 259 opt_on.tv_usec = (timeout_ms - (opt_on.tv_sec * 1000)) * 1000; in sockets_stresstest_wait_readable_recvtimeo() 261 opt_off.tv_usec = 0; in sockets_stresstest_wait_readable_recvtimeo()
|
| /components/lwp/ |
| A D | lwp_pid.c | 593 …lwp->rt_rusage.ru_stime.tv_usec += thread->system_time % RT_TICK_PER_SECOND * (1000000 / RT_TICK_P… in _thread_exit() 595 …lwp->rt_rusage.ru_utime.tv_usec += thread->user_time % RT_TICK_PER_SECOND * (1000000 / RT_TICK_PER… in _thread_exit() 847 rt_rusage.ru_stime.tv_usec = child->rt_rusage.ru_stime.tv_usec; in _update_ru() 849 rt_rusage.ru_utime.tv_usec = child->rt_rusage.ru_utime.tv_usec; in _update_ru()
|
| A D | lwp_syscall.c | 1235 t_k.tv_usec = (rt_tick_get() % RT_TICK_PER_SECOND) * (1000000 / RT_TICK_PER_SECOND); in sys_gettimeofday() 1247 tp->tv_usec = (rt_tick_get() % RT_TICK_PER_SECOND) * (1000000 / RT_TICK_PER_SECOND); in sys_gettimeofday()
|
| /components/libc/compilers/common/include/sys/ |
| A D | time.h | 55 suseconds_t tv_usec; /* and microseconds */ member
|
| /components/net/at/at_socket/ |
| A D | at_socket.c | 1272 ((struct timeval *)(optval))->tv_usec = (timeout % 1000U) * 1000U; in at_getsockopt() 1278 ((struct timeval *) optval)->tv_usec = (timeout % 1000U) * 1000U; in at_getsockopt() 1322 + ((const struct timeval *) optval)->tv_usec / 1000; in at_setsockopt() 1327 + ((const struct timeval *) optval)->tv_usec / 1000; in at_setsockopt()
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | demand.c | 334 tv.tv_usec = 0;
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | demand.c | 334 tv.tv_usec = 0;
|
| /components/utilities/ulog/ |
| A D | ulog.c | 294 long old_usec = now.tv_usec; in ulog_head_formater() 300 if (now.tv_usec != old_usec) in ulog_head_formater() 307 … rt_snprintf(log_buf + log_len, ULOG_LINE_BUF_SIZE - log_len, ".%03d", now.tv_usec / 1000); in ulog_head_formater()
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | sockets.h | 317 long tv_usec; /* and microseconds */ member
|
| /components/net/lwip/lwip-2.0.3/src/api/ |
| A D | sockets.c | 186 ((struct timeval *)(optval))->tv_usec = ((loc) % 1000U) * 1000U; }while(0) 187 …truct timeval *)(optval))->tv_sec * 1000U) + (((const struct timeval *)(optval))->tv_usec / 1000U)) 1414 timeout ? (s32_t)timeout->tv_usec : (s32_t)-1)); in lwip_select() 1422 if (timeout && timeout->tv_sec == 0 && timeout->tv_usec == 0) { in lwip_select() 1498 msectimeout = ((timeout->tv_sec * 1000) + ((timeout->tv_usec + 500)/1000)); in lwip_select()
|
| /components/libc/compilers/common/ |
| A D | ctime.c | 488 tv->tv_usec = 0; in gettimeofday() 517 if (tv != RT_NULL && (long)tv->tv_usec >= 0 && (long)tv->tv_sec >= 0) in settimeofday()
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | sockets.h | 444 long tv_usec; /* and microseconds */ member
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | sockets.h | 541 long tv_usec; /* and microseconds */ member
|
| /components/net/lwip/lwip-1.4.1/src/api/ |
| A D | sockets.c | 1116 timeout ? (s32_t)timeout->tv_usec : (s32_t)-1)); 1124 if (timeout && timeout->tv_sec == 0 && timeout->tv_usec == 0) { 1187 msectimeout = ((timeout->tv_sec * 1000) + ((timeout->tv_usec + 500)/1000));
|
| /components/net/lwip/lwip-2.1.2/src/api/ |
| A D | sockets.c | 198 ((struct timeval *)(optval))->tv_usec = (long)(((loc) % 1000U) * 1000U); }while(0) 199 … struct timeval *)(optval))->tv_sec * 1000) + (((const struct timeval *)(optval))->tv_usec / 1000)) 2006 timeout ? (s32_t)timeout->tv_usec : (s32_t) - 1)); in lwip_select() 2029 if (timeout && timeout->tv_sec == 0 && timeout->tv_usec == 0) { in lwip_select() 2104 long msecs_long = ((timeout->tv_sec * 1000) + ((timeout->tv_usec + 500) / 1000)); in lwip_select()
|
| /components/net/lwip/lwip-2.1.2/test/unit/api/ |
| A D | test_sockets.c | 675 tv.tv_sec = tv.tv_usec = 0; in START_TEST()
|
| /components/lwp/terminal/freebsd/ |
| A D | tty_ttydisc.c | 250 end.tv_usec = (vtime % 10) * 100000; in ttydisc_read_raw_read_timer()
|
| /components/net/sal/src/ |
| A D | sal_socket.c | 228 timeout.tv_usec = 0; in check_netdev_internet_up_work()
|