HomeSort by: relevance | last modified time | path
    Searched defs:seconds (Results 1 - 20 of 20) sorted by relevancy

  /src/sys/arch/mac68k/mac68k/
pram.c 64 long year, month, day, hour, minute, seconds, i, dayperyear; local in function:convtime
71 seconds = 0;
114 seconds = t;
119 monstr[month], day, year, hour, minute, seconds);
  /src/games/rogue/
machdep.c 235 time_t seconds; local in function:md_gct
237 time(&seconds);
238 t = localtime(&seconds);
268 time_t seconds; local in function:md_gfmt
272 seconds = sbuf.st_mtime;
273 t = localtime(&seconds);
325 * seconds.
397 * current time (minutes + seconds) returned from md_gct(), if implemented.
408 time_t seconds; local in function:md_gseed
410 time(&seconds);
    [all...]
  /src/tests/kernel/kqueue/
t_timer.c 45 check_timespec(struct timespec *ts, time_t seconds)
47 time_t upper = seconds;
58 if (ts->tv_sec < seconds - 1 ||
59 (ts->tv_sec == seconds - 1 && ts->tv_nsec < 500000000))
67 seconds - 1, upper);
110 * Make sure TIME1_TOTAL_SEC seconds have
128 * Make sure TIME2_TOTAL_SEC seconds have
203 * Start a 500ms timer, sleep for 5 seconds, and check
218 * Modify to a 4 second timer, sleep for 5 seconds, and check
239 * Start a 500ms timer, sleep for 2 seconds
279 time_t seconds; local in function:ATF_TC_BODY
    [all...]
  /src/games/phantasia/
main.c 92 time_t seconds; /* for time of day */ local in function:main
194 time(&seconds);
195 Player.p_lastused = localtime(&seconds)->tm_yday;
  /src/usr.sbin/intrctl/
intrctl.c 247 int seconds = 0; local in function:intrctl_list
261 seconds = atoi(optarg);
262 if (seconds < 0)
263 errx(1, "seconds must be positive.");
272 if (seconds == 0)
274 sleep(seconds);
  /src/usr.sbin/screenblank/
screenblank.c 105 * Set the default timeouts: 10 minutes on, .25 seconds off.
405 int seconds, nanoseconds, factor; local in function:cvt_arg
409 seconds = 0;
428 seconds = (seconds * 10) + (*cp - '0');
431 tvp->tv_sec = seconds;
  /src/sys/fs/msdosfs/
msdosfs_conv.c 105 * The number of seconds between Jan 1, 1970 and Jan 1, 1980. In that
135 * DOS granularity is 2 seconds
177 time_t seconds; local in function:msdosfs_dos2unixtime
197 seconds = clock_ymdhms_to_secs(&ymd);
199 tsp->tv_sec = seconds;
  /src/lib/libc/resolv/
res_send.c 880 int seconds, n, s; local in function:send_dg
977 seconds = (statp->retrans << tries);
979 seconds /= statp->nscount;
980 if (seconds <= 0)
981 seconds = 1;
983 timeout = evConsTime((time_t)seconds, 0L);
  /src/sbin/bioctl/
bioctl.c 238 char size[64], percent[16], seconds[20]; local in function:bio_show_volumes
253 seconds[0] = '\0';
258 snprintf(seconds, sizeof(seconds),
259 " %u seconds", bv->bv_seconds);
332 rtype, stripe, percent, seconds);
  /src/usr.sbin/mmcformat/
mmcformat.c 69 int hours, minutes, seconds; local in function:print_eta
82 seconds = (int) eta % 60;
83 printf(" ETA %02d:%02d:%02d", hours, minutes, seconds);
  /src/bin/ksh/
var.c 117 { "SECONDS", V_SECONDS },
919 * handle special variables with side effects - PATH, SECONDS.
946 static time_t seconds; /* time SECONDS last set */ variable in typeref:typename:time_t
958 /* On start up the value of SECONDS is used before seconds
963 setint(vp, (long) (time((time_t *)0) - seconds));
1075 seconds = time((time_t*) 0) - intval(vp);
  /src/sbin/raidctl/
raidctl.c 1191 int minutes, seconds, hours; local in function:get_time_string
1199 seconds = simple_time - 60*minutes;
1204 * snprintf() truncation checker fails to detect that seconds
1209 if (seconds < 0 || seconds > 60)
1210 seconds = 60;
1221 snprintf(seconds_buffer,sizeof seconds_buffer,"%02d",seconds);
  /src/bin/sh/
var.c 129 struct var seconds; variable in typeref:struct:var
186 { &seconds, VSTRFIXED|VTEXTFIXED|VFUNCREF, "SECONDS=",
  /src/lib/libc/time/
zdump.c 311 platforms where time_t counts leap seconds; this works due to
443 " -t [L,]U Start at time L, end before time U (in seconds since 1970)\n"
675 intmax_t myy, seconds, years; local in function:yeartot
685 seconds = diff400 * SECSPER400YEARS;
688 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
692 if (t > absolute_max_time - seconds)
694 t += seconds;
701 seconds = diff400 * SECSPER400YEARS;
704 seconds = isleap(myy - 1) ? SECSPERLYEAR : SECSPERNYEAR;
708 if (t < absolute_min_time + seconds)
    [all...]
Makefile 142 # seconds since the epoch (not counting leap seconds), use
145 # as seconds since the epoch (counting leap seconds), use
147 # below. If you want both sets of data available, with leap seconds not
150 # below. If you want both sets of data available, with leap seconds counted
153 # below. POSIX mandates that leap seconds not be counted; for compatibility
449 # Where to fetch leap-seconds.list from.
451 https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list
461 # append "-r @N" to omit data before N-seconds-after-the-Epoch
    [all...]
localtime.c 223 int_least32_t tt_utoff; /* UT offset in seconds */
786 /* Read leap seconds, discarding those out of time_t range. */
793 /* Leap seconds cannot occur before the Epoch,
1036 ** Given a pointer into a timezone string, extract a number of seconds,
1040 ** of seconds.
1067 /* 'SECSPERMIN' allows for leap seconds. */
1708 register __time_t seconds; local in function:localsub
1712 seconds = sp->ats[0] - t;
1713 else seconds = t - sp->ats[sp->timecnt - 1];
1714 --seconds;
    [all...]
zic.c 1807 ** into a number of seconds.
1837 warning(_("fractional seconds rejected by"
2390 /* Omit as many initial leap seconds as possible, such that the
2496 ** Correct for leap seconds.
2834 int seconds, minutes; local in function:abbroffset
2841 seconds = offset % SECSPERMIN;
2853 if (minutes | seconds) {
2856 if (seconds) {
2857 *p++ = '0' + seconds / 10;
2858 *p++ = '0' + seconds % 10
2921 register int seconds; local in function:stringoffset
    [all...]
  /src/sys/arch/i386/stand/pxeboot/
pxe.h 477 uint16_t seconds; /* seconds since did initial member in struct:__anon2625f15d2b08
479 uint16_t Flags; /* seconds since did initial
  /src/sys/dist/pf/net/
pfvar.h 565 u_int32_t seconds; member in struct:pf_rule::__anon30a5ecce1308
646 u_int32_t seconds; member in struct:pf_threshold
1418 int seconds; member in struct:pfioc_tm
  /src/sys/sys/
videoio.h 1783 u_int8_t seconds; member in struct:v4l2_timecode
2070 struct v4l2_fract timeperframe; /* Time per frame in seconds */
2083 struct v4l2_fract timeperframe; /* Time per frame in seconds */

Completed in 58 milliseconds