/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);
|
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...] |
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...] |
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;
|
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);
|
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;
|
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;
|
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);
|
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);
|
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);
|
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);
|
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);
|
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=",
|