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

/bionic/libc/include/
H A Dtime64.h42 struct tm *gmtime64_r (const time64_t *, struct tm *);
43 struct tm *localtime64_r (const time64_t *, struct tm *);
44 struct tm *gmtime64 (const time64_t *);
45 struct tm *localtime64 (const time64_t *);
47 char *asctime64 (const struct tm *);
48 char *asctime64_r (const struct tm *, char *);
53 time64_t timegm64 (const struct tm *);
54 time64_t mktime64 (const struct tm *);
[all...]
H A Dtime.h45 struct tm { struct
62 * struct tm, the value should be the field name
66 extern char* asctime(const struct tm* a);
67 extern char* asctime_r(const struct tm* a, char* buf);
71 extern time_t mktime (struct tm *a);
73 extern struct tm* localtime(const time_t *t);
74 extern struct tm* localtime_r(const time_t *timep, struct tm *result);
76 extern struct tm* gmtime(const time_t *timep);
77 extern struct tm* gmtime_
[all...]
H A Dwchar.h120 extern size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
/bionic/libc/private/
H A Dbionic_time.h56 extern size_t strftime_tz(char* s, size_t max, const char* format, const struct tm* tm, const struct strftime_locale* lc);
57 extern time_t mktime_tz(struct tm* const tmp, char const* tz);
58 extern void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz);
/bionic/libc/unistd/
H A Dtime.c51 struct timespec tm; local
52 clock_gettime( CLOCK_MONOTONIC, &tm);
53 return tm.tv_sec * CLOCKS_PER_SEC + (tm.tv_nsec * (CLOCKS_PER_SEC/1e9));
/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.h224 extern char * asctime_r(struct tm const *, char *);
263 struct tm *gmtime(time_t const *);
264 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
265 struct tm *localtime(time_t const *);
266 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
267 time_t mktime(struct tm *);
383 char *asctime_r(struct tm const *, char *);
H A Dasctime.c72 asctime_r(register const struct tm *timeptr, char *buf)
129 asctime(register const struct tm *timeptr)
H A Dlocaltime.c66 ** 5. They might reference tm.TM_ZONE after calling offtime.
162 static struct tm * gmtsub(const time_t * timep, const int_fast32_t offset,
163 struct tm * tmp, const struct state * sp); // android-changed: added sp.
164 static struct tm * localsub(const time_t * timep, int_fast32_t offset,
165 struct tm * tmp, const struct state * sp); // android-changed: added sp.
174 static time_t time1(struct tm * tmp,
175 struct tm * (*funcp)(const time_t *,
176 int_fast32_t, struct tm *, const struct state *), // android-changed: added state*.
178 static time_t time2(struct tm * const tmp,
179 struct tm * (*cons
1698 time2sub(struct tm * const tmp, struct tm *(*const funcp)(const time_t*, int_fast32_t, struct tm*, const struct state*), const int_fast32_t offset, int * const okayp, const int do_norm_secs, const struct state * sp) argument
[all...]
H A Dstrftime.c116 static char * _fmt(const char *, const struct tm *, char *, const char *,
139 const struct tm * const t;
149 const struct tm * const t;
199 const struct tm * const t;
403 struct tm tm; local
408 tm = *t;
409 mkt = mktime64(&tm);
/bionic/tests/
H A Dtime_benchmark.cpp24 extern "C" void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz);
30 tm broken_down_time;
H A Dtime_test.cpp26 struct tm epoch;
27 memset(&epoch, 0, sizeof(tm));
48 tm* broken_down = gmtime(&t);
60 struct tm t;
61 memset(&t, 0, sizeof(tm));
/bionic/libc/bionic/
H A Dtime64.c73 #define TM tm
251 static int check_tm(struct TM *tm) argument
254 assert(tm->tm_sec >= 0);
255 assert(tm->tm_sec <= 61);
257 assert(tm->tm_min >= 0);
258 assert(tm->tm_min <= 59);
260 assert(tm->tm_hour >= 0);
261 assert(tm->tm_hour <= 23);
263 assert(tm->tm_mday >= 1);
264 assert(tm
[all...]
H A Dwchar.cpp227 size_t wcsftime(wchar_t* wcs, size_t maxsize, const wchar_t* format, const struct tm* timptr) {
/bionic/libstdc++/include/
H A Dctime47 using ::tm;
/bionic/libc/netbsd/resolv/
H A Dres_debug.c1115 struct tm *mytime;
1117 struct tm res;

Completed in 334 milliseconds