/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | threads.c | 508 k5_debug_time_t now; local 511 now = get_current_time(); 514 m->time_acquired = now; 515 tdiff = timediff(now, startwait); 528 k5_debug_time_t now = get_current_time(); local 530 tdiff = timediff(now, m->time_acquired);
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 388 * important now that the rfc1535 stuff restricts searches) 775 struct timeval now; local 779 gettimeofday(&now, NULL); 780 u32 = now.tv_sec; 782 u32 = now.tv_usec; 784 u32 += now.tv_sec; 793 struct timeval now; local 797 gettimeofday(&now, NULL); 798 u16 = (u_int16_t) (now.tv_sec ^ now [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | alarm.c | 189 double now; local 193 now = tmp.tv_sec + 1.e-6*tmp.tv_usec; 195 now = (double)time(NIL(time_t*)); 202 double x = d + now; 206 d -= now;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_sys.c | 90 struct timeval now; local 119 (void) gettimeofday(&now, (struct timezone *)0); 120 aup.aup_time = now.tv_sec; 288 struct timeval now; local 306 (void) gettimeofday(&now, (struct timezone *)0); 307 aup.aup_time = now.tv_sec;
|
H A D | clnt_door.c | 89 struct timeval now; local 127 (void) gettimeofday(&now, NULL); 128 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec;
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 127 struct timeval now; local 143 (void) gettimeofday(&now, &tz); 144 if ((now.tv_sec - c->birth) > CACHETO) { 184 struct timeval now; local 274 (void) gettimeofday(&now, &tz); 275 c->birth = now.tv_sec; 368 struct timeval now; local 469 (void) gettimeofday(&now, &tz); 470 c->birth = now.tv_sec;
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | syslog.c | 113 long now; local 140 (void) time(&now); 141 (void) sprintf(o, "<%d>%.15s ", pri, ctime(&now) + 4); 293 * point but not for now.
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | mkalias.c | 272 time_t now; local 279 time(&now); 280 sprintf(last_modified, "%10.10d", now);
|
/illumos-gate/usr/src/cmd/psradm/ |
H A D | psradm.c | 116 time_t now; local 181 (void) time(&now); 182 ut.ut_xtime = now;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 254 * that now. 408 * If any ports now show up as unreferenced, then they've been removed 592 hrtime_t last_time, now; local 605 now = gethrtime(); 606 if (now - last_time >= 1000000000ll) { 609 last_time = now; 611 tout = 1000 - (now - last_time) / 1000000ll;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | logging.c | 126 time_t now = time(NULL); local 134 "%Z: ", localtime(&now));
|
H A D | pppoed.c | 188 time_t now; local 197 now = time(NULL); 198 (void) fprintf(fp, "pppoed running %s", ctime(&now));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 218 time_t now; local 220 (void) time(&now); 221 if ((ulong_t)now - (ulong_t)lastmsgtime >= MAXIDLE)
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | base.c | 704 /* now switch the new file for the old one */ 732 { time_t now; local 736 (void) time(&now); 737 local = localtime(&now);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rpc.rusersd.c | 79 static int findidle(char *name, int ln, time_t now); 199 time_t now; local 202 time(&now); /* only one call to time() for this rpc call */ 222 sizeof (utent->ut_line), now); 226 console_idle(now)); 251 sizeof (utent->ut_line), now); 256 console_idle(now)); 294 console_idle(now) 295 time_t now; 304 return (min((unsigned)findidle("kbd", strlen("kbd"), now), 401 findidle(char *name, int ln, time_t now) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 90 time_t now; local 92 (void)time(&now); 104 txn_region->time_ckp = now; 746 time_t last_ckp_time, now; local 757 (void)time(&now); 763 if (now - last_ckp_time >= (time_t)(minutes * 60))
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | envelope.c | 189 time_t now; local 232 now = curtime(); 233 if (now >= e->e_ctime + TimeOuts.to_q_return[e->e_timeoutclass]) 236 now >= e->e_ctime + e->e_deliver_by && 343 now >= e->e_ctime + 348 now >= e->e_ctime + e->e_deliver_by) 589 /* now unlock the job */ 610 /* now unlock the job */ 828 auto time_t now; local 832 now [all...] |
H A D | ratectrl.c | 102 time_t now; local 106 now = time(NULL); 112 totalrate = total_rate(now, e == NULL); 118 clientrate = client_rate(now, hostaddr, e == NULL); 209 ** now - current time in secs 222 client_rate(now, saddr, update) 223 time_t now; 241 ticks = now / ChtGran; 339 if (coll && (now - chBest->ch_LTime < CollTime)) 390 chBest->ch_LTime = now; [all...] |
H A D | sfsasl.c | 303 ** Hack (for now): simply reduce the size, callers are (must be) 588 time_t now = curtime(); local 608 left = timeout - (now - tlsstart);
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | enm.c | 191 struct timeval now; local 223 (void) gettimeofday(&now, NULL); 224 object->nwamd_script_time = now; 235 * Find the object again, now that the script has finished 247 if (object->nwamd_script_time.tv_sec != now.tv_sec || 248 object->nwamd_script_time.tv_usec != now.tv_usec) { 768 /* (Re)set script time to now as the object has just been (re)read */
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass5.c | 57 time_t now; local 110 now = time(NULL); 157 if (now > cg->cg_time) 160 newcg->cg_time = now;
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_create.c | 471 krb5_timestamp now; local 487 if ((retval = krb5_timeofday(context, &now))) 491 now, &db_create_princ)))
|
H A D | kdb5_util.c | 490 /* the databases are now open, and the master principal exists */ 602 krb5_timestamp now; local 678 ret = krb5_timeofday(util_context, &now); 685 ret = krb5_dbe_update_last_pwd_change(util_context, &dbent, now);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 166 struct timeval now; local 174 if (gettimeofday(&now, NULL) != 0) 180 localtime_r(&now.tv_sec, <ime)); 182 xstrftime_poststart(timebuf, sizeof (timebuf), &now); 332 struct timeval now; local 353 if (gettimeofday(&now, NULL) != 0) 359 localtime_r(&now.tv_sec, <ime)); 361 xstrftime_poststart(timebuf, sizeof (timebuf), &now);
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | dwrapper.c | 350 /* We have our data, so remove it from DTrace now */ 539 uint64_t now = lt_millisecond(); local 541 if (!force && now - last_snap < g_config.lt_cfg_snap_interval) { 542 return (last_snap + g_config.lt_cfg_snap_interval - now); 557 last_snap = now;
|