Lines Matching refs:tz_country
87 static int compar(struct tz_country *, struct tz_country *);
204 get_tz_countries(struct tz_country **country, struct tz_continent *cont)
209 struct tz_country *head = NULL, *prev = NULL, *next, *cp, *cp2;
291 if ((cp = (struct tz_country *)
292 calloc(1, sizeof (struct tz_country))) == NULL) {
393 ((cp2 = calloc(ncount, sizeof (struct tz_country))) != NULL)) {
402 (void) memcpy(&cp2[i], cp, sizeof (struct tz_country));
407 qsort(cp2, ncount, sizeof (struct tz_country),
449 struct tz_country *country)
661 free_tz_countries(struct tz_country *country)
663 struct tz_country *cptr, *cprev;
1383 compar(struct tz_country *p1, struct tz_country *p2)