Searched refs:tm_hour (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/tzcode/ |
D | strptime.c | 301 if (!(_conv_num(&bp, &tm->tm_hour, 0, 23))) in _strptime() 310 if (!(_conv_num(&bp, &tm->tm_hour, 1, 12))) in _strptime() 340 if (tm->tm_hour > 12) /* i.e., 13:00 AM ?! */ in _strptime() 342 else if (tm->tm_hour == 12) in _strptime() 343 tm->tm_hour = 0; in _strptime() 351 if (tm->tm_hour > 12) /* i.e., 13:00 PM ?! */ in _strptime() 353 else if (tm->tm_hour < 12) in _strptime() 354 tm->tm_hour += 12; in _strptime()
|
D | strftime.c | 283 pt = _conv(t->tm_hour, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt() 286 pt = _conv((t->tm_hour % 12) ? in _fmt() 287 (t->tm_hour % 12) : 12, in _fmt() 304 pt = _conv(t->tm_hour, getformat(modifier, "%2d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt() 324 pt = _conv((t->tm_hour % 12) ? in _fmt() 325 (t->tm_hour % 12) : 12, in _fmt() 339 pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ? in _fmt()
|
D | asctime.c | 109 timeptr->tm_mday, timeptr->tm_hour, in asctime_r()
|
D | localtime.c | 1687 tmp->tm_hour = (int) (rem / SECSPERHOUR); in timesub() 1826 (result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in tmcomp() 1859 if (normalize_overflow(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR)) in time2sub() 1861 if (normalize_overflow(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY)) in time2sub()
|
/bionic/tests/ |
D | time_test.cpp | 67 ASSERT_EQ(0, broken_down->tm_hour); in TEST() 80 ASSERT_EQ(0, broken_down->tm_hour); in TEST() 316 struct tm tm = {.tm_hour = 12}; in TEST() 318 EXPECT_EQ(0, tm.tm_hour); in TEST() 320 tm = {.tm_hour = 12}; in TEST() 322 EXPECT_EQ(0, tm.tm_hour); in TEST() 324 tm = {.tm_hour = 12}; in TEST() 326 EXPECT_EQ(0, tm.tm_hour); in TEST() 328 tm = {.tm_hour = 12}; in TEST() 330 EXPECT_EQ(0, tm.tm_hour); in TEST() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 225 pt = _conv(t->tm_hour, L"%02d", pt, ptlim); in _fmt() 228 pt = _conv((t->tm_hour % 12) ? in _fmt() 229 (t->tm_hour % 12) : 12, in _fmt() 246 pt = _conv(t->tm_hour, L"%2d", pt, ptlim); in _fmt() 258 pt = _conv((t->tm_hour % 12) ? in _fmt() 259 (t->tm_hour % 12) : 12, in _fmt() 272 pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ? in _fmt()
|
/bionic/libc/bionic/ |
D | time64.c | 236 seconds += date->tm_hour * 60 * 60; in timegm64() 254 assert(tm->tm_hour >= 0); in check_tm() 255 assert(tm->tm_hour <= 23); in check_tm() 370 dest->tm_hour = src->tm_hour; in copy_tm_to_TM() 402 dest->tm_hour = src->tm_hour; in copy_TM_to_tm() 633 p->tm_hour = v_tm_hour; in gmtime64_r() 771 date->tm_mday, date->tm_hour, in asctime64_r()
|
/bionic/libc/kernel/uapi/linux/ |
D | rtc.h | 26 int tm_hour; member
|
/bionic/libc/include/ |
D | time.h | 49 int tm_hour; member
|
/bionic/tests/headers/posix/ |
D | time_h.c | 50 STRUCT_MEMBER(struct tm, int, tm_hour); in time_h()
|
/bionic/libc/dns/resolv/ |
D | res_debug.c | 1195 mytime->tm_hour, mytime->tm_min, mytime->tm_sec); in p_secstodate()
|