/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmsleep.c | 35 tmsleep(time_t sec, time_t nsec) argument 39 tv.tv_sec = sec;
|
H A D | tmxleap.c | 41 uint32_t sec; local 46 sec = tmxsec(t); 47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++); 48 t = tmxsns(sec + lp->total, tmxnsec(t));
|
H A D | tmxtime.c | 52 int sec; local 79 t += sec = tm->tm_sec; 133 if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59))
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot0iic/ |
H A D | main.c | 37 int len, sec; local 42 sec = GetSeconds() + 1; 43 while (sec >= GetSeconds())
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | optname.c | 21 int sec = 0; local 34 if (!strcasecmp(s, "sec-class")) 35 sec = 1; 38 if (sec && !*(*cp + 1)) { 39 fprintf(stderr, "%d: missing security level after sec-class\n", 44 if (sec) {
|
H A D | printfr.c | 24 u_short sec[2]; local 229 sec[0] = fp->fr_secmask; 230 sec[1] = fp->fr_secbits; 232 optprint(sec, fp->fr_optmask, fp->fr_optbits); 235 optprintv6(sec, fp->fr_optmask,
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ustime.c | 40 krb5_int32 sec, usec; local 48 retval = krb5_crypto_us_timeofday(&sec, &usec); 55 sec++; 59 sec--; 61 sec += os_ctx->time_offset; 63 *seconds = sec;
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | time.c | 42 time_t sec; local 45 sec = newtime->tv_sec - oldtime->tv_sec; 50 sec -= 1; 54 * The default display is "sec.fraction", but ld(1) has been know to 57 if ((min = sec / 60) != 0) 58 sec = sec % 60; 64 MSG_ORIG(MSG_TIME_HMSF), hour, min, sec, usec); 67 MSG_ORIG(MSG_TIME_MSF), min, sec, usec); 70 MSG_ORIG(MSG_TIME_SF), sec, use [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot0spi/ |
H A D | main.c | 39 int len, i, j, off, sec; local 59 sec = GetSeconds() + 2; 60 while (sec <= GetSeconds())
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 42 uint32_t sec, nsec, tmp; local 45 sec = tmp - (tmp >> 2); 46 sec = tmp - (sec >> 5); 47 sec = tmp + (sec >> 1); 48 sec = tmp - (sec >> 6) + 7; 49 sec = tmp - (sec >> [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | c_ustime.c | 41 struct time_now { krb5_int32 sec, usec; }; member in struct:time_now 57 n->sec = timeptr.time; 82 n->sec = tv.tv_sec; 112 if ((now.sec == last_time.sec) && (now.usec <= last_time.usec)) { 116 ++now.sec; 120 returns of the same value that we roll over now.sec, and 121 the next call still gets the previous now.sec value. */ 123 last_time.sec = now.sec; /* Remembe [all...] |
H A D | toffset.c | 42 krb5_int32 sec, usec; local 45 retval = krb5_crypto_us_timeofday(&sec, &usec); 48 os_ctx->time_offset = seconds - sec;
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | time.c | 45 int hr, minute, sec; local 54 sec = bcd2bin((v86.edx & 0xff00) >> 8); /* second in %dh */ 56 return (hr * 3600 + minute * 60 + sec);
|
/illumos-gate/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_filter.c | 84 uint64_t sec = ((struct timeval *)arg)->tv_sec; local 86 return (rp->rec_sec == sec ? rp->rec_nsec <= nsec : rp->rec_sec <= sec); 93 uint64_t sec = ((struct timeval *)arg)->tv_sec; local 95 return (rp->rec_sec == sec ? rp->rec_nsec >= nsec : rp->rec_sec >= sec);
|
/illumos-gate/usr/src/uts/common/sys/fm/ |
H A D | util.h | 68 uint64_t sec; /* seconds since gettimeofday() Epoch */ member in struct:erpt_dump::__anon7830 69 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 126 unsigned int sleep(unsigned int sec) argument 133 tp = (void*)sh_timeradd(1000*sec, 0, completed, (void*)&expired); 149 tp = (void*)sh_timeradd(1000*sec, 0, completed, (void*)&expired);
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_funcs.c | 95 int sec, min, hour, day, month, year; local 102 sec = BCD_TO_BYTE(mostek[0] & 0x7f); 110 utc = (utc << 6) - (utc << 2) + sec; /* 60 * min + sec */
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 176 iu_schedule_timer(iu_tq_t *tq, uint32_t sec, iu_tq_callback_t *callback, argument 179 return (iu_schedule_timer_ms(tq, sec * MILLISEC, callback, arg)); 254 iu_adjust_timer(iu_tq_t *tq, iu_timer_id_t timer_id, uint32_t sec) argument 264 insert_timer(tq, node, sec * MILLISEC);
|
/illumos-gate/usr/src/cmd/format/ |
H A D | defect.c | 74 int sec, status; local 162 for (sec = 0; ((sec < BAD_LISTCNT * 2) && (sec < nsect)); sec += 2) { 164 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1, 325 int sec; local 384 for (sec = 0; ((sec < BAD_LISTCNT * 2) && (sec < nsec [all...] |
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | hdr_misc.c | 62 audio_secs_to_bytes(Audio_hdr *hp, double sec) argument 66 offset = (unsigned)(0.5 + (sec * 122 audio_secs_to_str(double sec, char *str, int precision) argument 130 if (sec == HUGE_VAL) { 141 if (sec < 0.) { 142 sec = -sec; 145 (void) sprintf(buf, "%.*f", precision, sec); 146 (void) sscanf(buf, "%lf", &sec); 147 if (sec > [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_print.c | 196 long long sec, msec, usec; local 201 sec = msec / 1000; 205 (void) snprintf(buf, sizeof (buf), "%4lld:%03lld:%03lld", sec, msec,
|
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 85 char sec[CFG_MAX_BUF]; /* rdc secondary vol */ local 153 shost, sec, sbm); 168 if ((strcmp(bmp, sec) == 0) || 199 (strcmp(bmp, sec) == 0) || 213 (strcmp(bmp, sec) == 0) ||
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_svc.c | 331 time_t sec; local 355 (void) time(&sec); 356 timestamp = localtime(&sec);
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | scf_notify.c | 383 time_t sec; /* hotplug event current time */ local 395 sec = time(NULL); 480 sdata.tstamp = (uint64_t)sec;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ospf.c | 114 long sec, mins, hour; local 117 sec = age % 60; 122 hour, mins, sec); 124 snprintf(lsa_age, sizeof (lsa_age), "%u:%02u", mins, sec); 126 snprintf(lsa_age, sizeof (lsa_age), "%u", sec);
|