Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/include/
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 *);
55 time64_t timelocal64 (const struct tm *);
Dtime.h45 struct tm { struct
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_r(const time_t *timep, struct tm *result);
79 extern char* strptime(const char *buf, const char *fmt, struct tm *tm);
80 extern size_t strftime(char *s, size_t max, const char *format, const struct tm *tm);
[all …]
Dwchar.h122 extern size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
/bionic/libc/tzcode/
Dstrptime.c97 static unsigned char *_strptime(const unsigned char *, const char *, struct tm *,
102 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime() argument
107 return (char*)(_strptime((const unsigned char*)buf, fmt, tm, &cr)); in strptime()
111 _strptime(const unsigned char *buf, const char *fmt, struct tm *tm, struct century_relyear *cr) in _strptime() argument
163 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr))) in _strptime()
169 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr))) in _strptime()
175 if (!(bp = _strptime(bp, "%H:%M", tm, cr))) in _strptime()
181 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, cr))) in _strptime()
187 if (!(bp = _strptime(bp, "%H:%M:%S", tm, cr))) in _strptime()
193 if (!(bp = _strptime(bp, _ctloc(t_fmt), tm, cr))) in _strptime()
[all …]
Dlocaltime.c219 static struct tm * gmtsub P((const time_t * timep, long offset,
220 struct tm * tmp));
221 static struct tm * localsub P((const time_t * timep, long offset,
222 struct tm * tmp));
231 static time_t time1 P((struct tm * tmp,
232 struct tm * (*funcp) P((const time_t *,
233 long, struct tm *)),
235 static time_t time2 P((struct tm *tmp,
236 struct tm * (*funcp) P((const time_t *,
237 long, struct tm*)),
[all …]
Dasctime.c79 register const struct tm * timeptr; in asctime_r()
135 register const struct tm * timeptr; in asctime()
Dstrftime.c116 static char * _fmt P((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);
Dprivate.h336 char *asctime_r P((struct tm const *, char *));
/bionic/libc/unistd/
Dtime.c51 struct timespec tm; in clock_now() local
52 clock_gettime( CLOCK_MONOTONIC, &tm); in clock_now()
53 return tm.tv_sec * CLOCKS_PER_SEC + (tm.tv_nsec * (CLOCKS_PER_SEC/1e9)); in clock_now()
/bionic/libc/bionic/
Dtime64.c73 #define TM tm
251 static int check_tm(struct TM *tm) in check_tm() argument
254 assert(tm->tm_sec >= 0); in check_tm()
255 assert(tm->tm_sec <= 61); in check_tm()
257 assert(tm->tm_min >= 0); in check_tm()
258 assert(tm->tm_min <= 59); in check_tm()
260 assert(tm->tm_hour >= 0); in check_tm()
261 assert(tm->tm_hour <= 23); in check_tm()
263 assert(tm->tm_mday >= 1); in check_tm()
264 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); in check_tm()
[all …]
/bionic/libc/private/
Dbionic_time.h52 extern size_t strftime_tz(char *s, size_t max, const char *format, const struct tm *tm, const …
/bionic/libstdc++/include/
Dctime47 using ::tm;
/bionic/libc/stdlib/
Dwchar.c260 size_t wcsftime(wchar_t *wcs, size_t maxsize, const wchar_t *format, const struct tm *timptr) in wcsftime()
/bionic/libc/netbsd/resolv/
Dres_debug.c1115 struct tm *mytime; in p_secstodate()
1117 struct tm res; in p_secstodate()
/bionic/libc/docs/
DCHANGES.TXT180 'tm_gmtoff' field in 'struct tm' structure.