/third_party/musl/src/time/ |
D | strftime.c | 21 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num() 24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num() 31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1() 91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1() 104 val = tm->tm_yday+1; in __strftime_fmt_1() 143 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() 146 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
|
D | strptime.c | 73 dest = &tm->tm_yday; in strptime() 170 case offsetof(struct tm, tm_yday): in strptime()
|
/third_party/musl/porting/liteos_a/kernel/src/time/ |
D | strftime.c | 21 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num() 24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num() 31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1() 91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1() 104 val = tm->tm_yday+1; in __strftime_fmt_1() 143 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() 146 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
|
D | strptime.c | 73 dest = &tm->tm_yday; in strptime() 170 case offsetof(struct tm, tm_yday): in strptime()
|
/third_party/musl/porting/uniproton/kernel/src/time/ |
D | strftime.c | 21 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num() 24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num() 31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1() 91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1() 104 val = tm->tm_yday+1; in __strftime_fmt_1() 143 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() 146 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
|
D | strptime.c | 73 dest = &tm->tm_yday; in strptime() 170 case offsetof(struct tm, tm_yday): in strptime()
|
/third_party/musl/porting/liteos_m/kernel/src/time/ |
D | strftime.c | 21 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num() 24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num() 31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 90 if (tm->tm_yday < 3 && week_num(tm) != 1) val--; in __strftime_fmt_1() 91 else if (tm->tm_yday > 360 && week_num(tm) == 1) val++; in __strftime_fmt_1() 104 val = tm->tm_yday+1; in __strftime_fmt_1() 143 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() 146 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
|
D | strptime.c | 73 dest = &tm->tm_yday; in strptime() 170 case offsetof(struct tm, tm_yday): in strptime()
|
/third_party/musl/porting/linux/user/src/time/ |
D | strftime.c | 49 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num() 52 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num() 59 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 66 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 122 if (tm->tm_yday < __DAY_LAST_WEEK2__ && week_num(tm) != 1) { in __strftime_fmt_1() 124 } else if (tm->tm_yday > __DAYS_IN_YEAR__ && week_num(tm) == 1) { in __strftime_fmt_1() 145 val = tm->tm_yday+1; in __strftime_fmt_1() 200 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() 203 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
|
/third_party/musl/libc-test/src/functional/ |
D | strftime.c | 28 .tm_yday = 2, 40 .tm_yday = 4, 52 .tm_yday = 53, 64 .tm_yday = 0, 76 .tm_yday = 0,
|
D | time.c | 22 tm1.tm_yday != tm2.tm_yday || in tm_cmp() 35 tm.tm_wday, tm.tm_yday, tm.tm_isdst); in tm_str() 42 .tm_wday = wd, .tm_yday = yd, .tm_isdst = dst }
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/ |
D | 1-1.c | 87 if ((tm_ptr->tm_yday >= 0) && (tm_ptr->tm_yday <= 365)) { in main() 88 printf("yday %02d\n", tm_ptr->tm_yday); in main()
|
/third_party/tzdata/ |
D | strftime.c | 254 pt = _conv(t->tm_yday + 1, "%03d", pt, ptlim); in _fmt() 323 tm.tm_yday = -1; in _fmt() 332 && tm.tm_yday == tm_1.tm_yday in _fmt() 353 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() 398 yday = t->tm_yday; in _fmt() 467 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt()
|
/third_party/gettext/gettext-tools/src/ |
D | po-time.c | 39 a->tm_yday - b->tm_yday in difftm()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_date_time.cpp | 720 (t.tm_year == zt.tm_year && t.tm_yday > zt.tm_yday) || in CurrentDateTimeAndZone() 721 (t.tm_year == zt.tm_year && t.tm_yday == zt.tm_yday && tzHour > 0) || in CurrentDateTimeAndZone() 722 (t.tm_year == zt.tm_year && t.tm_yday == zt.tm_yday && tzHour == 0 && tzMin >= 0); in CurrentDateTimeAndZone()
|
/third_party/musl/libc-test/src/functionalext/time/ |
D | localtime.c | 49 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime_0100() 78 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime64_0100()
|
D | localtime_r.c | 50 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime_r_0100() 80 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime64_r_0100()
|
D | gmtime.c | 46 gmtm->tm_min, gmtm->tm_sec, gmtm->tm_wday, gmtm->tm_yday, gmtm->tm_isdst, in gmtime_0100()
|
D | gmtime_r.c | 46 gmtm->tm_min, gmtm->tm_sec, gmtm->tm_wday, gmtm->tm_yday, gmtm->tm_isdst, in gmtime_r_0100()
|
/third_party/boost/libs/locale/src/util/ |
D | gregorian.cpp | 200 tm_updated_.tm_mday += (value - (tm_updated_.tm_yday + 1)); in set_value() 377 return tm_.tm_yday + 1; in get_value() 495 … int dow_of_end_of_year = (end_of_year_days - tm_.tm_yday + tm_.tm_wday) % 7; in get_value() 500 int val = get_week_number(tm_.tm_yday,tm_.tm_wday); in get_value() 732 int diff = other->tm_.tm_yday - tm_.tm_yday; in difference()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
D | gmtime_r_sup.c | 505 gmtm->tm_yday, in gmtime_r_0100() 548 gmtm->tm_yday, in gmtime64_r_0100()
|
D | gmtime_sup.c | 505 gmtm->tm_yday, in gmtime_0100() 548 gmtm->tm_yday, in gmtime64_0100()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
D | 2-1-buildonly.c | 25 year = t.tm_yday; in dummyfcn()
|
/third_party/e2fsprogs/debugfs/ |
D | util.c | 275 if (ts.tm_yday == 0) in string_to_time() 276 ts.tm_yday = (ts.tm_mon * 31) - in string_to_time() 279 ret = ts.tm_sec + ts.tm_min*60 + ts.tm_hour*3600 + ts.tm_yday*86400 + in string_to_time()
|
/third_party/boost/boost/date_time/gregorian/ |
D | conversion.hpp | 52 datetm.tm_yday = d.day_of_year() - 1; in to_tm()
|