Searched refs:year (Results 1 – 9 of 9) sorted by relevance
| /optee_os/core/drivers/rtc/ |
| H A D | rtc.c | 28 uint64_t year = 0; in rtc_time_to_ms() local 46 year = time->tm_year; in rtc_time_to_ms() 47 days += (year * 365) + (year / 4) - (year / 100) + (year / 400); in rtc_time_to_ms() 55 bool rtc_is_a_leap_year(uint32_t year) in rtc_is_a_leap_year() argument 57 return !(year % 4) && ((year % 100) || !(year % 400)); in rtc_is_a_leap_year() 60 uint8_t rtc_get_month_days(uint32_t month, uint32_t year) in rtc_get_month_days() argument 62 if (rtc_is_a_leap_year(year) && month == 1) in rtc_get_month_days()
|
| /optee_os/core/include/drivers/ |
| H A D | rtc.h | 25 #define RTC_TIME(year, mon, mday, wday, hour, min, sec, ms) \ argument 27 .tm_year = (year), \ 131 bool rtc_is_a_leap_year(uint32_t year); 140 uint8_t rtc_get_month_days(uint32_t month, uint32_t year); 290 static inline bool __noreturn rtc_is_a_leap_year(uint32_t year __unused) in rtc_is_a_leap_year() 296 uint32_t year __unused) in rtc_get_month_days()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | x509.c | 569 unsigned int year; in x509_date_is_valid() local 578 year = (unsigned int) t->year; in x509_date_is_valid() 579 month_days = ((year & 3) || (!(year % 100) in x509_date_is_valid() 580 && (year % 400))) in x509_date_is_valid() 589 (unsigned int) t->year > 9999 || /* (0 - 9999) */ in x509_date_is_valid() 618 tm->year = x509_parse2_int(p); in x509_parse_time() 619 if (tm->year < 0) { in x509_parse_time() 624 x = tm->year * 100; in x509_parse_time() 626 tm->year = x509_parse2_int(p); in x509_parse_time() 627 if (tm->year < 0) { in x509_parse_time() [all …]
|
| H A D | x509_crl.c | 616 crl->this_update.year, crl->this_update.mon, in mbedtls_x509_crl_info() 623 crl->next_update.year, crl->next_update.mon, in mbedtls_x509_crl_info() 644 entry->revocation_date.year, entry->revocation_date.mon, in mbedtls_x509_crl_info()
|
| H A D | x509_crt.c | 1791 crt->valid_from.year, crt->valid_from.mon, in mbedtls_x509_crt_info() 1798 crt->valid_to.year, crt->valid_to.mon, in mbedtls_x509_crt_info()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | x509.h | 247 int year, mon, day; /**< Date. */ member
|
| /optee_os/core/arch/arm/dts/ |
| H A D | stm32mp131.dtsi | 45 /* Overdrive OPP: 10‑year life activity @100% activity rate */ 53 /* Overdrive OPP: 10‑year life activity @25% activity rate */
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | LICENSE | 508 Copyright (C) <year> <name of author> 529 Gnomovision version 69, Copyright (C) year name of author
|
| H A D | ChangeLog | 4101 * Fix leap year calculation in x509_date_is_valid() to ensure that invalid
|