Searched refs:now (Results 1 - 25 of 672) sorted by path

1234567891011>>

/freebsd-11-stable/bin/ls/
H A Dprint.c527 static time_t now = 0; local
533 if (now == 0)
534 now = time(NULL);
542 else if (ftime + SIXMONTHS > now && ftime < now + SIXMONTHS)
/freebsd-11-stable/bin/pax/
H A Dar_subs.c78 time_t now; local
95 now = time(NULL);
122 ls_list(arcn, now, stdout);
158 time_t now; local
177 now = time(NULL);
230 * this archive member is now been selected. modify the name.
267 ls_list(arcn, now, listf);
364 time_t now; local
392 now = time(NULL);
418 * this file is considered selected now
[all...]
H A Dgen_subs.c75 ls_list(ARCHD *arcn, time_t now, FILE *fp) argument
102 if ((sbp->st_mtime + SIXMONTHS) <= now)
/freebsd-11-stable/bin/ps/
H A Dextern.h41 extern time_t now;
H A Dprint.c406 if (now - k->ki_p->ki_start.tv_sec < 24 * 3600) {
408 } else if (now - k->ki_p->ki_start.tv_sec < 7 * 86400) {
588 val = now - k->ki_p->ki_start.tv_sec;
613 val = now - k->ki_p->ki_start.tv_sec;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c64 hrtime_t now, last = 0, end; local
76 if ((now = gethrtime()) - last > NANOSEC) {
96 last = now;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/
H A Dtst.walltimestamp.d31 uint64_t now;
35 now = 18252813184; /* Jan 1, 2004 00:00:00 */
46 /walltimestamp < now/
48 printf("%d (%Y) is before %Y", walltimestamp, walltimestamp, now);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2924 uint64_t now = gethrtime(); local
2928 1 + bytes / (1 + ((now - zcb->zcb_start) / 1000 / 1000));
2944 zcb->zcb_lastprint = now;
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c714 hrtime_t now = gethrtime(); local
718 if (now - dtp->dt_lastagg < interval)
723 dtp->dt_lastagg = now;
956 * elements; we must now compare the keys themselves as a tie-breaker.
1396 * And now one final pass to set everyone's total.
1509 * And now one final pass to set everyone's minbin and maxbin.
1824 * We have our description -- now we need to
1976 * We've loaded our array; now we need to sort by value to allow us
H A Ddt_consume.c1366 * determining <symbol, offset> from <pid, address>. For now, if
1832 printf("Expected type size from buffer (%lu) to match type size looked up now (%ld)\n", (u_long) typs, (long) ssz);
3212 hrtime_t now = gethrtime(); local
3215 if (now - dtp->dt_lastswitch < interval)
3220 dtp->dt_lastswitch = now;
H A Ddt_work.c55 hrtime_t now; local
78 now = gethrtime();
80 if (earliest < now) {
86 tv.tv_sec = (earliest - now) / NANOSEC;
87 tv.tv_nsec = (earliest - now) % NANOSEC;
96 earliest -= now;
135 hrtime_t now = gethrtime(); local
144 if (now - dtp->dt_laststatus < interval)
149 dtp->dt_laststatus = now;
283 * Tracing is stopped. We now wan
[all...]
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dcase_file.cc38 * across reboots. For now, this is just a log of soft errors which we
269 * For now, newly discovered devices only help for
287 syslog(LOG_INFO, "Onlined vdev(%s/%s:%s). State now %s.\n",
399 * Close the case now so we won't waste cycles in the
590 timeval now, countdown, elapsed, timestamp, zero, remaining; local
592 gettimeofday(&now, 0);
594 timersub(&now, &timestamp, &elapsed);
/freebsd-11-stable/contrib/amd/amd/
H A Damfs_generic.c151 * expanded_fname is now a private copy.
325 new_al->al_fo = fs_opts; /* now the loc is in charge of free'ing this mem */
726 * hard_error < 0 indicates nothing could be mounted now
815 time_t now = clocktime(NULL); local
816 if (i > 0 && now < (cp->start + i)) {
817 dlog("Mount of %s delayed by %lds", mf->mf_mount, (long) (i - now + cp->start));
H A Dclock.c57 void reschedule_timeouts(time_t now, time_t then);
179 reschedule_timeouts(time_t now, time_t then) argument
184 if (cp->c_time >= now && cp->c_time <= then) {
187 cp->c_id, (long) (cp->c_time - now));
188 next_softclock = cp->c_time = now;
200 time_t now; local
207 now = clocktime(NULL);
212 while ((cp = callouts.c_next) && cp->c_time <= now) {
238 return cp->c_time - now;
H A Dinfo_exec.c67 time_t start, now; local
98 now = clocktime(NULL) - start;
101 else if (now < secs)
102 timeo.tv_sec = secs - now;
104 /* timed out (now>=secs) */
H A Dinfo_ldap.c309 time_t now = clocktime(NULL); local
315 if ((a->timestamp - now) > AMD_LDAP_TTL) {
318 a->timestamp = now;
359 a->timestamp = now;
H A Dmap.c861 * Pretend it succeeded for now...
975 time_t now = clocktime(NULL); local
999 if (now >= mp->am_autofs_ttl)
1020 if (now >= mp->am_ttl) {
1031 mp->am_ttl = now + mp->am_timeo_w;
1040 mp->am_ttl = now + backoff + 1;
1065 t = now + ONE_HOUR;
1073 if (t <= now) {
1074 t = now + 6; /* XXX */
1082 t = now
[all...]
H A Dnfs_start.c201 time_t now; local
222 now = clocktime(NULL);
224 if (next_softclock <= now) {
229 tvv.tv_sec = next_softclock - now;
H A Dnfs_subr.c141 time_t now = clocktime(NULL); local
170 mp->am_ttl = now + mp->am_timeo_w;
730 * stale now, what's it going to be in 5 minutes?)
772 * which is now out of date.
823 * which is now out of date.
1082 time_t now = clocktime(NULL); local
1116 mp->am_ttl = now + mp->am_timeo_w;
H A Drpc_fwd.c92 time_t now = clocktime(NULL); local
99 if (p2->rf_ttl <= now) {
128 p->rf_ttl = now + 43;
/freebsd-11-stable/contrib/amd/doc/
H A Dtexinfo.tex470 % We prepended an \empty token at the very beginning and we expand it now,
1377 % If we don't expand the argument now, \skipspaces will get
1392 % of @url. for now, just make @/ a no-op, that's the only one
1446 % For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
2233 \newif\ifmarkuptex % @tex (and part of @math, for now).
2555 % (This \urefnobreak definition isn't used now, leaving it for a while
2681 % So now @email is just like @uref, unless we are pdf.
3166 % be smaller yet, but lllsize is the best we can do for now.
4106 % And now expand that command.
4698 % Of course this is not nearly correct, but it is the best we can do for now
[all...]
/freebsd-11-stable/contrib/amd/libamu/
H A Dxutil.c1054 static struct timeval now; /* keep last time, as default */ local
1056 if (gettimeofday(&now, NULL) < 0) {
1059 now.tv_sec++;
1063 nt->nt_seconds = (u_int) now.tv_sec;
1064 nt->nt_useconds = (u_int) now.tv_usec;
1066 return (time_t) now.tv_sec;
/freebsd-11-stable/contrib/amd/scripts/
H A Dexpn.1377 # now we decide if we are going to take these
647 # sometimes the old parse routine (now parse2) didn't
709 print "newaddr now = $newaddr\n" if $debug;
H A Dexpn.in376 # now we decide if we are going to take these
646 # sometimes the old parse routine (now parse2) didn't
708 print "newaddr now = $newaddr\n" if $debug;
/freebsd-11-stable/contrib/apr-util/misc/
H A Dapr_reslist.c178 apr_time_t now; local
222 now = apr_time_now();
227 if (now - res->freed < reslist->ttl) {
331 apr_time_t now; local
338 now = apr_time_now();
342 if (reslist->ttl && (now - res->freed >= reslist->ttl)) {

Completed in 271 milliseconds

1234567891011>>