Home
last modified time | relevance | path

Searched refs:tmxsec (Results 1 – 25 of 26) sorted by relevance

12

/titanic_50/usr/src/lib/libast/common/features/
H A Dtmx29 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000))
45 #define tmxsec(t) ((Tmxsec_t)(t))
60 #define tmxsec(t) ((Tmxsec_t)(t))
71 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
80 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
81 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
82 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/amd64/include/ast/
H A Dtmx.h105 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/
H A Dtmx.h84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparc/include/ast/
H A Dtmx.h105 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dtmx.h84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/
H A Dtmx.h84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparcv9/include/ast/
H A Dtmx.h105 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/
H A Dtmx.h84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/i386/include/ast/
H A Dtmx.h105 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/common/tm/
H A Dtmxtouch.c56 av.tv_sec = tmxsec(at); in tmxtouch()
66 mv.tv_sec = tmxsec(mt); in tmxtouch()
76 cv.tv_sec = tmxsec(ct); in tmxtouch()
H A Dtmxmake.c57 if ((tm_info.flags & (TM_ADJUST|TM_LEAP)) == (TM_ADJUST|TM_LEAP) && (n = tmxsec(t))) in tmxtm()
67 x = tmxsec(t); in tmxtm()
111 now = tmxsec(t); in tmxtm()
118 now = tmxsec(tmxtime(&te, tm->tm_zone->west)); in tmxtm()
H A Dtmxtime.c95 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime()
113 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime()
H A Dtmleap.c40 return tmxsec(tmxleap(tmxclock(clock))); in tmleap()
H A Dtmtime.c40 return tmxsec(tmxtime(tm, west)); in tmtime()
H A Dtmdate.c40 return tmxsec(tmxdate(s, e, tmxclock(clock))); in tmdate()
H A Dtmxsettime.c42 tv.tv_sec = tmxsec(t); in tmxsettime()
H A Dtmxsleep.c38 tv.tv_sec = tmxsec(t); in tmxsleep()
H A Dtmscan.c40 return tmxsec(tmxscan(s, e, format, f, tmxclock(clock), flags)); in tmscan()
H A Dtmxleap.c46 sec = tmxsec(t); in tmxleap()
H A Dtmxfmt.c447 cp += sfsprintf(cp, ep - cp, fmt, tmxsec(now)); in tmxfmt()
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtmx84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtmx84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtmx84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtmx84 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libcmd/common/
H A Ddate.c396 sfputr(sfstdout, fmtelapsed((unsigned long)tmxsec(e), 1), '\n'); in b_date()

12