Home
last modified time | relevance | path

Searched refs:tm_hour (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/tzcode/
Dstrptime.c273 if (!(_conv_num(&bp, &tm->tm_hour, 0, 23))) in _strptime()
282 if (!(_conv_num(&bp, &tm->tm_hour, 1, 12))) in _strptime()
311 if (tm->tm_hour > 12) /* i.e., 13:00 AM ?! */ in _strptime()
313 else if (tm->tm_hour == 12) in _strptime()
314 tm->tm_hour = 0; in _strptime()
322 if (tm->tm_hour > 12) /* i.e., 13:00 PM ?! */ in _strptime()
324 else if (tm->tm_hour < 12) in _strptime()
325 tm->tm_hour += 12; in _strptime()
Dstrftime.c305 pt = _conv(t->tm_hour,
311 pt = _conv((t->tm_hour % 12) ?
312 (t->tm_hour % 12) : 12,
333 pt = _conv(t->tm_hour,
356 pt = _conv((t->tm_hour % 12) ?
357 (t->tm_hour % 12) : 12,
378 pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ?
384 pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ?
Dasctime.c113 timeptr->tm_mday, timeptr->tm_hour,
Dlocaltime.c1659 tmp->tm_hour = (int) (rem / SECSPERHOUR);
1792 (result = (atmp->tm_hour - btmp->tm_hour)) == 0 &&
1825 if (normalize_overflow(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR))
1827 if (normalize_overflow(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY))
/bionic/libc/bionic/
Dtime64.c243 seconds += date->tm_hour * 60 * 60; in timegm64()
260 assert(tm->tm_hour >= 0); in check_tm()
261 assert(tm->tm_hour <= 23); in check_tm()
375 dest->tm_hour = src->tm_hour; in copy_tm_to_TM()
407 dest->tm_hour = src->tm_hour; in copy_TM_to_tm()
638 p->tm_hour = v_tm_hour; in gmtime64_r()
762 date->tm_mday, date->tm_hour, in asctime64_r()
/bionic/libc/kernel/common/linux/
Drtc.h25 int tm_hour; member
/bionic/libc/include/
Dtime.h48 int tm_hour; /* hours */ member
/bionic/libc/netbsd/resolv/
Dres_debug.c1127 mytime->tm_hour, mytime->tm_min, mytime->tm_sec); in p_secstodate()