Searched defs:now (Results 1 - 25 of 131) sorted by relevance

123456

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcontext_time.c38 krb5_timestamp now; local
54 if ((code = krb5_timeofday(ctx->k5_context, &now))) {
60 if ((lifetime = ctx->krb_times.endtime - now) <= 0) {
H A Dinq_cred.c90 krb5_timestamp now; local
129 if ((code = krb5_timeofday(context, &now))) {
142 if ((lifetime = cred->tgt_expire - now) < 0)
H A Dacquire_cred_with_pw.c151 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 Dinq_context.c103 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 Dexpmod_t.t61 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 Dos_fid.c41 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 Dumem_update_thread.c38 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 Dmeta_devstamp.c85 time_t now = time(NULL); local
103 *stamp = vtocbuf.timestamp[partno] = now;
/osnet-11/usr/src/lib/libnisdb/
H A Dnis_ldap.c110 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 Dtimer.h42 time_t now; /**< time of last update (now!) */ member in struct:_PedTimer
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_apprec.c49 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 Dsfreserve.c38 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 Dtmxduration.c38 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 Dtmxtime.c53 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 Dtmxmake.c45 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 Dtvtouch.c94 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 Dtime_util.c74 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 Dyptol_utils.c168 struct timeval now; local
170 if (0 != gettimeofday(&now, NULL)) {
174 sprintf(time_string, "%010ld", (long)now.tv_sec);
H A Dttl_utils.c68 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 Dmonitor.c85 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 Ddt_work.c55 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 Dcred.c200 time_t now = time(0); local
201 t = crid->expire > now ? crid->expire-now : 0;
/osnet-11/usr/src/cmd/sendmail/src/
H A Dstab.c367 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 Dclock.c97 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 Dsleep.c73 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);

Completed in 58 milliseconds

123456