Searched refs:t1 (Results 1 - 12 of 12) 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) \
68 (AbsoluteTime_to_scalar(t1) > \
70 (AbsoluteTime_to_scalar(t1) < \
73 /* t1 += t2 */
74 #define ADD_ABSOLUTETIME(t1, t2) \
75 (AbsoluteTime_to_scalar(t1) += \
78 /* t1 -= t2 */
79 #define SUB_ABSOLUTETIME(t1, t2) \
80 (AbsoluteTime_to_scalar(t1)
[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) { \
101 (t1)
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dclock.h244 #define ADD_MACH_TIMESPEC_NSEC(t1, nsec) \
246 (t1)->tv_nsec += (clock_res_t)(nsec); \
248 (t1)->tv_nsec >= NSEC_PER_SEC) { \
249 (t1)->tv_nsec -= NSEC_PER_SEC; \
250 (t1)->tv_sec += 1; \
253 (t1)->tv_nsec < 0) { \
254 (t1)->tv_nsec += NSEC_PER_SEC; \
255 (t1)->tv_sec -= 1; \
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_time.c574 struct timeval *t1,
578 t1->tv_sec += t2->tv_sec;
579 t1->tv_usec += t2->tv_usec;
580 timevalfix(t1);
584 struct timeval *t1,
588 t1->tv_sec -= t2->tv_sec;
589 t1->tv_usec -= t2->tv_usec;
590 timevalfix(t1);
594 struct timeval *t1)
597 if (t1
573 timevaladd( struct timeval *t1, struct timeval *t2) argument
583 timevalsub( struct timeval *t1, struct timeval *t2) argument
593 timevalfix( struct timeval *t1) argument
[all...]
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/miscfs/devfs/
H A Ddevfsdefs.h259 dn_times(devnode_t * dnp, struct timeval *t1, struct timeval *t2, struct timeval *t3) argument
262 dnp->dn_atime.tv_sec = t1->tv_sec;
263 dnp->dn_atime.tv_nsec = t1->tv_usec * 1000;
/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);
239 void timevalfix(struct timeval *t1);
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dinode.h174 #define ITIMES(ip, t1, t2) { \
178 (ip)->i_atime = (t1)->tv_sec; \
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/
H A Dvm_unix.c352 task_t t1; local
359 t1 = port_name_to_task(t);
361 if (t1 == TASK_NULL) {
365 p = get_bsdtask_info(t1);
373 task_deallocate(t1);
486 task_t t1 = TASK_NULL; local
498 (void ) copyout((char *)&t1, task_addr, sizeof(mach_port_name_t));
504 t1 = port_name_to_task(target_tport);
505 if (t1 == TASK_NULL) {
506 (void) copyout((char *)&t1, task_add
598 task_t t1; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/
H A Dsynthfs.h144 #define SYNTHFSTIMES(sp, t1, t2) { \
148 (sp)->s_accesstime = *(t1); \
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_variables.c567 int t1; local
579 t1 = db_read_token();
580 if (t1 == tIDENT) {
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_socket.c1175 long t1; local
1245 t1 = req->r_rtt + 1;
1246 t1 -= (NFS_SRTT(req) >> 3);
1247 NFS_SRTT(req) += t1;
1248 if (t1 < 0)
1249 t1 = -t1;
1250 t1 -= (NFS_SDRTT(req) >> 2);
1251 NFS_SDRTT(req) += t1;

Completed in 80 milliseconds