Lines Matching refs:tz

500 void timelib_get_transitions_for_year(timelib_tzinfo *tz, timelib_sll year, timelib_posix_transitio…  in timelib_get_transitions_for_year()  argument
507 trans_begin += calc_transition(tz->posix_info->dst_begin, year); in timelib_get_transitions_for_year()
508 trans_begin += tz->posix_info->dst_begin->hour; in timelib_get_transitions_for_year()
509 trans_begin -= tz->posix_info->std_offset; in timelib_get_transitions_for_year()
512 trans_end += calc_transition(tz->posix_info->dst_end, year); in timelib_get_transitions_for_year()
513 trans_end += tz->posix_info->dst_end->hour; in timelib_get_transitions_for_year()
514 trans_end -= tz->posix_info->dst_offset; in timelib_get_transitions_for_year()
519 transitions->types[transitions->count ] = tz->posix_info->type_index_dst_type; in timelib_get_transitions_for_year()
520 transitions->types[transitions->count+1] = tz->posix_info->type_index_std_type; in timelib_get_transitions_for_year()
524 transitions->types[transitions->count+1] = tz->posix_info->type_index_dst_type; in timelib_get_transitions_for_year()
525 transitions->types[transitions->count ] = tz->posix_info->type_index_std_type; in timelib_get_transitions_for_year()
531 ttinfo* timelib_fetch_posix_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transi… in timelib_fetch_posix_timezone_offset() argument
540 if (!tz->posix_info->dst_end) { in timelib_fetch_posix_timezone_offset()
542 *transition_time = tz->trans[tz->bit64.timecnt - 1]; in timelib_fetch_posix_timezone_offset()
544 return &(tz->type[tz->posix_info->type_index_std_type]); in timelib_fetch_posix_timezone_offset()
552 timelib_get_transitions_for_year(tz, year - 1, &transitions); in timelib_fetch_posix_timezone_offset()
553 timelib_get_transitions_for_year(tz, year, &transitions); in timelib_fetch_posix_timezone_offset()
554 timelib_get_transitions_for_year(tz, year + 1, &transitions); in timelib_fetch_posix_timezone_offset()
562 return &(tz->type[transitions.types[i - 1]]); in timelib_fetch_posix_timezone_offset()