Lines Matching defs:mzID
747 const UChar* mzID;
812 U_ASSERT(nameinfo->mzID);
813 fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status);
936 const UnicodeString *mzID;
937 while ((mzID = mzIDs->snext(status))) {
941 loadMetaZoneNames(*mzID);
1014 const UChar *mzID = map->mzid;
1015 if (!mzIDs->contains((void *)mzID)) {
1016 mzIDs->addElement((void *)mzID, status);
1029 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const {
1030 ZoneMeta::getMetazoneID(tzID, date, mzID);
1031 return mzID;
1035 TimeZoneNamesImpl::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const {
1036 ZoneMeta::getZoneIdByMetazone(mzID, UnicodeString(region, -1, US_INV), tzID);
1041 TimeZoneNamesImpl::getMetaZoneDisplayName(const UnicodeString& mzID,
1045 if (mzID.isEmpty()) {
1054 znames = nonConstThis->loadMetaZoneNames(mzID);
1116 // Merge the MZ_PREFIX and mzId
1117 static void mergeTimeZoneKey(const UnicodeString& mzID, char* result) {
1118 if (mzID.isEmpty()) {
1126 keyLen = mzID.extract(0, mzID.length(), mzIdChar, ZID_KEY_MAX + 1, US_INV);
1136 TimeZoneNamesImpl::loadMetaZoneNames(const UnicodeString& mzID) {
1137 if (mzID.length() > (ZID_KEY_MAX - MZ_PREFIX_LEN)) {
1145 mzID.extract(mzIDKey, ZID_KEY_MAX + 1, status);
1147 mzIDKey[mzID.length()] = 0;
1152 mergeTimeZoneKey(mzID, key);
1162 const UChar* newKey = ZoneMeta::findMetaZoneID(mzID);
1178 nameinfo->mzID = newKey;
1255 nameinfo->mzID = NULL;