Home
last modified time | relevance | path

Searched refs:yday (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Dlib_test.c9 static void advance_date(int *year, int *month, int *mday, int *yday) in advance_date() argument
13 ++*yday; in advance_date()
20 ++*yday; in advance_date()
25 *yday = 1; in advance_date()
45 int yday = 1; in rtc_time64_to_tm_test_date_range() local
58 year, month, mday, yday, days in rtc_time64_to_tm_test_date_range()
63 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
65 advance_date(&year, &month, &mday, &yday); in rtc_time64_to_tm_test_date_range()
H A Drtc-efi.c37 compute_wday(efi_time_t *eft, int yday) in compute_wday() argument
43 + yday; in compute_wday()
/openbmc/linux/kernel/time/
H A Dtime_test.c29 static void advance_date(long *year, int *month, int *mday, int *yday) in advance_date() argument
33 ++*yday; in advance_date()
40 ++*yday; in advance_date()
45 *yday = 0; in advance_date()
64 int yday = 0; in time64_to_tm_test_date_range() local
77 year, month, mdday, yday, days in time64_to_tm_test_date_range()
82 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in time64_to_tm_test_date_range()
84 advance_date(&year, &month, &mdday, &yday); in time64_to_tm_test_date_range()
/openbmc/linux/arch/m68k/mac/
H A Dmisc.c557 int days, rem, y, wday, yday; in unmktime() local
595 yday = days; /* day in the year. Not currently used. */ in unmktime()