/freebsd-12-stable/contrib/sendmail/include/sm/ |
H A D | time.h | 24 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 28 (vvp)->tv_sec--; \ 38 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 42 (vvp)->tv_sec++; \ 50 (((tvp)->tv_sec == (uvp)->tv_sec) [all...] |
/freebsd-12-stable/usr.sbin/rtadvd/ |
H A D | timer_subr.h | 38 (((tsp)->tv_sec == (usp)->tv_sec) ? \ 40 ((tsp)->tv_sec cmp (usp)->tv_sec)) 43 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \ 46 (vsp)->tv_sec++; \ 52 (vsp)->tv_sec = (tsp)->tv_sec [all...] |
/freebsd-12-stable/contrib/tcpdump/ |
H A D | timeval-operations.h | 41 #define netdissect_timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) 43 #define netdissect_timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 46 (((tvp)->tv_sec == (uvp)->tv_sec) ? \ 48 ((tvp)->tv_sec cmp (uvp)->tv_sec)) 52 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 56 (vvp)->tv_sec [all...] |
/freebsd-12-stable/crypto/heimdal/lib/roken/ |
H A D | timeval.c | 50 t1->tv_sec--; 54 t1->tv_sec++; 66 t1->tv_sec += t2->tv_sec; 78 t1->tv_sec -= t2->tv_sec;
|
/freebsd-12-stable/sys/sys/ |
H A D | timespec.h | 45 (ts)->tv_sec = (tv)->tv_sec; \ 50 (tv)->tv_sec = (ts)->tv_sec; \
|
H A D | _timespec.h | 47 time_t tv_sec; /* seconds */ member in struct:timespec
|
H A D | _timeval.h | 50 time_t tv_sec; /* seconds */ member in struct:timeval
|
/freebsd-12-stable/tools/tools/ath/athalq/ |
H A D | txdiff.pl | 10 my ($tv_sec) = 0; 27 printf "%d\t| %s\n", tvdiff($tv_sec, $tv_usec, $1, $2), $_; 28 # if (tvdiff($tv_sec, $tv_usec, $1, $2) > 500) { 29 # printf "%d\t| %s\n", tvdiff($tv_sec, $tv_usec, $1, $2), $_; 31 $tv_sec = $1;
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clock_nanosleep.c | 46 rqtp.tv_sec = 0; rqtp.tv_nsec = 0; 47 rmtp.tv_sec = -1; rmtp.tv_nsec = -1; 50 ATF_CHECK(rmtp.tv_sec == -1 && rmtp.tv_nsec == -1); 52 ATF_CHECK(rmtp.tv_sec == 0 && rmtp.tv_nsec == 0); 56 rmtp.tv_sec = -1; rmtp.tv_nsec = -1; 58 ATF_CHECK(rmtp.tv_sec == -1 && rmtp.tv_nsec == -1);
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | alarm.c | 49 itp->it_value.tv_sec = secs; 54 oitv.it_value.tv_sec++; 55 return (oitv.it_value.tv_sec);
|
H A D | ualarm.c | 52 new.it_interval.tv_sec = reload / USPS; 55 new.it_value.tv_sec = usecs / USPS; 58 return (old.it_value.tv_sec * USPS + old.it_value.tv_usec);
|
/freebsd-12-stable/lib/libc/include/isc/ |
H A D | platform.h | 34 time_t tv_sec; /* seconds */ member in struct:timespec
|
/freebsd-12-stable/tools/tools/netmap/ |
H A D | ctrs.h | 47 if (a->tv_sec > b->tv_sec) 49 if (a->tv_sec < b->tv_sec) 60 .tv_sec = a->tv_sec, 70 .tv_sec = a->tv_sec, 80 struct timespec ret = { a.tv_sec + b.tv_sec, [all...] |
/freebsd-12-stable/contrib/ntp/libntp/ |
H A D | timespecops.c | 65 x.tv_sec += z; 75 x.tv_sec--; 80 x.tv_sec++; 95 if (c.tv_sec < 0) { 97 c.tv_sec = -c.tv_sec - 1; 100 c.tv_sec = -c.tv_sec; 119 r = (a.tv_sec > b.tv_sec) [all...] |
/freebsd-12-stable/contrib/ntp/include/ |
H A D | timevalops.h | 78 (ts)->l_ui = (u_long)(tv)->tv_sec; \ 86 (ts)->l_ui = (tv)->tv_sec; \ 88 if (((tv)->tv_sec < 0) || ((tv)->tv_usec < 0)) { \ 105 (tv)->tv_sec = (ts)->l_ui; \ 108 (tv)->tv_sec++; \ 155 x.tv_sec += z; 167 x.tv_sec--; 172 x.tv_sec++; 188 x.tv_sec += b.tv_sec; [all...] |
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | time.h | 50 tv.tv_sec = 0; 55 tv.tv_sec = nsec / NSEC_PER_SEC; 58 tv.tv_sec--; 68 return ((int64_t)tv->tv_sec * NSEC_PER_SEC) + 88 ts->tv_sec = sec; 95 return ((ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec); 105 ts.tv_sec = 0; 110 ts.tv_sec = nsec / NSEC_PER_SEC; 113 ts.tv_sec--; 123 if (ts->tv_sec < [all...] |
/freebsd-12-stable/contrib/openbsm/compat/ |
H A D | clock_gettime.h | 49 ts->tv_sec = tv.tv_sec;
|
/freebsd-12-stable/contrib/blacklist/port/ |
H A D | clock_gettime.c | 14 ts->tv_sec = tv.tv_sec;
|
/freebsd-12-stable/contrib/ntp/util/ |
H A D | testrs6000.c | 30 value.it_interval.tv_sec = value.it_value.tv_sec = 1; 32 adjustment.tv_sec = 0; 51 if (result.tv_sec != 0 || result.tv_usec != 0) { 52 printf("result.u = %d.%06.6d ", (int) result.tv_sec,
|
/freebsd-12-stable/contrib/nvi/common/ |
H A D | util.h | 70 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0) 71 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) 73 (((tvp)->tv_sec == (uvp)->tv_sec) ? \ 75 ((tvp)->tv_sec cmp (uvp)->tv_sec)) 78 (vvp)->tv_sec += (uvp)->tv_sec; \ 81 (vvp)->tv_sec++; \ 87 (vvp)->tv_sec [all...] |
/freebsd-12-stable/contrib/mandoc/ |
H A D | test-nanosleep.c | 9 timeout.tv_sec = 0;
|
/freebsd-12-stable/contrib/gcclibs/libiberty/ |
H A D | gettimeofday.c | 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/freebsd-12-stable/contrib/elftoolchain/libelftc/ |
H A D | elftc_set_timestamps.c | 68 tv[0].tv_sec = sb->ATIME.tv_sec; 70 tv[1].tv_sec = sb->MTIME.tv_sec;
|
/freebsd-12-stable/bin/ls/ |
H A D | cmp.c | 71 if (b->fts_statp->st_mtim.tv_sec > 72 a->fts_statp->st_mtim.tv_sec) 74 if (b->fts_statp->st_mtim.tv_sec < 75 a->fts_statp->st_mtim.tv_sec) 100 if (b->fts_statp->st_atim.tv_sec > 101 a->fts_statp->st_atim.tv_sec) 103 if (b->fts_statp->st_atim.tv_sec < 104 a->fts_statp->st_atim.tv_sec) 129 if (b->fts_statp->st_birthtim.tv_sec > 130 a->fts_statp->st_birthtim.tv_sec) [all...] |
/freebsd-12-stable/usr.bin/mkuzip/ |
H A D | mkuz_time.h | 32 #define SEC(x) ((x)->tv_sec)
|