Searched defs:now (Results 101 - 125 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dthreads.c508 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 Dres_init.c388 * 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 Dalarm.c189 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 Dauth_sys.c90 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 Dclnt_door.c89 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 Dyp_match.c127 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 Dsyslog.c113 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 Dmkalias.c272 time_t now; local
279 time(&now);
280 sprintf(last_modified, "%10.10d", now);
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c116 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 Devents.c254 * 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 Dlogging.c126 time_t now = time(NULL); local
134 "%Z: ", localtime(&now));
H A Dpppoed.c188 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 Din.comsat.c218 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 Dbase.c704 /* 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 Drpc.rusersd.c79 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 Dtxn.c90 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 Denvelope.c189 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 Dratectrl.c102 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 Dsfsasl.c303 ** 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 Denm.c191 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 Dpass5.c57 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 Dkdb5_create.c471 krb5_timestamp now; local
487 if ((retval = krb5_timeofday(context, &now)))
491 now, &db_create_princ)))
H A Dkdb5_util.c490 /* 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 Dlog.c166 struct timeval now; local
174 if (gettimeofday(&now, NULL) != 0)
180 localtime_r(&now.tv_sec, &ltime));
182 xstrftime_poststart(timebuf, sizeof (timebuf), &now);
332 struct timeval now; local
353 if (gettimeofday(&now, NULL) != 0)
359 localtime_r(&now.tv_sec, &ltime));
361 xstrftime_poststart(timebuf, sizeof (timebuf), &now);
/illumos-gate/usr/src/cmd/latencytop/common/
H A Ddwrapper.c350 /* 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;

Completed in 144 milliseconds

1234567891011>>