Searched refs:tm_hour (Results 1 – 13 of 13) sorted by relevance
/picolibc-latest/test/ |
D | timegm.h | 40 .tm_hour = 23, 54 .tm_hour = 10, 68 .tm_hour = 0, 82 .tm_hour = 8, 96 .tm_hour = 2, 110 .tm_hour = 3, 124 .tm_hour = 0, 138 .tm_hour = 10, 152 .tm_hour = 3, 166 .tm_hour = 23, [all …]
|
D | timegm.c | 66 printf (" .tm_hour = %d,\n", tests[i].tm.tm_hour); /* Hours (0-23) */ in main() 91 if (ptm->tm_hour != tests[i].tm.tm_hour) { in main() 92 printf ("tm_hour: got %d want %d,\n", ptm->tm_hour, tests[i].tm.tm_hour); in main()
|
D | time-tests.c | 56 stm->tm_hour = 0; in init_struct_tm() 189 dtForTimegm6.tm_hour = 3, in main()
|
/picolibc-latest/newlib/testsuite/newlib.time/ |
D | asctime.c | 51 .tm_hour = 0, 66 .tm_hour = 0, 82 .tm_hour = 20, 97 .tm_hour = 10, 113 .tm_hour = 10, 128 .tm_hour = 10,
|
D | tzset.c | 29 .tm_hour = 20, 40 .tm_hour = 10,
|
/picolibc-latest/newlib/libc/time/ |
D | lcltime_r.c | 77 res->tm_hour -= hours; in localtime_r() 91 res->tm_hour += 1; in localtime_r() 96 res->tm_hour -= 1; in localtime_r() 99 if (res->tm_hour >= HOURSPERDAY) in localtime_r() 106 res->tm_hour -= HOURSPERDAY; in localtime_r() 119 else if (res->tm_hour < 0) in localtime_r() 126 res->tm_hour += 24; in localtime_r()
|
D | mktime.c | 119 tim_p->tm_hour += res.quot; in validate_structure() 123 --tim_p->tm_hour; in validate_structure() 127 if (tim_p->tm_hour < 0 || tim_p->tm_hour > 23) in validate_structure() 129 res = div (tim_p->tm_hour, 24); in validate_structure() 131 if ((tim_p->tm_hour = res.rem) < 0) in validate_structure() 133 tim_p->tm_hour += 24; in validate_structure() 196 (tim_p->tm_hour * SECSPERHOUR); in mktime_utc()
|
D | strptime.c | 248 timeptr->tm_hour = ret; in strptime_l() 257 timeptr->tm_hour = 0; in strptime_l() 259 timeptr->tm_hour = ret; in strptime_l() 295 if (timeptr->tm_hour > 12) in strptime_l() 297 else if (timeptr->tm_hour == 12) in strptime_l() 298 timeptr->tm_hour = ret * 12; in strptime_l() 300 timeptr->tm_hour += ret * 12; in strptime_l()
|
D | strftime.c | 446 stm.tm_hour = stm.tm_min = stm.tm_sec = 0; in get_era_info() 452 stm.tm_mon = stm.tm_mday = stm.tm_hour = stm.tm_min = stm.tm_sec = 0; in get_era_info() 460 etm.tm_hour = 23; in get_era_info() 473 etm.tm_hour = 23; in get_era_info() 1023 tim_p->tm_hour, *alt_digits); in __strftime() 1033 tim_p->tm_hour); in __strftime() 1043 h12 = (tim_p->tm_hour == 0 || tim_p->tm_hour == 12) ? in __strftime() 1044 12 : tim_p->tm_hour % 12; in __strftime() 1088 _ctloc (am_pm[tim_p->tm_hour < 12 ? 0 : 1]); in __strftime() 1105 tim_p->tm_hour, tim_p->tm_min); in __strftime() [all …]
|
D | asctime_r.c | 46 tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min, in asctime_r()
|
D | gmtime_r.c | 83 res->tm_hour = (int) (rem / SECSPERHOUR); in gmtime_r()
|
D | time.tex | 42 @item tm_hour
|
/picolibc-latest/newlib/libc/include/ |
D | time.h | 74 int tm_hour; member
|