/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | tmless.c | 31 * return 1 if t1 earlier than t2 (times in localtime format) 32 * assumed that t1 and t2 are in same day 37 tmless(t1, t2) 38 register struct tm *t1, *t2; 40 if (t1->tm_hour != t2->tm_hour) 41 return(t1->tm_hour < t2->tm_hour); 42 if (t1->tm_min != t2->tm_min) 43 return(t1->tm_min < t2->tm_min); 44 return(t1->tm_sec < t2->tm_sec);
|
H A D | tmsecs.c | 28 * tmsecs returns number of seconds from t1 to t2, 30 * assumed that t1 <= t2, and are in same day. 35 tmsecs(t1, t2) 36 register struct tm *t1, *t2; 38 return((t2->tm_sec - t1->tm_sec) + 39 60*(t2->tm_min - t1->tm_min) + 40 3600L*(t2->tm_hour - t1->tm_hour));
|
H A D | pnpsplit.c | 300 * tmsecs returns number of seconds from t1 to t2, 302 * assumed that t1 <= t2, and are in same day. 306 tmsecs(t1, t2) 307 register struct tm *t1, *t2; 309 return((t2->tm_sec - t1->tm_sec) + 310 60*(t2->tm_min - t1->tm_min) + 311 3600L*(t2->tm_hour - t1->tm_hour)); 315 * return 1 if t1 earlier than t2 (times in localtime format) 316 * assumed that t1 and t2 are in same day 320 tmless(t1, t2) [all...] |
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | times.c | 28 STP_compare_times (IN TIMEVALUES_T *t1, IN TIMEVALUES_T *t2) argument 30 if (t1->MessageAge < t2->MessageAge) return -1; 31 if (t1->MessageAge > t2->MessageAge) return 1; 33 if (t1->MaxAge < t2->MaxAge) return -2; 34 if (t1->MaxAge > t2->MaxAge) return 2; 36 if (t1->ForwardDelay < t2->ForwardDelay) return -3; 37 if (t1->ForwardDelay > t2->ForwardDelay) return 3; 39 if (t1->HelloTime < t2->HelloTime) return -4; 40 if (t1->HelloTime > t2->HelloTime) return 4;
|
H A D | times.h | 36 STP_compare_times (IN TIMEVALUES_T* t1, IN TIMEVALUES_T* t2);
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_dt.c | 38 const char *t2, long v2) 43 f, n, t1, v1, t2, v2); 50 const char *t2, long v2, 56 f, n, t1, v1, t2, v2, t3, v3); 36 smb_dtrace2(const char *f, const char *n, const char *t1, long v1, const char *t2, long v2) argument 48 smb_dtrace3(const char *f, const char *n, const char *t1, long v1, const char *t2, long v2, const char *t3, long v3) argument
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | strstr.c | 54 register const char* t2; 65 t2 = s2; 68 if (!*t2) 70 } while (*t1++ == *t2++);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strcoll.c | 53 wchar_t *t1 = NULL, *t2 = NULL; local 81 if ((t2 = malloc(sz2 * sizeof (wchar_t))) == NULL) 83 w2 = t2; 98 if (t2) 99 free(t2); 106 if (t2) 107 free(t2);
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | dbg.h | 57 #define DBG_TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) \ 58 TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) 59 #define DBG_TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) \ 60 TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) 62 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \ 63 TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) 71 #define DBG_TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) \ 73 #define DBG_TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) \ 76 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | hypotl.c | 44 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 45 * where t1 = 2x with lower 64 bits cleared, t2 = 2x-t1, y1= y with 69 long double t1, t2, y1, y2, w; local 110 t2 = x - t1; 111 x = sqrtl(t1 * t1 - (y * (-y) - t2 * (x + t1))); 121 t2 = x - t1; 122 x = sqrtl(t1 * y1 - (w * (-w) - (t2 * y1 + y2 * x))); 130 t2 = x; 132 t2 = y; 134 t2 [all...] |
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cpow.c | 115 double t1, t2, t3, t4, w1, w2, t; local 116 t1 = ta[0]; t2 = ta[1]; t3 = ta[2]; t4 = ta[3]; 118 * Rearrange ti so that |t1| >= |t2| >= |t3| >= |t4| 122 t = t2; t2 = t4; t4 = t; 125 if (fabs(t4) > fabs(t2)) { 126 t3 = t4; t4 = t2; t2 = t; 128 t3 = t2; t2 155 double b[4], t1, t2, t3, t4, w1, w2, u1, v1, x1, y1; local [all...] |
H A D | cpowl.c | 70 long double t1, t2, t3, t4, w1, w2, t; local 71 t1 = ta[0]; t2 = ta[1]; t3 = ta[2]; t4 = ta[3]; 73 * Rearrange ti so that |t1| >= |t2| >= |t3| >= |t4| 77 t = t2; t2 = t4; t4 = t; 80 if (fabsl(t4) > fabsl(t2)) { 81 t3 = t4; t4 = t2; t2 = t; 83 t3 = t2; t2 110 long double t1, t2, t3, t4, x1, x2, y1, y2, u1, v1, b[4], w1, w2; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_nt_transact_notify_change.c | 88 hrtime_t t1, t2; local 103 t2 = gethrtime(); 113 sr->sr_time_start += (t2 - t1);
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vsin.c | 177 double t0, t1, t2, z0, z1, z2; local 186 HI(&t2) = j2; 189 LO(&t2) = 0; 192 x2 -= t2; 198 t2 = z2 * (qq1 + z2 * qq2); 213 t2 = (__vlibm_TBL_sincos_hi[j2+1] * w2 + a2 * t2) + __vlibm_TBL_sincos_lo[j2+xsb2]; 216 *py2 = a2 + t2; 223 HI(&t2) = j2; 225 LO(&t2) 681 double t0, t1, t2, z0, z1, z2; local [all...] |
H A D | __vcos.c | 203 double t0, t1, t2, z0, z1, z2; local 212 HI(&t2) = j2; 215 LO(&t2) = 0; 218 x2 -= t2; 224 t2 = z2 * (qq1 + z2 * qq2); 240 t2 = __vlibm_TBL_sincos_lo[j2+1] - (__vlibm_TBL_sincos_hi[j2+xsb2]*w2 - a2*t2); 244 *py2 = a2 + t2; 251 HI(&t2) = j2; 253 LO(&t2) 673 double t0, t1, t2, z0, z1, z2; local [all...] |
H A D | __vsincos.c | 233 double t0, t1, t2, t1_0, t1_1, t1_2, t2_0, t2_1, t2_2; local 244 HI(&t2) = j2; 247 LO(&t2) = 0; 251 x2 -= t2; 259 t2 = z2 * (qq1 + z2 * qq2); 283 t2_2 = __vlibm_TBL_sincos_lo[j2+1] - (a1_2*w2 - a2_2*t2); 291 t1_2 = a2_2*w2 + a1_2*t2; 317 t2 = z2 * (poly3[1] + z2 * poly4[1]); 320 t2 = z2 * (poly1[1] + z2 * (poly2[1] + t2)); 909 double t0, t1, t2, t1_0, t1_1, t1_2, t2_0, t2_1, t2_2; local [all...] |
H A D | __vcosbig_ultra3.c | 226 double t0, t1, t2, z0, z1, z2; local 235 HI(&t2) = j2; 238 LO(&t2) = 0; 241 x2 = (x2 - t2) + y2; 247 t2 = z2 * (qq1 + z2 * qq2); 268 t2 = (__vlibm_TBL_sincos_hi[j2+((n2+xsb2)&3)] * w2 + a2 * t2) + __vlibm_TBL_sincos_lo[j2+n2]; 271 *py2 = ( a2 + t2 ); 279 HI(&t2) = j2; 281 LO(&t2) [all...] |
H A D | __vsinbig_ultra3.c | 226 double t0, t1, t2, z0, z1, z2; local 235 HI(&t2) = j2; 238 LO(&t2) = 0; 241 x2 = (x2 - t2) + y2; 247 t2 = z2 * (qq1 + z2 * qq2); 268 t2 = (__vlibm_TBL_sincos_hi[j2+((n2+xsb2)&3)] * w2 + a2 * t2) + __vlibm_TBL_sincos_lo[j2+n2]; 271 *py2 = ( a2 + t2 ); 279 HI(&t2) = j2; 281 LO(&t2) [all...] |
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des_decrypt.c | 40 char t2; local 106 t2 = L[j]; 108 R[j] = t2;
|
H A D | des_encrypt.c | 40 char t2; local 105 t2 = L[j]; 107 R[j] = t2;
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctmerg.c | 190 tacctadd(struct tacct *t1, struct tacct *t2) argument 192 t1->ta_cpu[0] = t1->ta_cpu[0] + t2->ta_cpu[0]; 193 t1->ta_cpu[1] = t1->ta_cpu[1] + t2->ta_cpu[1]; 194 t1->ta_kcore[0] = t1->ta_kcore[0] + t2->ta_kcore[0]; 195 t1->ta_kcore[1] = t1->ta_kcore[1] + t2->ta_kcore[1]; 196 t1->ta_con[0] = t1->ta_con[0] + t2->ta_con[0]; 197 t1->ta_con[1] = t1->ta_con[1] + t2->ta_con[1]; 198 t1->ta_du = t1->ta_du + t2->ta_du; 199 t1->ta_pc += t2->ta_pc; 200 t1->ta_sc += t2 [all...] |
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | hypotl.c | 44 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 45 * where t1 = 2x with lower 64 bits cleared, t2 = 2x-t1, y1= y with 68 long double t1, t2, y1, y2, w; local 96 t2 = x - t1; 97 x = sqrtl(t1 * t1 - (y * (-y) - t2 * (x + t1))); 107 t2 = x - t1; 108 x = sqrtl(t1 * y1 - (w * (-w) - (t2 * y1 + y2 * x)));
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | ttl_utils.c | 285 add_to_timeval(struct timeval *t1, int t2) argument 292 t1->tv_sec += t2; 297 "Wrap when adding %d to %d", t2, oldval.tv_sec); 315 * OUTPUTS: TRUE t1 > t2 316 * FALSE t1 <= t2 320 is_greater_timeval(struct timeval *t1, struct timeval *t2) argument 322 if (t1->tv_sec > t2->tv_sec) 325 if (t1->tv_sec == t2->tv_sec) { 326 if (t1->tv_usec > t2->tv_usec)
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | tgamma.c | 1211 double z, t1, t2, t3, z2, t5, w, y, u, r, z4, v, t24 = 16777216.0, local 1254 t2 = y - z; 1257 u = r * t2; /* u = (y-z)/(y+z) */ 1263 t2 = t4 + u * ((two + z2 * A1) + (z2 * z2) * (A2 + z2 * A3)); 1268 t2 = t5 + r * ((two * t2 - v * t1) - v * (y - (t1 - z))); 1271 ss_h = (double) ((float) (t2 + t3)); 1272 ss_l = t2 - (ss_h - t3); 1286 t2 = z4 * (GP2 + z4 * (GP4 + z4 * GP6)); 1287 t1 += t2; 1335 double z, t1, t2, t3, t4; local 1373 double z, t1, t2, t3, t4, x4, x8; local 1408 double r1, r2, t2, z, xh, xl, yh, yl, zh, z1, z2, zl, x5, wh, wl; local 1534 double t, t1, t2, t3, t4, t5, w, y, z, z1, z2, z3, z5; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | renew.c | 84 uint32_t t2; local 102 t2 = dsmp->dsm_curstart_monosec + dlp->dl_t2.dt_start; 103 if (monosec() + TOO_CLOSE >= t2) { 105 monosec() > t2 ? "" : "almost ", dsmp->dsm_name); 117 if (monosec() + RETRY_DELAY < t2) { 525 monosec_t t2; local 527 t2 = 0; 529 if (dlp->dl_t2.dt_start > t2) 530 t2 = dlp->dl_t2.dt_start; 532 t2 [all...] |