Lines Matching refs:tz_country
89 static int compar(struct tz_country *, struct tz_country *);
206 get_tz_countries(struct tz_country **country, struct tz_continent *cont) in get_tz_countries()
211 struct tz_country *head = NULL, *prev = NULL, *next, *cp, *cp2; in get_tz_countries()
289 if ((cp = (struct tz_country *) in get_tz_countries()
290 calloc(1, sizeof (struct tz_country))) == NULL) { in get_tz_countries()
391 ((cp2 = calloc(ncount, sizeof (struct tz_country))) != NULL)) { in get_tz_countries()
400 (void) memcpy(&cp2[i], cp, sizeof (struct tz_country)); in get_tz_countries()
405 qsort(cp2, ncount, sizeof (struct tz_country), in get_tz_countries()
447 struct tz_country *country) in get_timezones_by_country()
659 free_tz_countries(struct tz_country *country) in free_tz_countries()
661 struct tz_country *cptr, *cprev; in free_tz_countries()
1381 compar(struct tz_country *p1, struct tz_country *p2) in compar()