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

/ast/src/lib/libast/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));
H A Dtminit.c123 * return minutes west of GMT for local time clock
130 tzwest(time_t* clock, int* isdst) argument
142 if (!(tp = gmtime(clock)))
149 clock = &epoch;
150 tp = gmtime(clock);
160 tp = tmlocaltime(clock);
/ast/src/lib/libast/string/
H A Dfmttime.c33 fmttime(const char* format, time_t clock) argument
39 tmfmt(buf, z, format, &clock);
/ast/src/cmd/warp/
H A Dwarp.c688 warp_time(register Call_t* p, time_t* clock) argument
693 if ((t = (*(Time_f)p->call)(clock)) != (time_t)(-1) && !p->warped)
700 if (clock)
701 WARP_ABS(*clock);
708 time(time_t* clock) argument
712 return warp_time(&call, clock);
718 _time(time_t* clock) argument
722 return warp_time(&call, clock);
726 __time(time_t* clock) argument
730 return warp_time(&call, clock);
734 _libc_time(time_t* clock) argument
742 __libc_time(time_t* clock) argument
1738 warp_clock_gettime(register Call_t* p, int clock, struct timespec* tv) argument
[all...]
/ast/src/lib/libast/port/
H A Dastlicense.c379 time_t clock; local
384 clock = (time_t)1000212300;
385 t = ctime(&clock) + 20;
389 time(&clock);
390 t = ctime(&clock) + 20;
/ast/src/cmd/coshell/
H A Dservice.h287 unsigned long clock; member in struct:__anon66
H A Djob.c235 state.real += cs.time - state.clock;
H A Dshell.c290 state.clock = cs.time;
H A Dcommand.c525 sfprintf(state.string, " clock %-6s ", fmtelapsed(cs.time - state.clock, 1));
781 state.real += cs.time - state.clock;
782 state.clock = cs.time;
H A Dmain.c110 state.clock = state.start = state.toss = cs.time;
/ast/src/cmd/INIT/
H A Dproto.c1735 time_t clock; variable
1740 clock = (time_t)1000212300;
1741 t = ctime(&clock) + 20;
1745 time(&clock); variable
1746 t = ctime(&clock) + 20;

Completed in 34 milliseconds