Home | History | Annotate | Download | only in tzcode

Lines Matching refs:country

1454              << " <cmap>   country map, from tzdata archive," << endl
1583 // Create the country map
1584 map<string, string> icuRegions; // ICU's custom zone -> country override
1585 map<string, set<string> > countryMap; // country -> set of zones
1586 map<string, string> reverseCountryMap; // zone -> country
1596 string zone, country;
1598 is >> zone >> country;
1600 if (country.size() < 2) {
1604 icuRegions[zone] = country;
1627 string country, coord, zone;
1629 is >> country >> coord >> zone;
1630 if (country.size() == 0) continue;
1631 if (country.size() != 2 || zone.size() < 1) {
1636 cerr << "Error: Country maps to invalid zone " << zone
1644 << " " << country << " -> " << customCountry << endl;
1645 country = customCountry;
1647 countryMap[country].insert(zone);
1648 reverseCountryMap[zone] = country;
1649 //cerr << (n+1) << ": " << country << " <=> " << zone << endl;
1653 << " country entries from " << zonetab << endl;
1673 // Merge ICU aliases into country map. Don't merge any alias
1674 // that already has a country map, since that doesn't make sense.
1690 //cerr << "Aliased country: " << c << " <=> " << *j << endl;
1695 // Create a pseudo-country containing all zones belonging to no country
1756 // Emit country (region) map.
1775 string country = i->first;
1778 if(country[0]==0) {
1781 file << country << ":intvector { ";
1788 cerr << "Error: Nonexistent zone in country map: " << *j << endl;