Lines Matching refs:tm_year_from_base
35 int64_t tm_year_from_base = tm_out->tm_year + TimeConstants::TIME_YEAR_BASE; variable
39 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) {
97 if (tm_year_from_base < 0) {
98 total_days -= get_num_of_leap_years_before(-tm_year_from_base) -