Searched refs:t2 (Results 1 - 9 of 9) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/
H A DOSBase.h66 /* t1 < = > t2 */
67 #define CMP_ABSOLUTETIME(t1, t2) \
69 AbsoluteTime_to_scalar(t2)? (int)+1 : \
71 AbsoluteTime_to_scalar(t2)? (int)-1 : 0))
73 /* t1 += t2 */
74 #define ADD_ABSOLUTETIME(t1, t2) \
76 AbsoluteTime_to_scalar(t2))
78 /* t1 -= t2 */
79 #define SUB_ABSOLUTETIME(t1, t2) \
81 AbsoluteTime_to_scalar(t2))
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/
H A Dclock_types.h91 /* t1 <=> t2, also (t1 - t2) in nsec with max of +- 1 sec */
92 #define CMP_MACH_TIMESPEC(t1, t2) \
93 ((t1)->tv_sec > (t2)->tv_sec ? +NSEC_PER_SEC : \
94 ((t1)->tv_sec < (t2)->tv_sec ? -NSEC_PER_SEC : \
95 (t1)->tv_nsec - (t2)->tv_nsec))
97 /* t1 += t2 */
98 #define ADD_MACH_TIMESPEC(t1, t2) \
100 if (((t1)->tv_nsec += (t2)->tv_nsec) >= NSEC_PER_SEC) { \
104 (t1)->tv_sec += (t2)
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dinode.h174 #define ITIMES(ip, t1, t2) { \
180 (ip)->i_mtime = (t2)->tv_sec; \
184 (ip)->i_ctime = (t2)->tv_sec; \
/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/des/
H A Ddes_setkey.c171 register DES_LONG c,d,t,s,t2; local
216 t2=((t<<16L)|(s&0x0000ffffL))&0xffffffffL;
217 *(k++)=ROTATE(t2,30)&0xffffffffL;
219 t2=((s>>16L)|(t&0xffff0000L));
220 *(k++)=ROTATE(t2,26)&0xffffffffL;
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Ddevfsdefs.h259 dn_times(devnode_t * dnp, struct timeval *t1, struct timeval *t2, struct timeval *t3) argument
267 dnp->dn_mtime.tv_sec = t2->tv_sec;
268 dnp->dn_mtime.tv_nsec = t2->tv_usec * 1000;
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_time.c575 struct timeval *t2)
578 t1->tv_sec += t2->tv_sec;
579 t1->tv_usec += t2->tv_usec;
585 struct timeval *t2)
588 t1->tv_sec -= t2->tv_sec;
589 t1->tv_usec -= t2->tv_usec;
573 timevaladd( struct timeval *t1, struct timeval *t2) argument
583 timevalsub( struct timeval *t1, struct timeval *t2) argument
H A Dtty.c1694 #define diff(t1, t2) (((t1).tv_sec - (t2).tv_sec) * 1000000 + \
1695 ((t1).tv_usec - (t2).tv_usec))
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dtime.h237 void timevaladd(struct timeval *t1, struct timeval *t2);
238 void timevalsub(struct timeval *t1, struct timeval *t2);
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/
H A Dsynthfs.h144 #define SYNTHFSTIMES(sp, t1, t2) { \
151 (sp)->s_modificationtime = *(t2); \

Completed in 100 milliseconds