Home | History | Annotate | Download | only in tzcode

Lines Matching defs:country

1300              << " <cmap>  country map, from tzdata archive," << endl
1495 // Create the country map
1496 map<string, set<string> > countryMap; // country -> set of zones
1497 map<string, string> reverseCountryMap; // zone -> country
1511 string country, coord, zone;
1513 is >> country >> coord >> zone;
1514 if (country.size() == 0) continue;
1515 if (country.size() != 2 || zone.size() < 1) {
1520 cerr << "Error: Country maps to invalid zone " << zone
1524 countryMap[country].insert(zone);
1525 reverseCountryMap[zone] = country;
1526 //cerr << (n+1) << ": " << country << " <=> " << zone << endl;
1530 << " country entries from " << zonetab << endl;
1536 // Merge ICU aliases into country map. Don't merge any alias
1537 // that already has a country map, since that doesn't make sense.
1553 //cerr << "Aliased country: " << c << " <=> " << *j << endl;
1558 // Create a pseudo-country containing all zones belonging to no country
1618 // Emit country (region) map. Emitting the string zone IDs results
1626 string country = i->first;
1629 if(country[0]==0) {
1632 file << country << ":intvector { ";
1639 cerr << "Error: Nonexistent zone in country map: " << *j << endl;
1664 // the country map.
1716 // Emit country map.
1718 java << " public static final String[][] COUNTRY = {" << endl;
1723 string country = i->first;
1725 java << " { \"" << country << '"';