Home
last modified time | relevance | path

Searched refs:tm_isdst (Results 1 – 12 of 12) sorted by relevance

/picolibc-latest/test/
Dtimegm.h46 .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 …]
Dtime-tests.c62 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()
Dtimegm.c72 … 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/
Dasctime.c57 .tm_isdst = 0,
72 .tm_isdst = 0,
87 .tm_isdst = 0
102 .tm_isdst = 1
118 .tm_isdst = 1
133 .tm_isdst = 1
Dtzset.c33 .tm_isdst = 0
44 .tm_isdst = 1
/picolibc-latest/newlib/libc/time/
Dmktime.c254 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()
Dlcltime_r.c54 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()
Dstrftime.c433 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 …]
Dgmtime_r.c113 res->tm_isdst = 0; in gmtime_r()
Dtime.tex60 @item tm_isdst
/picolibc-latest/newlib/libc/include/
Dtime.h80 int tm_isdst; member
/picolibc-latest/newlib/
DChangeLog-20154069 (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).