Home
last modified time | relevance | path

Searched refs:tm_yday (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/tests/unit/timeutil/
Dtest_s32.c24 .tm_yday = 364,
36 .tm_yday = 0,
48 .tm_yday = 177,
65 .tm_yday = 347,
77 .tm_yday = 18,
91 .tm_yday = 364,
103 .tm_yday = 0,
115 .tm_yday = 58,
127 .tm_yday = 59,
139 .tm_yday = 60,
[all …]
Dtest_s64.c25 .tm_yday = 346,
37 .tm_yday = 346,
49 .tm_yday = 18,
61 .tm_yday = 364,
73 .tm_yday = 0,
86 .tm_yday = 364,
98 .tm_yday = 0,
110 .tm_yday = 58,
122 .tm_yday = 59,
134 .tm_yday = 364,
[all …]
Dmain.c44 zassert_equal(tm.tm_yday, tp->tm.tm_yday, in timeutil_check()
46 tp->civil, tm.tm_yday, tp->tm.tm_yday); in timeutil_check()
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_y2k.c64 zassert_true(rtm[Y2K].tm_yday == 0 || rtm[Y2K].tm_yday == -1, "wrong day-of-year: %d", in ZTEST()
65 rtm[Y2K].tm_yday); in ZTEST()
Dtest_alarm.c30 .tm_yday = 1,
44 .tm_yday = 1,
57 .tm_yday = 370,
167 zassert_equal(alarm_time_get.tm_yday, test_alarm_time_set.tm_yday, in ZTEST()
Dtest_time.c58 zassert_true((datetime_get.tm_yday > -2) && (datetime_get.tm_yday < 366), in ZTEST()
Dtest_alarm_callback.c34 .tm_yday = 1,
48 .tm_yday = 1,
/Zephyr-latest/drivers/rtc/
Drtc_utils.c48 (timeptr->tm_yday < 0 || timeptr->tm_yday > 365)) { in rtc_utils_validate_rtc_time()
Drtc_emul.c116 datetime->tm_yday++; in rtc_emul_increment_tm()
140 datetime->tm_yday = 0; in rtc_emul_increment_tm()
Drtc_smartbond.c206 timeptr->tm_yday = timeptr->tm_isdst = -1; /*Unknown*/ in bcd_to_rtc_calendar()
225 if ((timeptr->tm_yday != -1) || (timeptr->tm_isdst != -1) || (timeptr->tm_nsec != 0)) { in rtc_smartbond_set_time()
343 timeptr->tm_yday = timeptr->tm_wday = timeptr->tm_isdst = timeptr->tm_year = -1; in bcd_to_alarm_calendar()
Drtc_ds1307.c102 timeptr->tm_yday = -1; in ds1307_get_time()
Drtc_ifx_cat1.c136 z_time->tm_yday = -1; in _ifx_cat1_rtc_from_pdl_time()
Drtc_rpi_pico.c151 timeptr->tm_yday = -1; in rtc_rpi_pico_get_time()
Drtc_nxp_irtc.c125 timeptr->tm_yday = -1; in nxp_irtc_get_time()
Drtc_pcf8563.c193 timeptr->tm_yday = -1; in pcf8563_get_time()
Drtc_numaker.c124 timeptr->tm_yday = -1; in rtc_numaker_get_time()
Drtc_mc146818.c253 timeptr->tm_yday = 0; in rtc_mc146818_get_time()
Drtc_sam.c178 timeptr->tm_yday = -1; in rtc_sam_get_time()
Drtc_rv8263.c260 timeptr->tm_yday = -1; in rv8263c8_time_get()
/Zephyr-latest/tests/drivers/rtc/rtc_api_helpers/src/
Dtest_rtc_time_to_tm.c34 zassert_equal(offsetof(struct rtc_time, tm_yday), offsetof(struct tm, tm_yday), in ZTEST()
/Zephyr-latest/lib/libc/common/source/time/
Dgmtime_r.c68 tp->tm_yday = doy - 306U; in time_civil_from_days()
70 tp->tm_yday = doy + 59U + (((yoe % 4U == 0U) && (yoe % 100U != 0U)) || (yoe == 0U)); in time_civil_from_days()
/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/
Dtest_rtc_utils.c22 .tm_yday = 370, in ZTEST()
/Zephyr-latest/lib/libc/minimal/include/
Dtime.h32 int tm_yday; member
/Zephyr-latest/include/zephyr/drivers/
Drtc.h69 int tm_yday; /**< Day of the year [0, 365] (Unknown = -1) */ member
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c912 .tm_yday = -1, in os_mgmt_datetime_write()

12