Home
last modified time | relevance | path

Searched refs:tmxsns (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/lib/libast/common/features/
H A Dtmx31 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n)))
47 #define tmxsns(s,n) (((Time_t)(s))+((((uint32_t)(n))/1000L)/1e6))
62 #define tmxsns(s,n) ((Time_t)(s))
69 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
72 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
74 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
76 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
77 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
78 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/amd64/include/ast/
H A Dtmx.h107 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
111 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
114 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
116 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
118 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
119 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
120 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/
H A Dtmx.h86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/sparc/include/ast/
H A Dtmx.h107 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
111 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
114 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
116 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
118 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
119 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
120 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dtmx.h86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/
H A Dtmx.h86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/sparcv9/include/ast/
H A Dtmx.h107 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
111 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
114 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
116 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
118 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
119 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
120 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/
H A Dtmx.h86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/i386/include/ast/
H A Dtmx.h107 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n))) macro
111 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
114 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
116 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
118 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
119 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
120 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtmx86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n)))
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtmx86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n)))
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtmx86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n)))
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtmx86 #define tmxsns(s,n) (((((Time_t)(s))*1000000000))+((Time_t)(n)))
90 #define TMX_MAXTIME tmxsns(TMX_MAXSEC,TMX_MAXNSEC)
93 #define tv2tmx(v) tmxsns((v)->tv_sec,(v)->tv_nsec)
95 #define tmxclock(p) tmxsns(((p)?*(p):time(NiL)),0)
97 #define tmxgetatime(s) tmxsns((s)->st_atime,ST_ATIME_NSEC_GET(s))
98 #define tmxgetctime(s) tmxsns((s)->st_ctime,ST_CTIME_NSEC_GET(s))
99 #define tmxgetmtime(s) tmxsns((s)->st_mtime,ST_MTIME_NSEC_GET(s))
/titanic_50/usr/src/lib/libast/common/tm/
H A Dtmxgettime.c43 return tmxsns(tv.tv_sec, tv.tv_nsec); in tmxgettime()
H A Dtmxleap.c48 t = tmxsns(sec + lp->total, tmxnsec(t)); in tmxleap()
H A Dtmxtime.c136 return tmxsns(t, tm->tm_nsec); in tmxtime()
H A Dtmxmake.c64 t = tmxsns(n - lp->total, tmxnsec(t)); in tmxtm()
H A Dtmxfmt.c33 #define warped(t,n) ((t)<((n)-tmxsns(6L*30L*24L*60L*60L,0))||(t)>((n)+tmxsns(24L*60L*60L,0)))
H A Dtmxdate.c264 now = tmxsns(now, fix); in tmxdate()
267 now = tmxsns(now, 0); in tmxdate()
1370 now = tmxtime(tm, zone) + tmxsns(m, 0); in tmxdate()
H A Dtmxscan.c325 tm = tmxtm(tm, tmxsns(x, 0), tm->tm_zone); in scan()