| /onnv/onnv-gate/usr/src/lib/libast/common/tm/ |
| 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));
|
| 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))
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| 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;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/libconv/common/ |
| 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, usec) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| 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) {
|
| 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,
|
| /onnv/onnv-gate/usr/src/lib/libc/port/sys/ |
| 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 >> 3) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
| toffset.c | 42 krb5_int32 sec, usec; local 45 retval = krb5_crypto_us_timeofday(&sec, &usec); 48 os_ctx->time_offset = seconds - sec;
|
| 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; /* Remember for next time * [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/ssl/ |
| s2_enc.c | 152 unsigned char sequence[4],*p,*sec,*act; local 159 sec=s->s2->write_key; 166 sec=s->s2->read_key; 177 EVP_DigestUpdate(&c,sec,
|
| /onnv/onnv-gate/usr/src/lib/fm/libfmd_log/common/ |
| 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);
|
| /onnv/onnv-gate/usr/src/lib/libnsl/nis/gen/ |
| nis_lookup.c | 78 int sec; local 188 sec = 2 << times_thru; 189 if (sec > __nis_max_hard_lookup_time) { 190 sec = __nis_max_hard_lookup_time; 193 (void) sleep(sec);
|
| /onnv/onnv-gate/usr/src/lib/libprtdiag/common/ |
| 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 */
|
| /onnv/onnv-gate/usr/src/uts/common/sys/fm/ |
| util.h | 71 uint64_t sec; /* seconds since gettimeofday() Epoch */ member in struct:erpt_dump::__anon7122 72 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */
|
| /onnv/onnv-gate/usr/src/cmd/format/ |
| 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 < nsect)); sec += 2) [all...] |
| /onnv/onnv-gate/usr/src/cmd/auditreduce/ |
| time.c | 171 int sec = tme->tm_sec; local 194 num_sec += sec;
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/date/ |
| date.c | 166 int sec = 0; local 177 (sec = atoi(&secptr[1])) >= 0 && sec < 60) 268 clock_val += sec;
|
| /onnv/onnv-gate/usr/src/cmd/hal/utils/ |
| fsutils.c | 120 uint_t sec = startsec; local 121 uint_t lastsec = sec + 1; 128 while (sec != lastsec) { 129 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) { 132 lastsec = sec; 140 relsect = sec + ltohi(ipart[i].relsect); 145 if (is_dos_extended(systid) && (sec == lastsec)) { 146 sec = startsec + ltohi(ipart[i].relsect); 148 relsect = startsec = sec;
|
| /onnv/onnv-gate/usr/src/cmd/sa/ |
| sagb.c | 230 int hr, min, sec; local 305 sscanf(fld[0], "%d:%d:%d", &hr, &min, &sec); 306 hour = (float)hr + (float)min/60 + (float)sec/3600;
|
| /onnv/onnv-gate/usr/src/cmd/vscan/vscand/ |
| vs_svc.c | 331 time_t sec; local 355 (void) time(&sec); 356 timestamp = localtime(&sec);
|
| /onnv/onnv-gate/usr/src/lib/libzpool/common/ |
| util.c | 72 uint64_t sec; local 97 sec = MAX(1, vs->vs_timestamp / NANOSEC); 101 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops); 102 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops); 103 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes); 104 nicenum(vs->vs_bytes[ZIO_TYPE_WRITE] / sec, wbytes);
|
| /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| 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,
|
| /onnv/onnv-gate/usr/src/uts/common/fs/pcfs/ |
| pc_subr.c | 121 uint_t year, month, day, hour, min, sec; local 160 sec = (int)unixtime; 163 PC_DPRINTF3(1, "ux2pc time: %dh%dm%ds\n", hour, min, sec); 171 ASSERT(sec < 60); 174 LE_16(hour << HOURSHIFT | min << MINSHIFT | (sec / 2) << SECSHIFT); 192 uint_t year, month, day, hour, min, sec; local 194 sec = 2 * ((LE_16(pctp->pct_time) >> SECSHIFT) & SECMASK); 213 hour > 23 || min > 59 || sec > 59) { 216 day, month, year, hour, min, sec); 222 PC_DPRINTF3(1, "pc2ux time: %dh%dm%ds\n", hour, min, sec); [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_time.c | 119 uint32_t sec, nsec, tmp; local 122 sec = tmp - (tmp >> 2); 123 sec = tmp - (sec >> 5); 124 sec = tmp + (sec >> 1); 125 sec = tmp - (sec >> 6) + 7; 126 sec = tmp - (sec >> 3) 257 hrtime_t tod, hrt, sec, rem; local [all...] |