/macosx-10.10/sudo-73/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; \ 295 if ((tv1)->tv_usec >= 1000000) { \ 296 (tv1)->tv_sec++; \ 297 (tv1) [all...] |
H A D | sudo_edit.c | 78 struct timeval tv, tv1, tv2; local 211 gettime(&tv1); 243 timevalsub(&tv1, &tv2);
|
H A D | visudo.c | 287 struct timeval tv, tv1, tv2; /* time before and after edit */ local 395 gettime(&tv1); 425 timevalsub(&tv1, &tv2);
|
/macosx-10.10/remote_cmds-47/timed.tproj/timed.tproj/ |
H A D | measure.c | 319 timevaladd(tv1, tv2) 320 struct timeval *tv1, *tv2; 322 tv1->tv_sec += tv2->tv_sec; 323 tv1->tv_usec += tv2->tv_usec; 324 if (tv1->tv_usec >= 1000000) { 325 tv1->tv_sec++; 326 tv1->tv_usec -= 1000000; 328 if (tv1->tv_usec < 0) { 329 tv1->tv_sec--; 330 tv1 [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/krb5/ |
H A D | test_crypto.c | 41 struct timeval tv1, tv2; local 67 gettimeofday(&tv1, NULL); 78 timevalsub(&tv2, &tv1); 97 struct timeval tv1, tv2; local 111 gettimeofday(&tv1, NULL); 123 timevalsub(&tv2, &tv1);
|
H A D | test_rfc3961.c | 41 struct timeval tv1, tv2; local 67 gettimeofday(&tv1, NULL); 78 timevalsub(&tv2, &tv1); 97 struct timeval tv1, tv2; local 111 gettimeofday(&tv1, NULL); 123 timevalsub(&tv2, &tv1);
|
H A D | test_gic.c | 182 struct timeval tv1, tv2; local 187 gettimeofday(&tv1, NULL); 196 tvsub(&tv2, &tv1);
|
/macosx-10.10/llvmCore-3425.0.34/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.10/bootp-298/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 i 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.10/bootp-298/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 i 163 timeval_compare(struct timeval tv1, struct timeval tv2) argument [all...] |
H A D | util.h | 125 void timeval_subtract(struct timeval tv1, struct timeval tv2, 128 void timeval_add(struct timeval tv1, struct timeval tv2, 131 int timeval_compare(struct timeval tv1, struct timeval tv2);
|
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/ |
H A D | test_rsa.c | 250 struct timeval tv1, tv2; local 262 gettimeofday(&tv1, NULL); 272 timevalsub(&tv2, &tv1); 286 struct timeval tv1, tv2; local 309 gettimeofday(&tv1, NULL); 314 timevalsub(&tv2, &tv1);
|
/macosx-10.10/OpenLDAP-499.27/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; 82 if (tv1->tv_usec>1000000) 84 tv1->tv_usec-=1000000; 85 tv1->tv_sec+=1; 87 tv1->tv_sec+=tv2->tv_sec;
|
/macosx-10.10/xnu-2782.1.97/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.10/OpenSSH-189/osslshim/tests/ |
H A D | test_rsa.c | 391 struct timeval tv1, tv2; local 403 gettimeofday(&tv1, NULL); 417 timevalsub(&tv2, &tv1); 434 struct timeval tv1, tv2; 460 gettimeofday(&tv1, NULL); 465 timevalsub(&tv2, &tv1);
|
/macosx-10.10/bind9-45.101/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.10/network_cmds-457/ping.tproj/ |
H A D | ping.c | 1207 struct timeval tv1; local 1216 if (cc - ICMP_MINLEN - phdr_len >= sizeof(tv1)) { 1219 tv1.tv_sec = ntohl(tv32.tv32_sec); 1220 tv1.tv_usec = ntohl(tv32.tv32_usec); 1221 tvsub(tv, &tv1);
|
/macosx-10.10/vim-55/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) 2952 typval_T *tv1; 2963 switch (tv1->v_type) 2973 if (tv1->vval.v_list != NULL && tv2->vval.v_list != NULL) 2974 list_extend(tv1 [all...] |