Home
last modified time | relevance | path

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

123

/titanic_44/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;
490 (pcb->pcb_cur)->fcb_start = secs;
[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()
/titanic_44/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;
/titanic_44/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;
/titanic_44/usr/src/cmd/dtrace/demo/udp/
H A Dudptop.d51 secs = $2 ? $2 : 5;
82 /secs != 0/
84 secs--;
91 /secs == 0/
/titanic_44/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local
57 secs = src % 60; src /= 60; in ns_format_ttl()
80 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
81 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dmisc.c254 long total, secs; in convtime() local
266 secs = strtol(p, &endp, 10); in convtime()
268 (errno == ERANGE && (secs == LONG_MIN || secs == LONG_MAX)) || in convtime()
269 secs < 0) in convtime()
281 secs *= MINUTES; in convtime()
285 secs *= HOURS; in convtime()
289 secs *= DAYS; in convtime()
293 secs *= WEEKS; in convtime()
298 total += secs; in convtime()
/titanic_44/usr/src/lib/libbc/inc/include/rpc/
H A Dclnt.h139 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ argument
140 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
141 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ argument
142 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
/titanic_44/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh59 secs++;
63 /secs > 5/
69 /secs > 10/
/titanic_44/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));
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dalarm.c35 alarm(unsigned int secs) in alarm() argument
41 itp->it_value.tv_sec = secs; in alarm()
/titanic_44/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()
/titanic_44/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()
/titanic_44/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))
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/acct/
H A Dacctdef.h114 #define MINS(secs) ((double) secs)/60 argument
/titanic_44/usr/src/lib/libresolv/
H A Dres_debug.c486 int secs, mins, hours; local
494 secs = value % 60;
519 if (secs || ! (value || hours || mins)) {
522 (void) sprintf(p, "%d sec%s", PLURALIZE(secs));
/titanic_44/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()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c209 time_t secs; in http_date2time_t() local
579 secs = ((((year - 1970) * 365 + dom[month] + day - 1 + leap) * 24 in http_date2time_t()
582 return (secs); in http_date2time_t()
1312 time_t secs; in nl7c_http_request() local
1325 secs = http_date2time_t(hp, ep); in nl7c_http_request()
1361 http->date = secs; in nl7c_http_request()
1376 http->moddate = secs; in nl7c_http_request()
1624 time_t secs; in nl7c_http_response() local
1643 secs = http_date2time_t(hp, ep); in nl7c_http_response()
1678 http->date = secs; in nl7c_http_response()
[all …]
/titanic_44/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c728 sip_add_expires(sip_msg_t sip_msg, int secs) in sip_add_expires() argument
732 if (sip_msg == NULL || (int)secs < 0) in sip_add_expires()
735 ret = sip_add_int_to_msg(sip_msg, SIP_EXPIRE, secs, NULL); in sip_add_expires()
773 sip_add_min_expires(sip_msg_t sip_msg, int secs) in sip_add_min_expires() argument
777 if (sip_msg == NULL || (int)secs < 0) in sip_add_min_expires()
779 ret = sip_add_int_to_msg(sip_msg, SIP_MIN_EXPIRE, secs, NULL); in sip_add_min_expires()
887 sip_add_retry_after(sip_msg_t sip_msg, int secs, char *cmt, char *plist) in sip_add_retry_after() argument
891 if (secs <= 0) in sip_add_retry_after()
895 r = sip_add_int_to_msg(sip_msg, SIP_RETRY_AFTER, secs, plist); in sip_add_retry_after()
899 r = sip_add_intstr_to_msg(sip_msg, SIP_RETRY_AFTER, secs, cmt, plist); in sip_add_retry_after()
/titanic_44/usr/src/uts/sun/sys/
H A Dsocalvar.h188 #define SOC_TIMEOUT_DELAY(secs, delay) (secs * (1000000 / delay)) argument

123