Searched refs:tm_isdst (Results 1 – 12 of 12) sorted by relevance
/picolibc-latest/test/ |
D | timegm.h | 46 .tm_isdst = 0, 60 .tm_isdst = 0, 74 .tm_isdst = 0, 88 .tm_isdst = 0, 102 .tm_isdst = 0, 116 .tm_isdst = 0, 130 .tm_isdst = 0, 144 .tm_isdst = 0, 158 .tm_isdst = 0, 172 .tm_isdst = 0, [all …]
|
D | time-tests.c | 62 stm->tm_isdst = 0; in init_struct_tm() 133 dtForTimegm3.tm_isdst = 1; // Daylight saving time is in effect. That only affects local time. in main() 141 dtForTimegm3.tm_isdst != 0 ) // timegm() should reset the daylight saving time flag. in main() 152 dtForMktime4.tm_isdst != 1 ) // mktime() should leave the daylight saving time flag set. in main() 167 dtForTimegm5.tm_isdst = -123; // A negative value makes mktime() calculate this flag, in main() 174 dtForTimegm5.tm_isdst != 0 ) in main() 193 dtForTimegm6.tm_isdst = 123; // Some value that should be reset. in main() 202 dtForTimegm6.tm_isdst != 0 ) in main() 219 dtForTimegm7.tm_isdst != 0 ) in main()
|
D | timegm.c | 72 … printf (" .tm_isdst = %d,\n", tests[i].tm.tm_isdst); /* Daylight saving time */ in main() 115 if (ptm->tm_isdst != tests[i].tm.tm_isdst) { in main() 116 printf ("tm_isdst: got %d want %d,\n", ptm->tm_isdst, tests[i].tm.tm_isdst); in main()
|
/picolibc-latest/newlib/testsuite/newlib.time/ |
D | asctime.c | 57 .tm_isdst = 0, 72 .tm_isdst = 0, 87 .tm_isdst = 0 102 .tm_isdst = 1 118 .tm_isdst = 1 133 .tm_isdst = 1
|
D | tzset.c | 33 .tm_isdst = 0 44 .tm_isdst = 1
|
/picolibc-latest/newlib/libc/time/ |
D | mktime.c | 254 int tm_isdst; in mktime() local 257 tm_isdst = tim_p->tm_isdst > 0 ? 1 : tim_p->tm_isdst; in mktime() 258 isdst = tm_isdst; in mktime() 281 if (tm_isdst >= 0 && (isdst ^ tm_isdst) == 1) in mktime() 330 tim_p->tm_isdst = isdst; in mktime() 347 tim_p->tm_isdst = 0; in timegm()
|
D | lcltime_r.c | 54 res->tm_isdst = (tz->__tznorth in localtime_r() 60 res->tm_isdst = -1; in localtime_r() 63 res->tm_isdst = 0; in localtime_r() 65 offset = (res->tm_isdst == 1 in localtime_r()
|
D | strftime.c | 433 stm.tm_isdst = etm.tm_isdst = 0; in get_era_info() 1138 if (tim_p->tm_isdst >= 0) in __strftime() 1154 offset = -tz->__tzrule[tim_p->tm_isdst > 0].offset; in __strftime() 1371 if (tim_p->tm_isdst >= 0) in __strftime() 1389 offset = -tz->__tzrule[tim_p->tm_isdst > 0].offset; in __strftime() 1399 if (tim_p->tm_isdst >= 0) in __strftime() 1414 tznam = tzname[tim_p->tm_isdst > 0]; in __strftime() 1530 .tm_isdst = 0 1593 .tm_isdst = 1 1668 .tm_isdst = 1 [all …]
|
D | gmtime_r.c | 113 res->tm_isdst = 0; in gmtime_r()
|
D | time.tex | 60 @item tm_isdst
|
/picolibc-latest/newlib/libc/include/ |
D | time.h | 80 int tm_isdst; member
|
/picolibc-latest/newlib/ |
D | ChangeLog-2015 | 4069 (mktime): Set tm_isdst=0 when !daylight. 7039 * libc/time/time.tex: Enhance tm_isdst explanation, change strftime 8232 * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing 12972 tim_p->tm_isdst > 1).
|