/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/ |
H A D | prettydate.c | 55 struct tm * 60 struct tm *tm; local 133 while ( (tm = (*(local ? localtime : gmtime))(&t)) == 0) 147 /* 'tm' surely not NULL here... */ 148 NTP_INSIST(tm != NULL); 150 tm->tm_year += folds * SOLAR_CYCLE_YEARS; 151 if (tm->tm_year <= 0 || tm->tm_year >= 200) 154 return tm; 165 struct tm *tm; local [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/rtadvd/ |
H A D | timer.c | 84 newtimer->tm = tm_max; 102 rtadvd_set_timer(struct timeval *tm, struct rtadvd_timer *timer) argument 109 TIMEVAL_ADD(&now, tm, &timer->tm); 112 if (TIMEVAL_LT(timer->tm, tm_max)) 113 tm_max = timer->tm; 128 struct rtadvd_timer *tm; local 133 TAILQ_FOREACH(tm, &ra_timer, next) { 134 if (TIMEVAL_LEQ(tm->tm, no [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/ |
H A D | time.c | 44 struct tm tm; local 57 tm.tm_year = 70; 59 if (tm.tm_year == 0) 61 tm.tm_year--; 62 secs = year_secs(tm.tm_year + 1900); 65 while ((secs = year_secs(tm.tm_year + 1900)) <= t) { 67 tm.tm_year++; 68 if (tm.tm_year + 1900 > 9999) 71 tm [all...] |
/netbsd-6-1-5-RELEASE/include/ |
H A D | time.h | 75 struct tm { struct 90 char *asctime(const struct tm *); 95 struct tm *gmtime(const time_t *) __RENAME(__gmtime50); 96 struct tm *localtime(const time_t *) __RENAME(__locatime50); 98 time_t mktime(struct tm *) __RENAME(__mktime50); 101 const struct tm * __restrict) 131 struct tm * __restrict); 136 struct tm *getdate(const char *); 166 char *asctime_r(const struct tm * __restrict, char * __restrict); 169 struct tm *gmtime_ [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/format/ |
H A D | ms_no-y2k-1.c | 10 foo (char *s, size_t m, const struct tm *tp)
|
H A D | ms_nonlit-3.c | 10 foo (char *s, size_t m, const struct tm *tp, char *fmt)
|
H A D | nonlit-3.c | 9 foo (char *s, size_t m, const struct tm *tp, char *fmt)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/headers/ctime/ |
H A D | types_std.cc | 28 std::tm t2;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/format/ |
H A D | nonlit-3.c | 9 foo (char *s, size_t m, const struct tm *tp, char *fmt)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/17_intro/ |
H A D | header_cwchar.cc | 30 std::tm __attribute__((unused)) mytime;
|
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | format.h | 38 void dateof(struct tm *, struct message *, int);
|
/netbsd-6-1-5-RELEASE/usr.bin/at/ |
H A D | parsetime.c | 168 static void assign_date(struct tm *, int, int, int); 171 static void month(struct tm *); 174 static void plus(struct tm *); 175 static void tod(struct tm *); 313 plus(struct tm *tm) argument 325 tm->tm_year += delay; 328 tm->tm_mon += delay; 334 tm->tm_mday += delay; 337 tm 360 tod(struct tm *tm) argument 422 assign_date(struct tm *tm, int mday, int mon, int year) argument 457 month(struct tm *tm) argument [all...] |
/netbsd-6-1-5-RELEASE/gnu/usr.bin/rcs/lib/ |
H A D | partime.c | 212 t->tm.tm_sec = t->tm.tm_min = t->tm.tm_hour = t->tm.tm_mday = t->tm.tm_mon 213 = t->tm.tm_year = t->tm.tm_wday = t->tm.tm_yday 471 s = parse_fixed (s, 4, &t->tm.tm_year); 486 if (t->tm [all...] |
H A D | partime.h | 46 struct tm tm; member in struct:partime 50 * then tm.tm_year is actually modulo ymodulus.
|
/netbsd-6-1-5-RELEASE/lib/libc/time/ |
H A D | strptime.c | 76 strptime(const char *buf, const char *fmt, struct tm *tm) argument 163 new_fmt, tm); 172 bp = find_string(bp, &tm->tm_wday, _ctloc(day), 180 bp = find_string(bp, &tm->tm_mon, _ctloc(mon), 191 i += tm->tm_year % 100; 193 tm->tm_year = i; 199 bp = conv_num(bp, &tm->tm_mday, 1, 31); 207 bp = conv_num(bp, &tm->tm_hour, 0, 23); 215 bp = conv_num(bp, &tm [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_pcf.c | 138 struct tm tm, *tp; local 149 memset(&tm, 0, sizeof(tm)); 151 tm.tm_mday = buf[11] * 10 + buf[10]; 152 tm.tm_mon = buf[13] * 10 + buf[12] - 1; 153 tm.tm_year = buf[15] * 10 + buf[14]; 154 tm.tm_hour = buf[7] * 10 + buf[6]; 155 tm.tm_min = buf[5] * 10 + buf[4]; 156 tm [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/tests/base/ |
H A D | wchar.h | 14 extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__("__wcsftime_isoc");
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/tests/base/ |
H A D | wchar.h | 14 extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__("__wcsftime_isoc");
|
/netbsd-6-1-5-RELEASE/usr.bin/chpass/ |
H A D | util.c | 60 struct tm *tp = localtime(&tval); 73 static struct tm *lt; 74 struct tm tm; local 87 (void) memset(&tm, 0, sizeof(tm)); 90 t = strptime(p, "%B %d %Y", &tm); 93 if ((*store = mktime(&tm)) == (time_t) -1)
|
/netbsd-6-1-5-RELEASE/dist/nvi/common/ |
H A D | delete.c | 37 del(SCR *sp, MARK *fm, MARK *tm, int lmode) argument 48 for (lno = tm->lno; lno >= fm->lno; --lno) { 64 if (tm->lno >= lno) { 65 if (tm->lno == lno) { 68 eof = tm->cno != ENTIRE_LINE && tm->cno >= len ? 1 : 0; 72 for (lno = tm->lno; lno > fm->lno; --lno) { 91 if (tm->lno == fm->lno) { 97 MEMCPYW(bp + fm->cno, p + (tm->cno + 1), 98 len - (tm [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | der_locl.h | 60 time_t _der_timegm (struct tm *); 61 struct tm * _der_gmtime(time_t t, struct tm *);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | strpftime-test.c | 238 struct tm *tm; local 240 tm = gmtime (&tests[i].t); 245 struct tm tm2; 248 len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm); 284 struct tm tm; local 285 memset(&tm, 0, sizeof(tm)); 286 strptime ("200505", "%Y%m", &tm); [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | a_utctm.c | 196 struct tm *ts; 197 struct tm data; 254 struct tm *tm; local 255 struct tm data; 272 tm = OPENSSL_gmtime(&t, &data); 276 if (tm == NULL) 283 return_cmp(year, tm->tm_year); 284 return_cmp(g2(s->data+2) - 1, tm->tm_mon); 285 return_cmp(g2(s->data+4), tm [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcsd/ |
H A D | tcsd_threads.c | 31 struct tcsd_thread_mgr *tm = NULL; variable in typeref:struct:tcsd_thread_mgr 39 MUTEX_LOCK(tm->lock); 41 tm->shutdown = 1; 43 MUTEX_UNLOCK(tm->lock); 46 for (i = 0; i < tm->max_threads; i++) { 47 if (tm->thread_data[i].thread_id != THREAD_NULL) { 48 if ((rc = THREAD_JOIN(*(tm->thread_data[i].thread_id), NULL))) { 54 free(tm->thread_data); 55 free(tm); 64 tm [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/include/ |
H A D | der-private.h | 55 struct tm * 58 struct tm */*tm*/);
|