Searched refs:t2 (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | mktime.c | 81 struct tm t1, t2; local 85 t2 = ts->ts_tm2; 87 (void) mktime(&t2); 90 t2 = ts->ts_tm2; 92 (void) mktime(&t2); 95 t2 = ts->ts_tm2; 97 (void) mktime(&t2); 100 t2 = ts->ts_tm2; 102 (void) mktime(&t2); 105 t2 [all...] |
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | OSBase.h | 66 /* 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...] |
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | clock_types.h | 92 /* t1 <=> t2, also (t1 - t2) in nsec with max of +- 1 sec */ 93 #define CMP_MACH_TIMESPEC(t1, t2) \ 94 ((t1)->tv_sec > (t2)->tv_sec ? +NSEC_PER_SEC : \ 95 ((t1)->tv_sec < (t2)->tv_sec ? -NSEC_PER_SEC : \ 96 (t1)->tv_nsec - (t2)->tv_nsec)) 98 /* t1 += t2 */ 99 #define ADD_MACH_TIMESPEC(t1, t2) \ 101 if (((t1)->tv_nsec += (t2)->tv_nsec) >= NSEC_PER_SEC) { \ 105 (t1)->tv_sec += (t2) [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | time.h | 222 void timevaladd(struct timeval *t1, struct timeval *t2); 223 void timevalsub(struct timeval *t1, struct timeval *t2);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_time.c | 608 struct timeval *t2) 611 t1->tv_sec += t2->tv_sec; 612 t1->tv_usec += t2->tv_usec; 618 struct timeval *t2) 621 t1->tv_sec -= t2->tv_sec; 622 t1->tv_usec -= t2->tv_usec; 606 timevaladd( struct timeval *t1, struct timeval *t2) argument 616 timevalsub( struct timeval *t1, struct timeval *t2) argument
|
H A D | tty.c | 2048 #define diff(t1, t2) (((t1).tv_sec - (t2).tv_sec) * 1000000 + \ 2049 ((t1).tv_usec - (t2).tv_usec))
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 118 void dn_times_locked(devnode_t * dnp, struct timeval *t1, struct timeval *t2, struct timeval *t3, uint32_t just_changed_flags); 123 dn_times_locked(devnode_t * dnp, struct timeval *t1, struct timeval *t2, struct timeval *t3, uint32_t just_changed_flags) argument 139 dnp->dn_mtime.tv_sec = t2->tv_sec; 140 dnp->dn_mtime.tv_nsec = t2->tv_usec * 1000; 143 dnp->dn_mtime.tv_sec = MIN(t2->tv_sec, dnp->dn_mtime.tv_sec + DEVFS_LAZY_UPDATE_SECONDS); 144 dnp->dn_mtime.tv_nsec = t2->tv_usec * 1000;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_timer.c | 259 timer_diff(uint32_t t1, uint32_t toff1, uint32_t t2, uint32_t toff2) { argument 260 return (int32_t)((t1 + toff1) - (t2 + toff2));
|
Completed in 195 milliseconds