Searched refs:tz_country (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzoneinfo.h | 86 struct tz_country { struct 91 struct tz_country *ctry_next; /* pointer to next element */ 96 extern int get_tz_countries(struct tz_country **, struct tz_continent *); 97 extern int get_timezones_by_country(struct tz_timezone **, struct tz_country *); 99 extern int free_tz_countries(struct tz_country *);
|
H A D | libzone.c | 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 *countr [all...] |
Completed in 85 milliseconds