Home
last modified time | relevance | path

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

/bionic/libc/tzcode/
Dstrftime.c534 if (t->tm_isdst == 0) zone = tzname[0]; in _fmt()
535 else if (t->tm_isdst > 0) zone = tzname[1]; in _fmt()
545 if (t->tm_isdst >= 0) in _fmt()
546 pt = _add(tzname[t->tm_isdst != 0], in _fmt()
560 if (t->tm_isdst < 0) in _fmt()
584 if (t->tm_isdst == 0) in _fmt()
Dlocaltime.c1470 result->tm_isdst = ttisp->tt_isdst; in localsub()
1699 tmp->tm_isdst = 0; in timesub()
1977 && alttm.tm_isdst == mytm.tm_isdst in time2sub()
1986 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
1997 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst) in time2sub()
2000 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst) in time2sub()
2008 if (mytm.tm_isdst != yourtm.tm_isdst) in time2sub()
2068 if (tmp->tm_isdst > 1) in time1()
2069 tmp->tm_isdst = 1; in time1()
2073 if (tmp->tm_isdst < 0) in time1()
[all …]
/bionic/libc/kernel/uapi/linux/
Drtc.h30 int tm_isdst; member
/bionic/libc/bionic/
Dtime64.c376 dest->tm_isdst = src->tm_isdst; in copy_tm_to_TM()
408 dest->tm_isdst = src->tm_isdst; in copy_TM_to_tm()
543 p->tm_isdst = 0; in gmtime64_r()
/bionic/tests/
Dtime_test.cpp216 t.tm_isdst = 0; // "0 if Daylight Savings Time is not in effect". in TEST()
221 t.tm_isdst = 2; // "positive if Daylight Savings Time is in effect" in TEST()
225 t.tm_isdst = -123; // "and negative if the information is not available". in TEST()
233 t.tm_isdst = 0; in TEST()
238 t.tm_isdst = 1; // UTC has no DST. in TEST()
949 EXPECT_EQ(0, tm.tm_isdst); in TEST()
964 EXPECT_EQ(0, tm.tm_isdst); in TEST()
/bionic/libc/include/
Dtime.h55 int tm_isdst; member
/bionic/libc/upstream-openbsd/lib/libc/time/
Dwcsftime.c444 if (t->tm_isdst >= 0) in _fmt()
445 pt = _sadd(tzname[t->tm_isdst != 0], in _fmt()
458 if (t->tm_isdst < 0) in _fmt()
/bionic/tests/headers/posix/
Dtime_h.c56 STRUCT_MEMBER(struct tm, int, tm_isdst); in time_h()