/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_machoread.c | 534 struct generic_macho_section *secs = 0; in dwarf_macho_load_dwarf_section_details32() local 536 secs = (struct generic_macho_section *)calloc( in dwarf_macho_load_dwarf_section_details32() 539 if (!secs) { in dwarf_macho_load_dwarf_section_details32() 543 mfp->mo_dwarf_sections = secs; in dwarf_macho_load_dwarf_section_details32() 552 secs->offset_of_sec_rec = curoff; in dwarf_macho_load_dwarf_section_details32() 555 secs->dwarfsectname = ""; in dwarf_macho_load_dwarf_section_details32() 556 ++secs; in dwarf_macho_load_dwarf_section_details32() 558 for (; seci < secalloc; ++seci,++secs,curoff += shdrlen ) { in dwarf_macho_load_dwarf_section_details32() 567 strncpy(secs->sectname,mosec.sectname,16); in dwarf_macho_load_dwarf_section_details32() 568 secs->sectname[16] = 0; in dwarf_macho_load_dwarf_section_details32() [all …]
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | proc.c | 384 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; 490 (pcb->pcb_cur)->fcb_start = secs; [all …]
|
H A D | time.c | 90 time_t secs, gsecs, lsecs, save_gsecs; in local_to_gm() local 98 r1secs = secs = tm_to_secs(tme); in local_to_gm() 99 (void) memcpy((void *)>ime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm() 100 (void) memcpy((void *)<ime, (void *)localtime(&secs), sizeof (ltime)); in local_to_gm() 108 secs = lsecs - gsecs; in local_to_gm() 109 gsecs -= secs; in local_to_gm()
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_sleep.c | 40 __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 D | tcptop.d | 50 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 D | udptop.d | 51 secs = $2 ? $2 : 5; 82 /secs != 0/ 84 secs--; 91 /secs == 0/
|
/illumos-gate/usr/src/boot/i386/common/ |
H A D | cons.c | 124 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 D | ns_ttl.c | 48 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 D | sleeptest.ksh | 77 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 D | tst.spin.ksh | 59 secs++; 63 /secs > 5/ 69 /secs > 10/
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 57 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 D | grub.h | 108 extern void sleep P((int secs)); 109 extern void interruptible_sleep P((int secs));
|
/illumos-gate/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_wrappers.c | 20 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 D | unistd.c | 72 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 D | ndmpd_log.c | 149 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 D | emlxs_msg.c | 608 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 D | rt.c | 639 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 D | syncloop.c | 416 float secs, speed; in many_packets() local 538 secs = (float)(end_time.tv_usec - start_time.tv_usec) / 1000000.0; in many_packets() 539 secs += (float)(end_time.tv_sec - start_time.tv_sec); in many_packets() 540 if (secs) { in many_packets() 541 speed = 8 * incount * (4 + reclen) / secs; in many_packets()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | clnt.h | 105 #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 D | acctdef.h | 112 #define MINS(secs) ((double) secs)/60 argument
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_glue.c | 555 time_t secs; in clock_ts_to_ct() local 557 secs = ts->tv_sec; in clock_ts_to_ct() 558 days = secs / SECDAY; in clock_ts_to_ct() 559 rsec = secs % SECDAY; in clock_ts_to_ct()
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_debug.c | 489 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/lib/libsip/common/ |
H A D | sip_add_hdrs.c | 724 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/cmd/logadm/ |
H A D | kw.c | 75 static char secs[MAXDIGITS]; in kw_init() local 122 (void) snprintf(secs, MAXDIGITS, "%d", (int)Now); in kw_init() 123 Keywords = lut_add(Keywords, "secs", secs); in kw_init()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_debug.c | 840 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()
|