Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_machoread.c539 if (!secs) { in dwarf_macho_load_dwarf_section_details32()
556 ++secs; in dwarf_macho_load_dwarf_section_details32()
580 (secs->offset+secs->size) > mfp->mo_filesize) { in dwarf_macho_load_dwarf_section_details32()
584 secs->reserved1 = 0; in dwarf_macho_load_dwarf_section_details32()
585 secs->reserved2 = 0; in dwarf_macho_load_dwarf_section_details32()
586 secs->reserved3 = 0; in dwarf_macho_load_dwarf_section_details32()
609 if (!secs) { in dwarf_macho_load_dwarf_section_details64()
619 ++secs; in dwarf_macho_load_dwarf_section_details64()
650 (secs->offset+secs->size) > mfp->mo_filesize) { in dwarf_macho_load_dwarf_section_details64()
654 secs->reserved1 = 0; in dwarf_macho_load_dwarf_section_details64()
[all …]
/illumos-gate/usr/src/cmd/auditreduce/
H A Dproc.c384 time_t secs; local
421 secs = (time_t)s;
434 secs = (time_t)s;
445 secs = 0;
447 secs = (time_t)s;
449 secs = (time_t)s;
466 secs = 0;
468 secs = (time_t)s;
470 secs = (time_t)s;
1005 int32_t secs, msecs; local
[all …]
H A Dtime.c92 time_t secs, gsecs, lsecs, save_gsecs; in local_to_gm() local
100 r1secs = secs = tm_to_secs(tme); in local_to_gm()
101 (void) memcpy((void *)&gtime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm()
102 (void) memcpy((void *)&ltime, (void *)localtime(&secs), sizeof (ltime)); in local_to_gm()
110 secs = lsecs - gsecs; in local_to_gm()
111 gsecs -= secs; in local_to_gm()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_sleep.c40 __os_sleep(secs, usecs) in __os_sleep() argument
41 u_long secs, usecs; /* Seconds and microseconds. */ in __os_sleep()
46 for (; usecs >= 1000000; ++secs, usecs -= 1000000)
50 return (__db_jump.j_sleep(secs, usecs));
56 t.tv_sec = secs;
/illumos-gate/usr/src/cmd/dtrace/demo/tcp/
H A Dtcptop.d50 secs = $2 ? $2 : 5;
84 /secs != 0/
86 secs--;
93 /secs == 0/
119 secs = 5;
/illumos-gate/usr/src/cmd/dtrace/demo/udp/
H A Dudptop.d51 secs = $2 ? $2 : 5;
82 /secs != 0/
84 secs--;
91 /secs == 0/
/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c124 keyhit(unsigned int secs) in keyhit() argument
130 secs *= SECOND; in keyhit()
143 if (secs > 0) { in keyhit()
147 if (t1 < t0 || t1 >= t0 + secs) in keyhit()
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c48 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local
51 secs = src % 60; src /= 60; in ns_format_ttl()
74 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
75 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
/illumos-gate/usr/src/test/util-tests/tests/sleep/
H A Dsleeptest.ksh77 typeset secs=$2
79 typeset test="sleep $arg: $secs secs $nsecs ns"
81 if ! dtrace -qws $sleep_dscript -c "$sleep_prog $arg" $secs $nsecs; then
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh59 secs++;
63 /secs > 5/
69 /secs > 10/
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dmisc.c57 void sleep(int secs) in sleep() argument
61 for (tmo = currticks()+secs*TICKS_PER_SEC; currticks() < tmo; ) { in sleep()
69 void interruptible_sleep(int secs) in interruptible_sleep() argument
72 return sleep(secs); in interruptible_sleep()
H A Dgrub.h108 extern void sleep P((int secs));
109 extern void interruptible_sleep P((int secs));
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_wrappers.c20 char *p_secstodate(uint_t secs) { in p_secstodate() argument
21 return (isc_p_secstodate((ulong_t)secs)); in p_secstodate()
/illumos-gate/usr/src/stand/lib/sa/
H A Dunistd.c72 sleep(unsigned int secs) in sleep() argument
74 uint_t end = (secs * 1000) + prom_gettime(); in sleep()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c149 time_t secs; in log_write_cur_time() local
151 secs = time(NULL); in log_write_cur_time()
152 (void) localtime_r(&secs, &tm); in log_write_cur_time()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c608 uint32_t secs; in emlxs_msg_sprintf() local
617 secs = entry->time / 100; in emlxs_msg_sprintf()
658 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf()
664 "%8d.%02d: %6d:[%2X.%04X]%s:%7s:%4d: %s\n", secs, in emlxs_msg_sprintf()
672 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf()
678 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf()
/illumos-gate/usr/src/uts/common/disp/
H A Drt.c639 uint_t secs = 0; in rt_vaparmsin() local
674 secs = (uint_t)vpp->pc_parm; in rt_vaparmsin()
707 if ((secs == 0 && nsecs == 0) || nsecs >= NANOSEC) in rt_vaparmsin()
711 if ((ticks = SEC_TO_TICK((longlong_t)secs) + in rt_vaparmsin()
770 uint_t secs; in rt_vaparmsout() local
786 secs = 0; in rt_vaparmsout()
793 secs = ts.tv_sec; in rt_vaparmsout()
812 if (copyout(&secs, (caddr_t)(uintptr_t)vpp->pc_parm, in rt_vaparmsout()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncloop.c418 float secs, speed; in many_packets() local
540 secs = (float)(end_time.tv_usec - start_time.tv_usec) / 1000000.0; in many_packets()
541 secs += (float)(end_time.tv_sec - start_time.tv_sec); in many_packets()
542 if (secs) { in many_packets()
543 speed = 8 * incount * (4 + reclen) / secs; in many_packets()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt.h105 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ argument
106 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
/illumos-gate/usr/src/cmd/acct/
H A Dacctdef.h114 #define MINS(secs) ((double) secs)/60 argument
/illumos-gate/usr/src/lib/libresolv/
H A Dres_debug.c489 int secs, mins, hours; local
497 secs = value % 60;
522 if (secs || ! (value || hours || mins)) {
525 (void) sprintf(p, "%d sec%s", PLURALIZE(secs));
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_glue.c564 time_t secs; in clock_ts_to_ct() local
566 secs = ts->tv_sec; in clock_ts_to_ct()
567 days = secs / SECDAY; in clock_ts_to_ct()
568 rsec = secs % SECDAY; in clock_ts_to_ct()
/illumos-gate/usr/src/cmd/logadm/
H A Dkw.c77 static char secs[MAXDIGITS]; in kw_init() local
124 (void) snprintf(secs, MAXDIGITS, "%d", (int)Now); in kw_init()
125 Keywords = lut_add(Keywords, "secs", secs); in kw_init()
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c724 sip_add_expires(sip_msg_t sip_msg, int secs) in sip_add_expires() argument
728 if (sip_msg == NULL || (int)secs < 0) in sip_add_expires()
731 ret = sip_add_int_to_msg(sip_msg, SIP_EXPIRE, secs, NULL); in sip_add_expires()
768 sip_add_min_expires(sip_msg_t sip_msg, int secs) in sip_add_min_expires() argument
772 if (sip_msg == NULL || (int)secs < 0) in sip_add_min_expires()
774 ret = sip_add_int_to_msg(sip_msg, SIP_MIN_EXPIRE, secs, NULL); in sip_add_min_expires()
880 sip_add_retry_after(sip_msg_t sip_msg, int secs, char *cmt, char *plist) in sip_add_retry_after() argument
884 if (secs <= 0) in sip_add_retry_after()
888 r = sip_add_int_to_msg(sip_msg, SIP_RETRY_AFTER, secs, plist); in sip_add_retry_after()
892 r = sip_add_intstr_to_msg(sip_msg, SIP_RETRY_AFTER, secs, cmt, plist); in sip_add_retry_after()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c840 int deg = 0, min = 0, secs = 0, secsfrac = 0; in latlon2ul() local
863 secs = secs * 10 + (*cp++ - '0'); in latlon2ul()
889 + (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
895 - (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
1182 p_secstodate (u_long secs) { in p_secstodate() argument
1184 time_t clock = secs; in p_secstodate()

1234