Searched refs:clock (Results 1 - 25 of 214) sorted by relevance

123456789

/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmmake.c33 * return Tm_t for clock
38 tmmake(time_t* clock) argument
40 return tmxmake(tmxclock(clock));
H A Dtmform.c36 * format date given clock
41 tmform(char* buf, const char* format, time_t* clock) argument
43 return tmfmt(buf, 256, format, clock);
H A Dtmleap.c33 * return clock with leap seconds adjusted
38 tmleap(register time_t* clock) argument
40 return tmxsec(tmxleap(tmxclock(clock)));
H A Dtmdate.c38 tmdate(const char* s, char** e, time_t* clock) argument
40 return tmxsec(tmxdate(s, e, tmxclock(clock)));
H A Dtmfmt.c33 * format date given clock into buf of length len
38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) argument
40 return tmxfmt(buf, len, format, tmxclock(clock));
H A Dtmscan.c38 tmscan(const char* s, char** e, const char* format, char** f, time_t* clock, long flags) argument
40 return tmxsec(tmxscan(s, e, format, f, tmxclock(clock), flags));
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmttime.c33 fmttime(const char* format, time_t clock) argument
39 tmfmt(buf, z, format, &clock);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Dspray_subr.c59 gettimeofday((struct timeval *)&cumul.clock, 0);
60 if (cumul.clock.usec < start_time.usec) {
61 cumul.clock.usec += 1000000;
62 cumul.clock.sec -= 1;
64 cumul.clock.sec -= start_time.sec;
65 cumul.clock.usec -= start_time.usec;
H A Dspray.c146 / (1000000.0 * cumul.clock.sec + cumul.clock.usec);
148 (1000000.0 * cumul.clock.sec + cumul.clock.usec);
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/funcs/
H A Dtst.badcopyout.d49 copyout(this->a, (uintptr_t)&`clock, 4);
55 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`clock ? 0 : 1);
H A Dtst.badcopyoutstr.d49 copyoutstr(this->str, (uintptr_t)&`clock, 10);
55 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`clock ? 0 : 1);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.rw.d41 @[rw_read_held((krwlock_t *)&`clock)] = count();
48 @[rw_write_held((krwlock_t *)&`clock)] = count();
55 @[rw_iswriter((krwlock_t *)&`clock)] = count();
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dtermclock.sh29 # termclock - a simple analog clock for terminals
99 x=clock.len_x*cos(a) ,
100 y=clock.len_y*sin(a)
103 tput_cup $(( y+clock.middle_y )) $(( x+clock.middle_x ))
126 x=(clock.len_x*(s/10.)*(length/100.))*cos(a) ,
127 y=(clock.len_y*(s/10.)*(length/100.))*sin(a)
130 tput_cup $(( y+clock.middle_y )) $(( x+clock.middle_x ))
163 clock
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.daytimed/
H A Din.daytimed.c49 time_t clock; local
52 clock = time(NULL);
53 (void) strlcpy(buf, ctime(&clock), sizeof (buf));
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddsapi.c86 c = clock();
93 c = clock() - c;
96 printf("time %d clock %.4lf -adding one object\n",
114 c = clock();
121 c = clock() - c;
124 printf("time %d clock %.4lf -updating one object\n",
142 c = clock();
149 c = clock() - c;
152 printf("time %d clock %.4lf -deleting one object\n",
170 c = clock();
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dgettimeofday.c44 time_t clock, time(time_t *); local
46 if (time(&clock) == (time_t) -1)
49 tvp->tv_sec = clock;
/illumos-gate/usr/src/cmd/saf/
H A Dlog.c107 time_t clock; /* current time in seconds */ local
110 (void) time(&clock);
111 timestamp = ctime(&clock);
172 time_t clock; /* current time in seconds */ local
175 (void) time(&clock);
176 timestamp = ctime(&clock);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcompat.c67 nsldapi_compat_ctime_r( const time_t *clock, char *buf, int buflen ) argument
69 NSLDAPI_CTIME1( clock, buf, buflen );
/illumos-gate/usr/src/head/rpcsvc/
H A Dspray.x54 spraytimeval clock;
/illumos-gate/usr/src/lib/libuuid/common/
H A Duuid_misc.h69 uint16_t clock; /* saved clock sequence */ member in struct:__anon4433
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c41 time_t clock; local
82 time(&clock);
83 tp = localtime(&clock);
H A Dutility.c112 time_t clock; local
115 (void) time(&clock);
116 tp = localtime(&clock);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dclock.c36 #include <sys/param.h> /* for HZ (clock frequency in Hz) */
42 clock(void) function
/illumos-gate/usr/src/uts/intel/asm/
H A DMakefile35 clock.h \
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c52 * Initializes our "clock" to the creation date of /timestamp, which is
90 gmtime(const time_t *clock) argument
101 days = *clock / SECS_PER_DAY;
102 rem = *clock % SECS_PER_DAY;
146 localtime(const time_t *clock) argument
148 return (gmtime(clock));

Completed in 71 milliseconds

123456789