/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | context_time.c | 38 krb5_timestamp now; local 54 if ((code = krb5_timeofday(ctx->k5_context, &now))) { 60 if ((lifetime = ctx->krb_times.endtime - now) <= 0) {
|
H A D | inq_cred.c | 90 krb5_timestamp now; local 129 if ((code = krb5_timeofday(context, &now))) { 142 if ((lifetime = cred->tgt_expire - now) < 0)
|
H A D | acquire_cred_with_pw.c | 151 0, /* start time (now) */ 158 /* Got a TGT, now make a MEMORY ccache, stuff in the TGT */ 357 /* if the princ wasn't filled in already, fill it in now */ 380 krb5_timestamp now; local 382 if ((code = krb5_timeofday(context, &now))) { 396 *time_rec = (cred->tgt_expire > now) ? 397 (cred->tgt_expire - now) : 0;
|
H A D | inq_context.c | 103 krb5_timestamp now; local 128 if ((code = krb5_timeofday(context, &now))) { 134 if ((lifetime = ctx->krb_times.endtime - now) < 0)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/ |
H A D | expmod_t.t | 61 sub now { subroutine 67 memoize 'now', 80 $when{$_} = now($_); 87 # values will now expire at T=15, 21, 27 88 # it is now T=12 92 $again{$_} = now($_); # Should be the same as before, because of memoization 107 wait_until(18); # now(1) expires 108 print "not " unless close_enough(time, $again{1} = now(1)); 115 print "not " unless now($_) == $again{$_}; 119 wait_until(24); # now( [all...] |
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_fid.c | 41 time_t now; local 70 (void)time(&now); 71 for (p = (u_int8_t *)&now + 72 sizeof(now), i = 0; i < sizeof(now); ++i)
|
/osnet-11/usr/src/lib/libumem/common/ |
H A D | umem_update_thread.c | 38 struct timeval now; local 52 * we wait until now to set the next update time 77 (void) gettimeofday(&now, NULL); 78 if (now.tv_sec > umem_update_next.tv_sec || 79 (now.tv_sec == umem_update_next.tv_sec && 80 now.tv_usec >= umem_update_next.tv_usec)) {
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_devstamp.c | 85 time_t now = time(NULL); local 103 *stamp = vtocbuf.timestamp[partno] = now;
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nis_ldap.c | 110 struct timeval now; local 112 (void) gettimeofday(&now, 0); 114 if (rootDirExpire >= now.tv_sec) 121 * Update the expiration time of the root dir to be now plus the TTL. 126 struct timeval now; local 129 (void) gettimeofday(&now, 0); 142 srand48(now.tv_sec); 156 rootDirExpire = now.tv_sec + ttl;
|
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | timer.h | 42 time_t now; /**< time of last update (now!) */ member in struct:_PedTimer
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_apprec.c | 49 time_t now; local 217 (void)time(&now); 219 dbenv->tx_info->region->time_ckp = (u_int32_t)now; 225 __db_err(lp->dbenv, "Recovery complete at %.24s", ctime(&now));
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfreserve.c | 38 reg ssize_t n, now, sz, iosz; local 104 if((n = now = f->endb - f->next) < 0) 127 now = n; 157 if(n == now || sferror(f) || sfeof(f)) /* no progress */
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxduration.c | 38 Time_t now; local 45 now = TMX_NOW; 49 ns = tmxdate(s, &last, now) - now; 57 ts = tmxdate(t, &x, now); 61 ns = ts - now; 67 ts = tmxdate(t, &x, now); 71 ns = ts - now;
|
H A D | tmxtime.c | 53 time_t now; local 95 now = tmxsec(tmxtime(tm, tm_info.zone->west)); 97 if (!(tl = tmlocaltime(&now))) 113 now = tmxsec(tmxtime(tm, tm_info.zone->west)); 115 if (!(tl = tmlocaltime(&now)))
|
H A D | tmxmake.c | 45 time_t now; local 111 now = tmxsec(t); 118 now = tmxsec(tmxtime(&te, tm->tm_zone->west)); 120 if ((tp = tmlocaltime(&now)) && ((tm->tm_isdst = tp->tm_isdst) || o))
|
H A D | tvtouch.c | 94 Tv_t now; local 169 tvgettime(&now); 171 av = (const Tv_t*)&now; 173 mv = (const Tv_t*)&now; 198 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utimets(path, NiL)) 227 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utimes(path, NiL)) 239 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now [all...] |
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 74 timespec_t now; local 77 hrt2ts(gethrtime(), &now); local 79 (void) __clock_gettime(clock_id, &now); 80 if (abstime->tv_nsec >= now.tv_nsec) { 81 reltime->tv_sec = abstime->tv_sec - now.tv_sec; 82 reltime->tv_nsec = abstime->tv_nsec - now.tv_nsec; 84 reltime->tv_sec = abstime->tv_sec - now.tv_sec - 1; 85 reltime->tv_nsec = abstime->tv_nsec - now.tv_nsec + NANOSEC;
|
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 168 struct timeval now; local 170 if (0 != gettimeofday(&now, NULL)) { 174 sprintf(time_string, "%010ld", (long)now.tv_sec);
|
H A D | ttl_utils.c | 68 struct timeval now; local 136 gettimeofday(&now, NULL); 144 return (is_greater_timeval(&now, &old_time)); 189 struct timeval now; local 193 gettimeofday(&now, NULL); 198 if (FAILURE == add_to_timeval(&now, ttl)) 203 expire.dptr = (char *)&now;
|
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | monitor.c | 85 time_t now, end; local 102 now = time(NULL); \ 104 if (now > end) \ 107 "WARNING: monitor timeout triggered, now=%ld, end=%ld, tid=%ld, state=0x%x",\ 108 (long) now, (long) end, \
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_work.c | 55 hrtime_t now; local 78 now = gethrtime(); 80 if (earliest < now) { 85 tv.tv_sec = (earliest - now) / NANOSEC; 86 tv.tv_nsec = (earliest - now) % NANOSEC; 117 hrtime_t now = gethrtime(); local 126 if (now - dtp->dt_laststatus < interval) 131 dtp->dt_laststatus = now; 261 * Tracing is stopped. We now want to force dtrace_consume()
|
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | cred.c | 200 time_t now = time(0); local 201 t = crid->expire > now ? crid->expire-now : 0;
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | stab.c | 367 time_t now; local 369 now = curtime(); 379 if (s->s_hostsig.hs_exp >= now) 385 if (s->s_namecanon.nc_exp >= now)
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | clock.c | 97 auto struct timeval now, nowi, ival; local 100 auto time_t now, nowi; local 112 (void) gettimeofday(&now, NULL); 113 nowi = now; 114 timeradd(&now, &ival, &nowi); 116 now = time(NULL); 117 nowi = now + (time_t)(intvl / 1000); 168 timersub(&SmEventQueue->ev_time, &now, &itime.it_value); 177 intvl = SmEventQueue->ev_time - now; 220 /* now remov 329 struct timeval now; local 331 register time_t now; local [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 73 Time_t now,ns; local 75 now = TMX_NOW; 77 ns = tmxdate(cp, &last, now); 90 ns = tmxdate(pp, &last, now); 92 ns = tmxdate(pp, &last, now); 96 d = ns - now; 114 time_t now; local 121 if(tloc < (now=time(NIL(time_t*)))) 123 d = (double)(tloc-now);
|