Lines Matching refs:transitions

500 …_transitions_for_year(timelib_tzinfo *tz, timelib_sll year, timelib_posix_transitions *transitions)  in timelib_get_transitions_for_year()  argument
517 transitions->times[transitions->count ] = trans_begin; in timelib_get_transitions_for_year()
518 transitions->times[transitions->count+1] = trans_end; 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()
522 transitions->times[transitions->count+1] = trans_begin; in timelib_get_transitions_for_year()
523 transitions->times[transitions->count ] = trans_end; 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()
528 transitions->count += 2; in timelib_get_transitions_for_year()
535 timelib_posix_transitions transitions = { 0 }; in timelib_fetch_posix_timezone_offset() local
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()
557 for (i = 1; i < transitions.count; i++) { in timelib_fetch_posix_timezone_offset()
558 if (ts < transitions.times[i]) { in timelib_fetch_posix_timezone_offset()
560 *transition_time = transitions.times[i - 1]; in timelib_fetch_posix_timezone_offset()
562 return &(tz->type[transitions.types[i - 1]]); in timelib_fetch_posix_timezone_offset()