Lines Matching defs:country
273 /* Short cut -- if there's only one country, don't post a menu. */
281 snprintf(prompt, sizeof(prompt), "Select a country or region");
307 struct country {
325 * This is the easiest organization... we use ISO 3166 country codes,
330 static struct country countries[NCOUNTRIES];
335 * Read the ISO 3166 country code database in _PATH_ISO3166
342 struct country *cp;
380 errx(1, "%s:%d: country code `%s' multiply defined: %s",
398 struct country *cp;
401 errx(1, "%s:%d: country code `%s' invalid", path_zonetab,
406 errx(1, "%s:%d: country code `%s' unknown", path_zonetab,
448 * country---to the end. Everything else is lexical by country name.
453 const struct country *a = xa, *b = xb;
502 /* get continent portion from continent/country */
522 errx(1, "%s:%d: invalid country code `%s'",
533 struct country *cp;
564 * Now allocate memory for the country menus and initialize
585 * the country's zone submenu.
633 struct country *cp = dmi->data;
692 struct country *cp = dmi->data;