/titanic_50/usr/src/cmd/acct/ |
H A D | acctprc.c | 70 ulong_t etime, stime; in main() local 88 stime = expand(ab.ac_stime) + expand(ab.ac_utime); in main() 95 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; in main() 96 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; in main() 97 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; in main() 98 if (stime) in main() 99 pb.pt_mem = (mem + stime - 1) / stime; in main()
|
H A D | acctprc1.c | 84 ulong_t etime, stime; in main() local 132 stime = expand(ab.ac_stime) + expand(ab.ac_utime); in main() 139 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; in main() 140 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; in main() 141 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; in main() 142 if (stime) in main() 143 pb.pt_mem = (mem + stime - 1) / stime; in main()
|
/titanic_50/usr/src/cmd/sa/ |
H A D | timex.c | 65 char stime[9], etime[9]; in main() local 122 if (pflg + oflg) hmstime(stime); in main() 160 stime, etime, getpwuid(getuid())->pw_name, ttyid, aopt); in main() 264 hmstime(char stime[]) in hmstime() argument 271 strncpy(stime, ltime+11, 8); in hmstime() 272 stime[8] = '\0'; in hmstime()
|
/titanic_50/usr/src/cmd/bnu/ |
H A D | security.c | 60 char stime[MODSTR]; /* date and time that transfer member 113 copyText(scptr->stime, sizeof(scptr->stime), NOTAVAIL); 193 scptr->stime, FS, in scWrite() 255 copyText(scptr->stime, sizeof(scptr->stime), timeStamp()); in scStime()
|
H A D | account.c | 336 static time_t utime,stime; /* guaranteed 0 first time called */ in cpucycle() local 339 rval = ((tbuf.tms_utime-utime) + (tbuf.tms_stime-stime))*1000/HZ; in cpucycle() 341 stime = tbuf.tms_stime; in cpucycle()
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | time.c | 30 #pragma weak _stime = stime 49 stime(const time_t *tp) in stime() function
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | time.c | 51 stime(time_t time) in stime() function 78 return (stime((time_t)time)); in stime32()
|
/titanic_50/usr/src/uts/common/cpr/ |
H A D | cpr_stat.c | 72 cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; in cpr_stat_event_start() 74 cep->ce_msec.stime = cep->ce_msec.etime = tv.tv_nsec / 100000000; in cpr_stat_event_start() 110 cep->ce_sec.ltime = cep->ce_sec.etime - cep->ce_sec.stime; in cpr_stat_event_end() 120 (cep->ce_msec.etime <= cep->ce_msec.stime) ? 0 : in cpr_stat_event_end() 121 (cep->ce_msec.etime - cep->ce_msec.stime); in cpr_stat_event_end()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | usage.c | 504 net_time_t *st, net_time_t *et, char *stime, char *etime) in get_time_range() argument 509 if (stime == NULL && etime == NULL) in get_time_range() 512 if (stime != NULL) in get_time_range() 513 dissect_time(stime, st); in get_time_range() 517 if (stime != NULL || etime != NULL) { in get_time_range() 518 return (chk_time_bound(stime == NULL ? NULL : st, in get_time_range() 533 net_time_t *st, char *stime, uint64_t *lasttime) in get_starting_point() argument 541 if (stime == NULL) { in get_starting_point() 1040 char *logfile, char *resource, char *stime, char *etime, void *arg) in dladm_walk_usage_res() argument 1068 net_table->net_ctime_tail, &st, &et, stime, etime); in dladm_walk_usage_res() [all …]
|
/titanic_50/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 751 time_t stime; in show_history_date() local 765 stime = history->du_stime; in show_history_date() 767 localtime(&stime)); in show_history_date() 901 char *stime = NULL; in do_show_history() local 935 stime = optarg; in do_show_history() 969 if (resource == NULL && stime == NULL && etime == NULL) { in do_show_history() 994 } else if (resource == NULL && stime == NULL && etime == NULL && in do_show_history() 1002 DLADM_LOGTYPE_FLOW, file, resource, stime, etime, &state); in do_show_history() 1006 DLADM_LOGTYPE_FLOW, file, stime, etime, &state); in do_show_history()
|
/titanic_50/usr/src/uts/common/avs/ns/sdbc/ |
H A D | safestore.c | 303 unsigned stime; in ss_alloc_write() local 304 stime = nsc_usec(); in ss_alloc_write() 327 (nsc_usec()-stime)); in ss_alloc_write()
|
/titanic_50/usr/src/lib/libc/common/sys/ |
H A D | __time.s | 42 SYSCALL2_RVAL1(__stime,stime)
|
/titanic_50/usr/src/ucblib/libucb/port/sys/ |
H A D | gettimeofday.c | 84 return (stime(&t)); in settimeofday()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | settimeofday.c | 63 return (stime(&t)); in settimeofday()
|
/titanic_50/usr/src/test/libc-tests/tests/ |
H A D | c11_threads.c | 206 long stime = 10 * NANOSEC / MILLISEC; in cthr_test_sleep() local 214 ts.tv_nsec = stime; in cthr_test_sleep() 219 VERIFY3S(end - start, >, stime); in cthr_test_sleep()
|
/titanic_50/usr/src/lib/libast/common/tm/ |
H A D | tvsettime.c | 59 return stime(s); in tvsettime()
|
/titanic_50/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 84 struct timespec *stime) in pmcs_fwtime_to_systime() argument 108 stime->tv_sec = ss.sys_timestamp.tv_sec; in pmcs_fwtime_to_systime() 109 stime->tv_nsec = ss.sys_timestamp.tv_nsec; in pmcs_fwtime_to_systime() 112 if (stime->tv_nsec < nsecs) { in pmcs_fwtime_to_systime() 113 stime->tv_sec--; in pmcs_fwtime_to_systime() 114 stime->tv_nsec = stime->tv_nsec + NSECS_PER_SEC - nsecs; in pmcs_fwtime_to_systime() 116 stime->tv_nsec -= nsecs; in pmcs_fwtime_to_systime() 118 stime->tv_sec -= secs; in pmcs_fwtime_to_systime() 120 if (stime->tv_nsec + nsecs > NSECS_PER_SEC) { in pmcs_fwtime_to_systime() 121 stime->tv_sec++; in pmcs_fwtime_to_systime() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gc_via_tkt.c | 298 st_err = krb5_timestamp_to_sfstring(err_reply->stime, in krb5_get_cred_via_tkt() 317 abs(err_reply->stime - in krb5_get_cred_via_tkt() 340 st_err = krb5_timestamp_to_sfstring(err_reply->stime, in krb5_get_cred_via_tkt()
|
/titanic_50/usr/src/ucbhead/ |
H A D | unistd.h | 149 extern int stime(const time_t *);
|
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/ |
H A D | tvlib | 9 #define _lib_stime 1 /* stime() in default lib(s) */
|
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/ |
H A D | tvlib | 9 #define _lib_stime 1 /* stime() in default lib(s) */
|
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/ |
H A D | tvlib | 9 #define _lib_stime 1 /* stime() in default lib(s) */
|
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/FEATURE/ |
H A D | tvlib | 9 #define _lib_stime 1 /* stime() in default lib(s) */
|
/titanic_50/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 1390 time_t stime; in print_time() local 1398 stime = p->ap_status_time; in print_time() 1399 if (stime == (time_t)-1) { in print_time() 1404 if ((stime < year) || (stime > now)) { in print_time() 1406 dcgettext(NULL, FORMAT1, LC_TIME), localtime(&stime)); in print_time() 1409 dcgettext(NULL, FORMAT2, LC_TIME), localtime(&stime)); in print_time()
|
/titanic_50/usr/src/lib/libxcurses/h/posix/ |
H A D | mkslocal.h | 1100 m_textstr(4861, "stime,tty=TTY", "I"), "atime,args",\
|