/external/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()
|
D | __secs_to_tm.c | 75 tm->tm_yday = yday; in __secs_to_tm()
|
/external/python/cpython2/Modules/ |
D | timemodule.c | 263 SET(7, p->tm_yday + 1); /* Want January, 1 == 1 */ in tmtotuple() 362 &p->tm_yday, in gettmarg() 387 p->tm_yday--; in gettmarg() 452 if (buf->tm_yday == -1) in checktm() 453 buf->tm_yday = 0; in checktm() 454 else if (buf->tm_yday < 0 || buf->tm_yday > 365) { in checktm() 539 if (buf.tm_yday == -1) in time_strftime() 540 buf.tm_yday = 0; in time_strftime() 541 else if (buf.tm_yday < 0 || buf.tm_yday > 365) { in time_strftime()
|
/external/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()
|
/external/rust/crates/chrono/src/sys/ |
D | unix.rs | 38 tm.tm_yday = rust_tm.tm_yday; in rust_tm_to_tm() 50 rust_tm.tm_yday = tm.tm_yday; in tm_to_rust_tm()
|
D | stub.rs | 40 tm.tm_yday = dayno as i32; in time_to_tm()
|
/external/rust/crates/chrono/src/ |
D | sys.rs | 59 tm_yday: 0, in local() 98 pub tm_yday: i32, field
|
/external/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()
|
/external/cronet/base/third_party/nspr/ |
D | prtime.cc | 156 numSecs = copy.tm_yday * 86400 + copy.tm_hour * 3600 + copy.tm_min * 60 + in PR_ImplodeTime() 230 time->tm_yday--; in ApplySecOffset() 237 time->tm_yday = 365; in ApplySecOffset() 239 time->tm_yday = 364; in ApplySecOffset() 250 time->tm_yday++; in ApplySecOffset() 258 time->tm_yday = 0; in ApplySecOffset() 356 time->tm_yday = static_cast<PRInt16>(time->tm_mday + in PR_NormalizeTime() 359 numDays = DAYS_BETWEEN_YEARS(1970, time->tm_year) + time->tm_yday; in PR_NormalizeTime()
|
D | prtime.h | 161 PRInt16 tm_yday; /* calculated day of the year member
|
/external/libchrome/base/third_party/nspr/ |
D | prtime.cc | 153 numSecs = copy.tm_yday * 86400 + copy.tm_hour * 3600 + copy.tm_min * 60 + in PR_ImplodeTime() 227 time->tm_yday--; in ApplySecOffset() 234 time->tm_yday = 365; in ApplySecOffset() 236 time->tm_yday = 364; in ApplySecOffset() 247 time->tm_yday++; in ApplySecOffset() 255 time->tm_yday = 0; in ApplySecOffset() 353 time->tm_yday = static_cast<PRInt16>(time->tm_mday + in PR_NormalizeTime() 356 numDays = DAYS_BETWEEN_YEARS(1970, time->tm_year) + time->tm_yday; in PR_NormalizeTime()
|
D | prtime.h | 161 PRInt16 tm_yday; /* calculated day of the year member
|
/external/pdfium/core/fxcrt/ |
D | fx_system.cpp | 141 timeptr->tm_yday < 0 || timeptr->tm_yday > 365) { in FXSYS_wcsftime()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
D | 2-1-buildonly.c | 25 year = t.tm_yday; in dummyfcn()
|
/external/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()
|
/external/python/cpython3/Modules/ |
D | timemodule.c | 433 SET(7, p->tm_yday + 1); /* Want January, 1 == 1 */ 502 return p->tm_sec + p->tm_min*60 + p->tm_hour*3600 + p->tm_yday*86400 + 572 &p->tm_wday, &p->tm_yday, &p->tm_isdst)) 583 p->tm_yday--; 680 if (buf->tm_yday == -1) 681 buf->tm_yday = 0; 682 else if (buf->tm_yday < 0 || buf->tm_yday > 365) {
|
/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 419 self.assertTrue(result.tm_yday == self.time_tuple.tm_yday, 421 (result.tm_yday, self.time_tuple.tm_yday))
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
D | put1.pass.cpp | 44 t.tm_yday = -1; in main()
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
D | put1.pass.cpp | 44 t.tm_yday = -1; in main()
|
/external/rust/crates/chrono/src/offset/ |
D | local.rs | 30 NaiveDate::from_yo(tm.tm_year + 1900, tm.tm_yday as u32 + 1) in tm_to_datetime() 66 tm_yday: 0, // and this in datetime_to_timespec()
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/ |
D | put1.pass.cpp | 61 t.tm_yday = -1; in main()
|
/external/elfutils/tests/ |
D | run-dwarf-getstring.sh | 70 tm_yday
|
/external/kernel-headers/original/uapi/linux/ |
D | rtc.h | 33 int tm_yday; member
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/localization/locale.categories/category.time/locale.time.put.byname/ |
D | put1.pass.cpp | 60 t.tm_yday = -1; in main()
|