Searched refs:rules_num (Results 1 – 1 of 1) sorted by relevance
842 guint rules_num = 0; in rules_from_windows_time_zone() local923 rules_num = last - first + 2; in rules_from_windows_time_zone()924 *rules = g_new0 (TimeZoneRule, rules_num); in rules_from_windows_time_zone()963 rules_num = i + 1; in rules_from_windows_time_zone()975 rules_num = 2; in rules_from_windows_time_zone()998 if ((*rules)[rules_num - 2].start_year < MAX_TZYEAR) in rules_from_windows_time_zone()999 (*rules)[rules_num - 1].start_year = MAX_TZYEAR; in rules_from_windows_time_zone()1001 (*rules)[rules_num - 1].start_year = (*rules)[rules_num - 2].start_year + 1; in rules_from_windows_time_zone()1003 return rules_num; in rules_from_windows_time_zone()1111 guint rules_num, in init_zone_from_rules() argument[all …]