Searched refs:tm (Results 1 - 17 of 17) sorted by relevance

/bionic/libc/include/
H A Dtime64.h50 char* asctime64(const struct tm*);
51 char* asctime64_r(const struct tm*, char*);
54 struct tm* gmtime64(const time64_t*);
55 struct tm* gmtime64_r(const time64_t*, struct tm*);
56 struct tm* localtime64(const time64_t*);
57 struct tm* localtime64_r(const time64_t*, struct tm*);
58 time64_t mktime64(const struct tm*);
59 time64_t timegm64(const struct tm*);
[all...]
H A Dtime.h46 struct tm { struct
65 char* asctime(const struct tm*);
66 char* asctime_r(const struct tm*, char*);
69 time_t mktime(struct tm*);
71 struct tm* localtime(const time_t*);
72 struct tm* localtime_r(const time_t*, struct tm*);
74 struct tm* gmtime(const time_t*);
75 struct tm* gmtime_r(const time_t*, struct tm*);
[all...]
H A Dwchar.h82 size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
/bionic/tools/versioner/current/
H A Dtime64.h50 char* asctime64(const struct tm*);
51 char* asctime64_r(const struct tm*, char*);
54 struct tm* gmtime64(const time64_t*);
55 struct tm* gmtime64_r(const time64_t*, struct tm*);
56 struct tm* localtime64(const time64_t*);
57 struct tm* localtime64_r(const time64_t*, struct tm*);
58 time64_t mktime64(const struct tm*);
59 time64_t timegm64(const struct tm*);
[all...]
H A Dtime.h46 struct tm { struct
65 char* asctime(const struct tm*);
66 char* asctime_r(const struct tm*, char*);
69 time_t mktime(struct tm*);
71 struct tm* localtime(const time_t*);
72 struct tm* localtime_r(const time_t*, struct tm*);
74 struct tm* gmtime(const time_t*);
75 struct tm* gmtime_r(const time_t*, struct tm*);
[all...]
H A Dwchar.h82 size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
/bionic/libc/tzcode/
H A Dstrptime.c97 static unsigned char *_strptime(const unsigned char *, const char *, struct tm *,
102 strptime(const char *buf, const char *fmt, struct tm *tm) argument
107 return (char*)(_strptime((const unsigned char*)buf, fmt, tm, &cr));
111 _strptime(const unsigned char *buf, const char *fmt, struct tm *tm, struct century_relyear *cr) argument
163 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr)))
169 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr)))
175 if (!(bp = _strptime(bp, "%H:%M", tm, cr)))
181 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, c
[all...]
H A Dprivate.h384 struct tm *gmtime(time_t const *);
385 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
386 struct tm *localtime(time_t const *);
387 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
388 time_t mktime(struct tm *);
394 extern char *asctime_r(struct tm const *restrict, char *restrict);
422 struct tm *offtime(time_t const *, long);
425 time_t timegm(struct tm *);
[all...]
H A Dasctime.c72 asctime_r(register const struct tm *timeptr, char *buf)
125 asctime(register const struct tm *timeptr)
H A Dlocaltime.c72 ** 5. They might reference tm.TM_ZONE after calling offtime.
152 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t,
153 struct tm *);
157 static struct tm *timesub(time_t const *, int_fast32_t, struct state const *,
158 struct tm *);
189 static struct tm tm; variable in typeref:struct:tm
1401 static struct tm *
1403 struct tm *const tmp)
1407 register struct tm * resul
[all...]
H A Dstrftime.c119 static char * _fmt(const char *, const struct tm *, char *, const char *,
138 strftime_l(char *s, size_t maxsize, char const *format, struct tm const *t,
149 strftime(char *s, size_t maxsize, const char *format, const struct tm *t)
193 _fmt(const char *format, const struct tm *t, char *pt,
355 struct tm tm; local
360 tm = *t;
361 mkt = mktime64(&tm);
/bionic/tests/
H A Dtime_test.cpp36 tm* broken_down = gmtime(&t);
75 struct tm t;
76 memset(&t, 0, sizeof(tm));
85 memset(&t, 0, sizeof(tm));
96 struct tm t;
97 memset(&t, 0, sizeof(tm));
125 struct tm t;
126 memset(&t, 0, sizeof(tm));
149 struct tm t;
150 memset(&t, 0, sizeof(tm));
646 struct tm tm; local
707 struct tm tm = {}; local
[all...]
H A Dwchar_test.cpp465 struct tm t;
466 memset(&t, 0, sizeof(tm));
/bionic/libc/bionic/
H A Dtime64.c77 #define TM tm
245 static int check_tm(struct TM *tm) argument
248 assert(tm->tm_sec >= 0);
249 assert(tm->tm_sec <= 61);
251 assert(tm->tm_min >= 0);
252 assert(tm->tm_min <= 59);
254 assert(tm->tm_hour >= 0);
255 assert(tm->tm_hour <= 23);
257 assert(tm->tm_mday >= 1);
258 assert(tm
[all...]
/bionic/benchmarks/
H A Dtime_benchmark.cpp74 struct tm tm; local
75 localtime_r(&t, &tm);
/bionic/libc/upstream-openbsd/lib/libc/time/
H A Dwcsftime.c107 static wchar_t * _fmt(const wchar_t *, const struct tm *, wchar_t *, const wchar_t *,
120 const wchar_t *__restrict format, const struct tm *__restrict t)
138 _fmt(const wchar_t *format, const struct tm *t, wchar_t *pt,
288 struct tm tm; local
293 tm = *t;
294 mkt = mktime(&tm);
/bionic/libc/dns/resolv/
H A Dres_debug.c1165 struct tm *mytime;
1167 struct tm res;

Completed in 190 milliseconds