Lines Matching defs:country

44 #define	COUNTRY_TAB	ZONEINFOTABDIR "country.tab"
54 #define CCLEN 2 /* country code length */
196 * file, for the input continent, and retrieves the country
197 * names from the country.tab file. It also retrieves the localized
198 * country names. The returned list of countries is sorted by the
202 get_tz_countries(struct tz_country **country, struct tz_continent *cont)
219 /* open zone_sun.tab and country.tab files */
253 * If country matches previously *matched* country, skip
254 * entry, since zone.tab is alphabetized by country code
255 * (It should be a *matched* country, because the same country
258 /* Get country code */
265 /* Check country code cache; skip if already found */
286 /* If continents match, allocate a country struct */
295 /* Copy and save country code (len already checked) */
315 /* Get country name from country.tab; get localized country name */
316 /* Read country list, match country codes to process entry */
338 /* Match country codes */
345 /* Get country description, and localized desc. */
346 /* Skip to country description */
353 lp += len; /* lp points to country desc. */
364 /* Get localized country description */
373 /* Keep searching country.tab */
408 /* Rearrange the country list according to qsort order */
436 *country = head;
443 * zone_sun.tab file, for the input country.
447 struct tz_country *country)
484 * Find country entries, or detect if no country matches.
492 if (strncmp(country->ctry_code, lp_cc, CCLEN) == 0) {
583 /* Get localized country description */
617 * the input country, then we've found all of
619 * be past that country's section in
659 free_tz_countries(struct tz_country *country)
663 cptr = country;
1449 * for locale-sensitive comparison for the localized country names.