Searched defs:sec (Results 1 - 25 of 44) sorted by relevance

12

/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmsleep.c35 tmsleep(time_t sec, time_t nsec) argument
39 tv.tv_sec = sec;
H A Dtmxleap.c41 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 Dtmxtime.c52 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))
H A Dtmxscan.c50 int sec; member in struct:__anon1190
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE)
114 tm->tm_sec = (set->sec >= 0) ? set->sec : 0;
119 tm->tm_sec = (set->sec >= 0) ? set->sec : 0;
121 else if (set->sec >= 0)
122 tm->tm_sec = set->sec;
331 set.sec = n;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dustime.c40 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;
/osnet-11/usr/src/lib/libc/port/sys/
H A Dtime_util.c42 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...]
/osnet-11/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c92 int sec, min, hour, day, month, year; local
99 sec = BCD_TO_BYTE(mostek[0] & 0x7f);
107 utc = (utc << 6) - (utc << 2) + sec; /* 60 * min + sec */
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dsleep.c136 unsigned int sleep(unsigned int sec) argument
143 tp = (void*)sh_timeradd(1000*sec, 0, completed, (void*)&expired);
159 tp = (void*)sh_timeradd(1000*sec, 0, completed, (void*)&expired);
H A Dread.c62 Sfdouble_t sec; local
96 sec = sh_strnum(opt_info.arg, (char**)0,1);
97 timeout = sec ? 1000*sec : 1;
/osnet-11/usr/src/lib/libinetutil/common/
H A Dtq.c173 iu_schedule_timer(iu_tq_t *tq, uint32_t sec, iu_tq_callback_t *callback, argument
176 return (iu_schedule_timer_ms(tq, sec * MILLISEC, callback, arg));
251 iu_adjust_timer(iu_tq_t *tq, iu_timer_id_t timer_id, uint32_t sec) argument
261 insert_timer(tq, node, sec * MILLISEC);
/osnet-11/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c152 uint64_t sec = ((struct timeval *)arg)->tv_sec; local
154 return (rp->rec_sec == sec ? rp->rec_nsec <= nsec : rp->rec_sec <= sec);
161 uint64_t sec = ((struct timeval *)arg)->tv_sec; local
163 return (rp->rec_sec == sec ? rp->rec_nsec >= nsec : rp->rec_sec >= sec);
/osnet-11/usr/src/lib/libzpool/common/
H A Dutil.c71 uint64_t sec; local
96 sec = MAX(1, vs->vs_timestamp / NANOSEC);
100 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops);
101 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops);
102 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes);
103 nicenum(vs->vs_bytes[ZIO_TYPE_WRITE] / sec, wbytes);
/osnet-11/usr/src/lib/passwdutil/
H A Dutils.c261 time_t sec = time((time_t *)0); local
265 spw->sp_lstchg = (time32_t)(sec / DAY);
267 spw->sp_lstchg = (sec / DAY);
269 remain_min = (sec - (spw->sp_lstchg * DAY)) / 60;
/osnet-11/usr/src/lib/librdc/common/
H A Drdcrules.c85 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) ||
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dpata.c285 grub_uint8_t sec = grub_pata_regget (dev, GRUB_ATA_REG_SECTORS); local
286 grub_dprintf ("ata", "sectors=0x%x\n", sec);
287 if (sec != 0x5A)
/osnet-11/usr/src/cmd/hal/utils/
H A Dfsutils.c120 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;
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_print.c196 long long sec, msec, usec; local
201 sec = msec / 1000;
205 (void) snprintf(buf, sizeof (buf), "%4lld:%03lld:%03lld", sec, msec,
/osnet-11/usr/src/lib/libfedfs/common/
H A Dnsdb_primitives.c102 int rc, sec = FEDFS_SEC_NONE, len, do_starttls; local
128 sec = sectype_to_int(info->sectype);
141 if (sec != FEDFS_SEC_NONE && certpath != NULL) {
179 if (sec == FEDFS_SEC_NONE) {
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dromfs.c93 grub_disk_addr_t sec = 0; local
119 for (sec++; ; sec++)
121 err = grub_disk_read (dev->disk, sec, 0, sizeof (sb), &sb);
134 data->first_file = ALIGN_UP (ptr - sb.d, GRUB_ROMFS_ALIGN) + sec * 512;
/osnet-11/usr/src/lib/sasl_plugins/cram/
H A Dcram.c252 sasl_secret_t *sec = NULL; local
330 sec = sparams->utils->malloc(sizeof(sasl_secret_t) + len);
331 if (!sec) goto done;
333 sec->len = len;
335 strncpy((char *)sec->data, auxprop_values[0].values[0], len + 1);
337 strncpy(sec->data, auxprop_values[0].values[0], len + 1);
343 sec->data,
344 sec->len);
405 if (sec) _plug_free_secret(sparams->utils, &sec);
552 make_hashed(sasl_secret_t *sec, char *nonce, int noncelen, const sasl_utils_t *utils) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c77 evConsTime(time_t sec, long nsec) { argument
80 x.tv_sec = sec;
/osnet-11/usr/src/lib/libldap4/common/
H A Dtmplout.c1037 sec,
1045 if ((sec = tm -> tm_sec) < 0 || sec > 59
1067 result = 60 * result + sec;
1036 sec, local
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c1001 sec,
1009 if ((sec = tm -> tm_sec) < 0 || sec > 59
1031 result = 60 * result + sec;
1000 sec, local
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsvcctl_scm.c151 int64_t sec; local
153 r = scf_value_get_time(mgr_ctx->mc_scf_gval, &sec, &ns);
154 ((struct timeval *)vp)->tv_sec = sec;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_dof.c904 dof_sec_t *sec; local
929 sec = (dof_sec_t *)((uintptr_t)dof + sizeof (dof_hdr_t));
930 sec->dofs_type = DOF_SECT_OPTDESC;
931 sec->dofs_align = sizeof (uint64_t);
932 sec->dofs_flags = DOF_SECF_LOAD;
933 sec->dofs_entsize = sizeof (dof_optdesc_t);
935 dofo = (dof_optdesc_t *)((uintptr_t)sec +
938 sec->dofs_offset = (uintptr_t)dofo - (uintptr_t)dof;
939 sec->dofs_size = sizeof (dof_optdesc_t) * nopts;

Completed in 42 milliseconds

12