/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/ |
H A D | test_crypto.c | 41 struct timeval tv1, tv2; local 76 gettimeofday(&tv2, NULL); 78 timevalsub(&tv2, &tv1); 82 (long)tv2.tv_sec, (long)tv2.tv_usec); 97 struct timeval tv1, tv2; local 121 gettimeofday(&tv2, NULL); 123 timevalsub(&tv2, &tv1); 126 etype_name, iterations, (long)tv2.tv_sec, (long)tv2 [all...] |
H A D | test_rfc3961.c | 41 struct timeval tv1, tv2; local 76 gettimeofday(&tv2, NULL); 78 timevalsub(&tv2, &tv1); 82 (long)tv2.tv_sec, (long)tv2.tv_usec); 97 struct timeval tv1, tv2; local 121 gettimeofday(&tv2, NULL); 123 timevalsub(&tv2, &tv1); 126 etype_name, iterations, (long)tv2.tv_sec, (long)tv2 [all...] |
H A D | test_gic.c | 182 struct timeval tv1, tv2; local 194 gettimeofday(&tv2, NULL); 196 tvsub(&tv2, &tv1); 199 (long)tv2.tv_sec, (long)tv2.tv_usec);
|
/macosx-10.9.5/sudo-72/src/ |
H A D | missing.h | 285 # define timevalcmp(tv1, tv2, op) \ 286 (((tv1)->tv_sec == (tv2)->tv_sec) ? \ 287 ((tv1)->tv_usec op (tv2)->tv_usec) : \ 288 ((tv1)->tv_sec op (tv2)->tv_sec)) 291 # define timevaladd(tv1, tv2) \ 293 (tv1)->tv_sec += (tv2)->tv_sec; \ 294 (tv1)->tv_usec += (tv2)->tv_usec; \ 302 # define timevalsub(tv1, tv2) \ 304 (tv1)->tv_sec -= (tv2)->tv_sec; \ 305 (tv1)->tv_usec -= (tv2) [all...] |
H A D | sudo_edit.c | 78 struct timeval tv, tv1, tv2; local 213 gettime(&tv2); 243 timevalsub(&tv1, &tv2); 244 if (timevalisset(&tv2)) {
|
H A D | visudo.c | 287 struct timeval tv, tv1, tv2; /* time before and after edit */ local 397 gettime(&tv2); 425 timevalsub(&tv1, &tv2); 426 if (timevalisset(&tv2))
|
/macosx-10.9.5/bootp-268.1/bootplib/ |
H A D | util.c | 117 * Computes result = tv1 - tv2. 120 timeval_subtract(struct timeval tv1, struct timeval tv2, argument 123 result->tv_sec = tv1.tv_sec - tv2.tv_sec; 124 result->tv_usec = tv1.tv_usec - tv2.tv_usec; 136 * Computes result = tv1 + tv2. 139 timeval_add(struct timeval tv1, struct timeval tv2, argument 142 result->tv_sec = tv1.tv_sec + tv2.tv_sec; 143 result->tv_usec = tv1.tv_usec + tv2.tv_usec; 155 * Compares two timeval values, tv1 and tv2. 158 * -1 if tv1 is less than tv2 163 timeval_compare(struct timeval tv1, struct timeval tv2) argument [all...] |
H A D | util.h | 124 void timeval_subtract(struct timeval tv1, struct timeval tv2, 127 void timeval_add(struct timeval tv1, struct timeval tv2, 130 int timeval_compare(struct timeval tv1, struct timeval tv2);
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/ |
H A D | TimeValue.h | 180 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2); 185 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2); 364 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) { argument 365 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_); 370 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) { argument 371 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
|
/macosx-10.9.5/remote_cmds-41.90.1/timed.tproj/timed.tproj/ |
H A D | measure.c | 318 timevaladd(tv1, tv2) 319 struct timeval *tv1, *tv2; 321 tv1->tv_sec += tv2->tv_sec; 322 tv1->tv_usec += tv2->tv_usec; 334 timevalsub(res, tv1, tv2) 335 struct timeval *res, *tv1, *tv2; 337 res->tv_sec = tv1->tv_sec - tv2->tv_sec; 338 res->tv_usec = tv1->tv_usec - tv2->tv_usec;
|
/macosx-10.9.5/removefile-33/test/ |
H A D | test-removefile.c | 16 struct timeval tv2; local 17 assert(gettimeofday(&tv2, NULL) == 0); 18 long sec = tv2.tv_sec - tv.tv_sec; 21 usec = tv2.tv_usec - tv.tv_usec; 23 usec = tv2.tv_usec + (1000000 - tv.tv_usec);
|
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/ |
H A D | test_rsa.c | 250 struct timeval tv1, tv2; local 271 gettimeofday(&tv2, NULL); 272 timevalsub(&tv2, &tv1); 275 (unsigned long)tv2.tv_sec, 276 (unsigned long)tv2.tv_usec); 286 struct timeval tv1, tv2; local 312 gettimeofday(&tv2, NULL); 314 timevalsub(&tv2, &tv1); 317 (unsigned long)tv2.tv_sec, 318 (unsigned long)tv2 [all...] |
/macosx-10.9.5/bootp-268.1/bootpd.tproj/ |
H A D | bootpdfile.c | 285 * Computes result = tv1 - tv2. 288 timeval_subtract(struct timeval tv1, struct timeval tv2, argument 291 result->tv_sec = tv1.tv_sec - tv2.tv_sec; 292 result->tv_usec = tv1.tv_usec - tv2.tv_usec; 304 * Computes result = tv1 + tv2. 307 timeval_add(struct timeval tv1, struct timeval tv2, argument 310 result->tv_sec = tv1.tv_sec + tv2.tv_sec; 311 result->tv_usec = tv1.tv_usec + tv2.tv_usec; 323 * Compares two timeval values, tv1 and tv2. 326 * -1 if tv1 is less than tv2 331 timeval_compare(struct timeval tv1, struct timeval tv2) argument [all...] |
H A D | AFPUsers.c | 484 * Computes result = tv1 - tv2. 487 timeval_subtract(struct timeval tv1, struct timeval tv2, argument 490 result->tv_sec = tv1.tv_sec - tv2.tv_sec; 491 result->tv_usec = tv1.tv_usec - tv2.tv_usec;
|
/macosx-10.9.5/OpenSSH-186/osslshim/tests/ |
H A D | test_rsa.c | 391 struct timeval tv1, tv2; local 416 gettimeofday(&tv2, NULL); 417 timevalsub(&tv2, &tv1); 420 (unsigned long)tv2.tv_sec, 421 (unsigned long)tv2.tv_usec); 434 struct timeval tv1, tv2; 463 gettimeofday(&tv2, NULL); 465 timevalsub(&tv2, &tv1); 468 (unsigned long)tv2.tv_sec, 469 (unsigned long)tv2 [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/net/ |
H A D | devtimer.c | 70 timeval_add(struct timeval tv1, struct timeval tv2, argument 73 result->tv_sec = tv1.tv_sec + tv2.tv_sec; 74 result->tv_usec = tv1.tv_usec + tv2.tv_usec;
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/slapd-modules/nssov/nss-pam-ldapd/ |
H A D | tio.c | 78 static inline void tio_tv_add(struct timeval *tv1, const struct timeval *tv2) argument 81 tv1->tv_usec+=tv2->tv_usec; 87 tv1->tv_sec+=tv2->tv_sec;
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/queryperf/ |
H A D | queryperf.c | 997 * add tv1 and tv2, store the result in tv_result. 1000 addtv(struct timeval *tv1, struct timeval *tv2, struct timeval *tv_result) { argument 1001 tv_result->tv_sec = tv1->tv_sec + tv2->tv_sec; 1002 tv_result->tv_usec = tv1->tv_usec + tv2->tv_usec; 1013 * Return the difference between tv1 and tv2 in seconds in a double. 1016 difftv(struct timeval tv1, struct timeval tv2) { argument 1020 diff_sec = tv1.tv_sec - tv2.tv_sec; 1021 diff_usec = tv1.tv_usec - tv2.tv_usec;
|
/macosx-10.9.5/vim-53/src/ |
H A D | eval.c | 407 static int tv_op __ARGS((typval_T *tv1, typval_T *tv2, char_u *op)); 438 static int tv_equal __ARGS((typval_T *tv1, typval_T *tv2, int ic)); 2947 * Handle "tv1 += tv2", "tv1 -= tv2" and "tv1 .= tv2" 2951 tv_op(tv1, tv2, op) 2953 typval_T *tv2; 2961 if (tv2->v_type != VAR_FUNC && tv2->v_type != VAR_DICT) 2970 if (*op != '+' || tv2 [all...] |