/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | timegm.c | 58 _der_timegm (struct tm *tm) argument 63 if (tm->tm_year < 0) 65 if (tm->tm_mon < 0 || tm->tm_mon > 11) 67 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon]) 69 if (tm 92 _der_gmtime(time_t t, struct tm *tm) argument [all...] |
H A D | check-timegm.c | 44 struct tm tm; local 47 memset(&tm, 0, sizeof(tm)); 48 tm.tm_year = 106; 49 tm.tm_mon = 9; 50 tm.tm_mday = 1; 51 tm.tm_hour = 10; 52 tm.tm_min = 3; 54 t = _der_timegm(&tm); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/ |
H A D | humandate.c | 22 struct tm * tm; local 25 tm = localtime(&cursec); 26 if (!tm) 32 tm->tm_mday, months[tm->tm_mon], 33 tm->tm_hour, tm->tm_min, tm->tm_sec);
|
H A D | uglydate.c | 22 struct tm *tm; local 31 tm = gmtime(&sec); 37 tm->tm_yday = 0; 38 tm->tm_hour = 0; 39 tm->tm_min = 0; 40 tm->tm_sec = 0; 42 year = tm->tm_year; 48 tm->tm_yday, tm [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/ |
H A D | test-strptime.c | 10 struct tm tm; local 11 strptime(*argv, "%D", &tm);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ |
H A D | o_time.h | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result); 65 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | timegm.c | 53 rk_timegm (struct tm *tm) argument 61 if (tm->tm_year < 0) 63 if (tm->tm_mon < 0 || tm->tm_mon > 11) 65 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon]) 67 if (tm [all...] |
H A D | localtime_r.c | 44 ROKEN_LIB_FUNCTION struct tm * ROKEN_LIB_CALL 45 localtime_r(const time_t *timer, struct tm *result) 52 struct tm *tm; 54 tm = localtime((time_t *)timer); 55 if (tm == NULL) 57 *result = *tm;
|
H A D | strftime.c | 121 * Return the week number of `tm' (Sunday being the first day of the week) 126 week_number_sun (const struct tm *tm) argument 128 return (tm->tm_yday + 7 - (tm->tm_yday % 7 - tm->tm_wday + 7) % 7) / 7; 132 * Return the week number of `tm' (Monday being the first day of the week) 137 week_number_mon (const struct tm *tm) argument 139 int wday = (tm 151 week_number_mon4(const struct tm *tm) argument 172 strftime(char *buf, size_t maxsize, const char *format, const struct tm *tm) argument [all...] |
H A D | tm2time.c | 49 tm2time (struct tm tm, int local) argument 53 tm.tm_isdst = local ? -1 : 0; 55 t = mktime (&tm);
|
H A D | strpftime-test.h | 52 const struct tm *tm); 55 strptime (const char *buf, const char *format, struct tm *timeptr);
|
/netbsd-6-1-5-RELEASE/gnu/usr.bin/rcs/lib/ |
H A D | maketime.h | 37 struct tm *time2tm __MAKETIME_P((time_t,int)); 38 time_t difftm __MAKETIME_P((struct tm const *, struct tm const *)); 40 time_t tm2time __MAKETIME_P((struct tm *, int)); 41 void adjzone __MAKETIME_P((struct tm *, long));
|
H A D | maketime.c | 51 static int month_days P((struct tm const*)); 77 month_days(tm) 78 struct tm const *tm; 80 int m = tm->tm_mon; 82 + (m==1 && isleap(tm->tm_year + TM_YEAR_ORIGIN)); 86 * Convert UNIXTIME to struct tm form. 89 struct tm * 94 struct tm *tm; local 263 struct tm tm; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | strftime.h | 21 size_t nstrftime (char *, size_t, char const *, struct tm const *, int, int);
|
H A D | time_r.c | 37 static struct tm * 38 copy_tm_result (struct tm *dest, struct tm const *src) 48 asctime_r (struct tm const * restrict tm, char * restrict buf) argument 50 return copy_string_result (buf, asctime (tm)); 59 struct tm * 60 gmtime_r (time_t const * restrict t, struct tm * restrict tp) 65 struct tm * 66 localtime_r (time_t const * restrict t, struct tm * restric [all...] |
H A D | time_r.h | 42 char *asctime_r (struct tm const * restrict, char * restrict); 50 struct tm *gmtime_r (time_t const * restrict, struct tm * restrict); 54 struct tm *localtime_r (time_t const * restrict, struct tm * restrict);
|
H A D | gettimeofday.c | 49 static struct tm *localtime_buffer_addr; 57 struct tm * 60 struct tm *tm = localtime (timep); local 63 localtime_buffer_addr = tm; 65 return tm; 69 struct tm * 72 struct tm *tm = gmtime (timep); local 75 localtime_buffer_addr = tm; [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/ |
H A D | cdf_time.c | 107 struct tm tm; local 117 tm.tm_sec = (int)(t % 60); 120 tm.tm_min = (int)(t % 60); 123 tm.tm_hour = (int)(t % 24); 127 tm.tm_year = (int)(CDF_BASE_YEAR + (t / 365)); 129 rdays = cdf_getdays(tm.tm_year); 131 tm.tm_mday = cdf_getday(tm.tm_year, (int)t); 132 tm 160 struct tm tm; local [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/ |
H A D | time.h | 51 struct tm * __restrict); 61 struct tm *gmtime(const int32_t *); 62 struct tm *localtime(const int32_t *); 64 int32_t mktime(struct tm *); 86 struct tm *gmtime_r(const int32_t * __restrict, struct tm * __restrict); 87 struct tm *localtime_r(const int32_t * __restrict, struct tm * __restrict); 88 struct tm *offtime(const int32_t *, long); 89 struct tm *offtime_ [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/tests/base/internal/ |
H A D | wchar_core.h | 14 extern size_t wcsftime(wchar_t *, __SGI_LIBC_NAMESPACE_QUALIFIER size_t, const char *, const struct tm *);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | cond3.C | 16 HELPER tm; local 17 Wtransf delta = (tm.current()) ? Identity2 : Wtransf();
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | cond3.C | 16 HELPER tm; local 17 Wtransf delta = (tm.current()) ? Identity2 : Wtransf();
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/tests/base/internal/ |
H A D | wchar_core.h | 14 extern size_t wcsftime(wchar_t *, __SGI_LIBC_NAMESPACE_QUALIFIER size_t, const char *, const struct tm *);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/format/ |
H A D | no-y2k-1.c | 9 foo (char *s, size_t m, const struct tm *tp)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/format/ |
H A D | no-y2k-1.c | 9 foo (char *s, size_t m, const struct tm *tp)
|