Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/src/time/
H A Dmktime.cpp39 tm_year_from_base >= TimeConstants::END_OF32_BIT_EPOCH_YEAR) {
40 if (tm_year_from_base > TimeConstants::END_OF32_BIT_EPOCH_YEAR)
69 tm_year_from_base += years;
71 bool tm_year_is_leap = is_leap_year(tm_year_from_base);
82 total_days += (tm_year_from_base - TimeConstants::EPOCH_YEAR) *
84 if (tm_year_from_base >= TimeConstants::EPOCH_YEAR) {
85 total_days += get_num_of_leap_years_before(tm_year_from_base - 1) -
87 } else if (tm_year_from_base >= 1) {
89 get_num_of_leap_years_before(tm_year_from_base - 1);
94 if (tm_year_from_base <= 0) {
[all …]