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

1234567891011>>

/freebsd-10.0-release/bin/ls/
H A Dprint.c365 static time_t now = 0; local
371 if (now == 0)
372 now = time(NULL);
380 else if (ftime + SIXMONTHS > now && ftime < now + SIXMONTHS)
/freebsd-10.0-release/bin/pax/
H A Dar_subs.c79 time_t now; local
96 now = time(NULL);
123 ls_list(arcn, now, stdout);
159 time_t now; local
178 now = time(NULL);
231 * this archive member is now been selected. modify the name.
268 ls_list(arcn, now, listf);
365 time_t now; local
393 now = time(NULL);
419 * this file is considered selected now
[all...]
H A Dgen_subs.c77 ls_list(ARCHD *arcn, time_t now, FILE *fp) argument
104 if ((sbp->st_mtime + SIXMONTHS) <= now)
/freebsd-10.0-release/bin/ps/
H A Dextern.h41 extern time_t now;
H A Dprint.c401 if (now - k->ki_p->ki_start.tv_sec < 24 * 3600) {
404 } else if (now - k->ki_p->ki_start.tv_sec < 7 * 86400) {
585 val = now - k->ki_p->ki_start.tv_sec;
610 val = now - k->ki_p->ki_start.tv_sec;
H A Dps.c98 time_t now; /* Current time(3) value */ variable
186 time(&now); /* Used by routines in print.c. */
225 * now it will not be described in the man page.
262 * `-g' option. So we skip it for now.
874 * option was simply ignored), but now they are fatal
/freebsd-10.0-release/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-10.0-release/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-10.0-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2151 uint64_t now = gethrtime(); local
2155 1 + bytes / (1 + ((now - zcb->zcb_start) / 1000 / 1000));
2168 zcb->zcb_lastprint = now;
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c904 * -d If we can't destroy now, mark for deferred destruction
5493 time_t now = time(NULL); local
5494 if (last_spin_time + SPINNER_TIME < now) {
5496 last_spin_time = now;
5747 time_t now = time(NULL); local
5756 } else if (current != total && last_progress_time + MOUNT_TIME >= now) {
5761 last_progress_time = now;
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c5386 hrtime_t now; local
5390 while ((now = gethrtime()) < zs->zs_thread_stop) {
5394 if (now > zs->zs_thread_kill)
5411 if (now >= call_next &&
5746 * so that the only way to record changes from now on is the ZIL.
6207 hrtime_t now = gethrtime(); local
6209 now = MIN(now, zs->zs_proc_stop);
6210 print_time(zs->zs_proc_stop - now, timebuf);
6220 100.0 * (now
[all...]
/freebsd-10.0-release/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.
1576 * We have our description -- now we need to
1728 * We've loaded our array; now we need to sort by value to allow us
H A Ddt_consume.c1057 * determining <symbol, offset> from <pid, address>. For now, if
1523 printf("Expected type size from buffer (%lu) to match type size looked up now (%ld)\n", (u_long) typs, (long) ssz);
2817 hrtime_t now = gethrtime(); local
2820 if (now - dtp->dt_lastswitch < interval)
2825 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;
282 * Tracing is stopped. We now wan
[all...]
/freebsd-10.0-release/contrib/amd/amd/
H A Damfs_generic.c155 * expanded_fname is now a private copy.
705 * hard_error < 0 indicates nothing could be mounted now
794 time_t now = clocktime(NULL); local
795 if (i > 0 && now < (cp->start + i)) {
796 dlog("Mount of %s delayed by %lds", mf->mf_mount, (long) (i - now + cp->start));
H A Dclock.c61 void reschedule_timeouts(time_t now, time_t then);
183 reschedule_timeouts(time_t now, time_t then) argument
188 if (cp->c_time >= now && cp->c_time <= then) {
191 cp->c_id, (long) (cp->c_time - now));
192 next_softclock = cp->c_time = now;
204 time_t now; local
211 now = clocktime(NULL);
216 while ((cp = callouts.c_next) && cp->c_time <= now) {
242 return cp->c_time - now;
H A Dinfo_exec.c71 time_t start, now; local
102 now = clocktime(NULL) - start;
105 else if (now < secs)
106 timeo.tv_sec = secs - now;
108 /* timed out (now>=secs) */
H A Dinfo_ldap.c293 time_t now = clocktime(NULL); local
299 if ((a->timestamp - now) > AMD_LDAP_TTL) {
302 a->timestamp = now;
343 a->timestamp = now;
H A Dmap.c843 * Pretend it succeeded for now...
949 time_t now = clocktime(NULL); local
973 if (now >= mp->am_autofs_ttl)
994 if (now >= mp->am_ttl) {
1005 mp->am_ttl = now + mp->am_timeo_w;
1014 mp->am_ttl = now + backoff + 1;
1039 t = now + ONE_HOUR;
1047 if (t <= now) {
1048 t = now + 6; /* XXX */
1056 t = now
[all...]
H A Dnfs_start.c206 time_t now; local
227 now = clocktime(NULL);
229 if (next_softclock <= now) {
234 tvv.tv_sec = next_softclock - now;
H A Dnfs_subr.c134 time_t now = clocktime(NULL); local
163 mp->am_ttl = now + mp->am_timeo_w;
658 * which is now out of date.
763 * stale now, what's it going to be in 5 minutes?)
H A Drpc_fwd.c96 time_t now = clocktime(NULL); local
103 if (p2->rf_ttl <= now) {
132 p->rf_ttl = now + 43;
/freebsd-10.0-release/contrib/amd/doc/
H A Dtexinfo.tex436 % We prepended an \empty token at the very beginning and we expand it now,
1298 % now, I guess we'll just let the pdf reader have its way.
1394 % For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
1893 % So now @email is just like @uref, unless we are pdf.
1963 % be smaller yet, but lllsize is the best we can do for now.
2822 % And now expand that command.
3354 \def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now
3378 % If a skip is the last thing on the list now, preserve it
3513 % to make right now.
3608 % And now come
[all...]
/freebsd-10.0-release/contrib/amd/libamu/
H A Dxutil.c990 static struct timeval now; /* keep last time, as default */ local
992 if (gettimeofday(&now, NULL) < 0) {
995 now.tv_sec++;
999 nt->nt_seconds = (u_int) now.tv_sec;
1000 nt->nt_useconds = (u_int) now.tv_usec;
1002 return (time_t) now.tv_sec;
/freebsd-10.0-release/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;

Completed in 338 milliseconds

1234567891011>>