/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Time/ |
H A D | tm.pm | 1 package Time::tm; 7 struct('Time::tm' => [ 16 Time::tm - internal object used by Time::gmtime and Time::localtime 25 Time::gmtime functions. It creates a Time::tm struct object which is 26 addressable just like's C's tm structure from F<time.h>; namely with sec,
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | _timeout.c | 49 timeout(int tm) argument 51 wtimeout(stdscr, tm);
|
H A D | wtimeout.c | 48 wtimeout(WINDOW *win, int tm) argument 50 win->_delay = tm;
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmequiv.c | 30 #include <tm.h> 50 * return the circa 2000 equivalent calendar year for tm 54 tmequiv(Tm_t* tm) argument 56 return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->tm_year)];
|
H A D | tmtime.c | 38 tmtime(register Tm_t* tm, int west) argument 40 return tmxsec(tmxtime(tm, west));
|
H A D | tmweek.c | 48 * if week<0 then return week for tm 49 * if day<0 then set tm to first day of week 50 * otherwise set tm to day in week 51 * and return tm->tm_yday 55 tmweek(Tm_t* tm, int type, int week, int day) argument 61 if ((day = tm->tm_wday - tm->tm_yday % 7) < 0) 63 week = (tm->tm_yday + offset[day][type]) / 7; 67 week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52; 68 else if (week == 53 && (tm [all...] |
H A D | tmfix.c | 37 * correct out of bounds fields in tm 41 * tm is the return value 45 tmfix(register Tm_t* tm) argument 58 if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) 60 tm [all...] |
H A D | tmxtime.c | 42 * with other tm*() that may return static Tm_t* 46 tmxtime(register Tm_t* tm, int west) argument 54 struct tm* tl; 58 ts = *tm; 59 to = tm; 60 tm = &ts; 62 tmfix(tm); 63 y = tm->tm_year; 68 if ((n = tm->tm_mon) > 11) 73 t += tm_data.sum[n] + tm [all...] |
H A D | tmxmake.c | 40 tmxtm(register Tm_t* tm, Time_t t, Tm_zone_t* zone) argument 42 register struct tm* tp; 68 if (!(tm->tm_zone = zone)) 71 tm->tm_zone = &tm_data.zone[2]; 73 tm->tm_zone = tm_info.zone; 75 if ((o = 60 * tm->tm_zone->west) && x > o) 84 tm->tm_sec = n % 60 + leapsec; 86 tm->tm_min = n % 60; 88 tm->tm_hour = n % 24; 91 tm [all...] |
H A D | tmxfmt.c | 116 Tm_t* tm; local 126 tm = tmxtm(&ts, t, NiL); 247 n = TM_DAY_ABBREV + tm->tm_wday; 250 n = TM_DAY + tm->tm_wday; 254 n = TM_MONTH_ABBREV + tm->tm_mon; 257 n = TM_MONTH + tm->tm_mon; 263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad); 266 cp = number(cp, ep, (long)tm->tm_mday, 2, width, pad); 272 cp = number(cp, ep, (long)tm->tm_mday, -2, width, pad); 282 n = tm [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | misc.c | 82 grub_int32_t tm; local 84 (fs->mtime) (dev, &tm); 87 grub_unixtime2datetime (tm, &datetime);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | debug.c | 46 double tm; local 52 tm = (double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec/1000000.0; 54 return prev = tm; 55 return tm - prev;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | cftime.c | 76 struct tm res; 77 struct tm *p; 89 ascftime(char *buf, const char *format, const struct tm *tm) argument 96 return ((int)strftime(buf, LONG_MAX, format, tm));
|
H A D | mktemp.c | 129 struct timeval tm; local 131 (void) gettimeofday(&tm, NULL); 132 previous_try = (tm.tv_sec * 1000 + tm.tv_usec / 1000) & 0xfff;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | gmt_mktime.c | 18 /* take a struct tm, return seconds from GMT epoch */ 39 time_t krb5int_gmt_mktime(struct tm *t) 101 struct tm tm = { local 108 tm.tm_year = yr; 109 t = gmt_mktime (&tm);
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtls.c | 32 #include <tm.h> 55 time_t tm; local 87 tm = (flags & LS_ATIME) ? st->st_atime : (flags & LS_CTIME) ? st->st_ctime : st->st_mtime; 88 s = tmfmt(s, LS_W_LONG / 2, "%?%QL", &tm);
|
/osnet-11/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_add.c | 53 unsigned int xm, ym, tm, fsr; local 63 tm = xm; 65 ym = tm;
|
H A D | _Q_sub.c | 53 unsigned int xm, ym, tm, fsr; local 64 tm = xm; 66 ym = tm;
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppbuiltin.c | 194 time_t tm; local 196 time(&tm); 197 a = p = ctime(&tm) + 4; 226 time_t tm; local 228 time(&tm); 229 p = ctime(&tm) + 11;
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfpoll.c | 32 int sfpoll(Sfio_t** fa, reg int n, int tm) argument 34 int sfpoll(fa, n, tm) 37 int tm; /* time in millisecs for select/poll */ 80 { if((m = (*f->disc->exceptf)(f,SF_DPOLL,&tm,f->disc)) < 0) 133 while((np = SFPOLL(fds,m,tm)) < 0 ) 187 if(tm < 0) 191 tmb.tv_sec = tm/SECOND; 192 tmb.tv_usec = (tm%SECOND)*SECOND;
|
H A D | sfpkrd.c | 40 ssize_t sfpkrd(int fd, Void_t* argbuf, size_t n, int rc, long tm, int action) argument 42 ssize_t sfpkrd(fd, argbuf, n, rc, tm, action) 47 long tm; /* time-out */ 58 if(rc < 0 && tm < 0 && action <= 0) 73 if((t&STREAM_PEEK) && (ntry == 1 || tm < 0) ) 108 while(tm >= 0 || action > 0 || 122 if((r = SFPOLL(&po,1,tm)) < 0) 144 if(tm < 0) 148 tmb.tv_sec = tm/SECOND; 149 tmb.tv_usec = (tm [all...] |
/osnet-11/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 213 time_t tm = abs_time; local 215 if (tm == DHCP_PERM) 219 localtime(&tm)) == 0)
|
/osnet-11/usr/src/cmd/sendmail/db/xa/ |
H A D | xa_map.c | 194 DB_TXNMGR *tm; local 197 tm = env->tx_info; 198 td = (TXN_DETAIL *)((u_int8_t *)tm->region + off); 200 LOCK_TXNREGION(tm); 202 UNLOCK_TXNREGION(tm);
|
/osnet-11/usr/src/lib/libvolmgt/common/ |
H A D | volprivate.c | 187 struct tm *tm; local 191 tm = localtime(&t); 193 tm->tm_mon+1, tm->tm_mday, tm->tm_year % 100, 194 tm->tm_hour, tm->tm_min, tm->tm_sec);
|
/osnet-11/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_evaccess.c | 273 struct tm * 274 fmev_localtime(fmev_t ev, struct tm *tm) argument 279 return (localtime_r(&seconds, tm));
|