Searched refs:tm (Results 26 - 50 of 673) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dprettydate.c55 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 Dtimer.c84 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 Dtime.c44 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 Dtime.h75 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 Dms_no-y2k-1.c10 foo (char *s, size_t m, const struct tm *tp)
H A Dms_nonlit-3.c10 foo (char *s, size_t m, const struct tm *tp, char *fmt)
H A Dnonlit-3.c9 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 Dtypes_std.cc28 std::tm t2;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/format/
H A Dnonlit-3.c9 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 Dheader_cwchar.cc30 std::tm __attribute__((unused)) mytime;
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dformat.h38 void dateof(struct tm *, struct message *, int);
/netbsd-6-1-5-RELEASE/usr.bin/at/
H A Dparsetime.c168 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 Dpartime.c212 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 Dpartime.h46 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 Dstrptime.c76 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 Drefclock_pcf.c138 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 Dwchar.h14 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 Dwchar.h14 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 Dutil.c60 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 Ddelete.c37 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 Dder_locl.h60 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 Dstrpftime-test.c238 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 Da_utctm.c196 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 Dtcsd_threads.c31 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 Dder-private.h55 struct tm *
58 struct tm */*tm*/);

Completed in 138 milliseconds

1234567891011>>