Lines Matching refs:tzID
100 const UChar* tzID; member
656 const UnicodeString& tzID, UErrorCode& status) { in createTimeZoneAndPutInCache() argument
664 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, locationNameUniStr); in createTimeZoneAndPutInCache()
682 void* key = (void*) ZoneMeta::findTimeZoneID(tzID); in createTimeZoneAndPutInCache()
700 void addAsTimeZoneIntoTrie(const UChar* tzID, TextTrieMap& trie, UErrorCode& status) { in addAsTimeZoneIntoTrie() argument
701 addNamesIntoTrie(NULL, tzID, trie, status); in addAsTimeZoneIntoTrie()
704 void addNamesIntoTrie(const UChar* mzID, const UChar* tzID, TextTrieMap& trie, in addNamesIntoTrie() argument
719 nameinfo->tzID = tzID; in addNamesIntoTrie()
755 …void loadTimeZone(const UResourceBundle* zoneStrings, const UnicodeString& tzID, UErrorCode& error… in loadTimeZone()
757 UnicodeString uKey(tzID); in loadTimeZone()
964 if (nameinfo->tzID) { in handleMatch()
965 … fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); in handleMatch()
1061 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); in initialize() local
1062 if (tzID != NULL) { in initialize()
1063 loadStrings(UnicodeString(tzID), status); in initialize()
1141 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const { in getAvailableMetaZoneIDs() argument
1142 return TimeZoneNamesImpl::_getAvailableMetaZoneIDs(tzID, status); in getAvailableMetaZoneIDs()
1147 TimeZoneNamesImpl::_getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) { in _getAvailableMetaZoneIDs() argument
1151 const UVector* mappings = ZoneMeta::getMetazoneMappings(tzID); in _getAvailableMetaZoneIDs()
1181 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { in getMetaZoneID() argument
1182 return TimeZoneNamesImpl::_getMetaZoneID(tzID, date, mzID); in getMetaZoneID()
1187 TimeZoneNamesImpl::_getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) { in _getMetaZoneID() argument
1188 ZoneMeta::getMetazoneID(tzID, date, mzID); in _getMetaZoneID()
1193 …mpl::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const { in getReferenceZoneID()
1194 return TimeZoneNamesImpl::_getReferenceZoneID(mzID, region, tzID); in getReferenceZoneID()
1199 …amesImpl::_getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) { in _getReferenceZoneID() argument
1200 ZoneMeta::getZoneIdByMetazone(mzID, UnicodeString(region, -1, US_INV), tzID); in _getReferenceZoneID()
1201 return tzID; in _getReferenceZoneID()
1233 TimeZoneNamesImpl::getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, Unicod… in getTimeZoneDisplayName() argument
1235 if (tzID.isEmpty()) { in getTimeZoneDisplayName()
1245 tznames = nonConstThis->loadTimeZoneNames(tzID, status); in getTimeZoneDisplayName()
1259 TimeZoneNamesImpl::getExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) const { in getExemplarLocationName() argument
1268 tznames = nonConstThis->loadTimeZoneNames(tzID, status); in getExemplarLocationName()
1331 TimeZoneNamesImpl::loadTimeZoneNames(const UnicodeString& tzID, UErrorCode& status) { in loadTimeZoneNames() argument
1333 U_ASSERT(tzID.length() <= ZID_KEY_MAX); in loadTimeZoneNames()
1336 int32_t tzIDKeyLen = tzID.extract(tzIDKey, ZID_KEY_MAX + 1, status); in loadTimeZoneNames()
1343 loader.loadTimeZone(fZoneStrings, tzID, status); in loadTimeZoneNames()
1344 tznames = ZNames::createTimeZoneAndPutInCache(fTZNamesMap, loader.getNames(), tzID, status); in loadTimeZoneNames()
1430 UChar* tzID = (UChar*) element->key.pointer; in addAllNamesIntoTrie() local
1432 znames->addAsTimeZoneIntoTrie(tzID, fNamesTrie, status); in addAllNamesIntoTrie()
1480 UnicodeString tzID(key, -1, US_INV); in tzIDFromKey() local
1482 for (int i=0; i<tzID.length(); i++) { in tzIDFromKey()
1483 if (tzID.charAt(i) == 0x003A) { in tzIDFromKey()
1484 tzID.setCharAt(i, 0x002F); in tzIDFromKey()
1487 return tzID; in tzIDFromKey()
1505 UnicodeString tzID = tzIDFromKey(key); in load() local
1506 … ZNames::createTimeZoneAndPutInCache(tzn.fTZNamesMap, loader->getNames(), tzID, status); in load()
1532 UnicodeString tzID = tzIDFromKey(key); in consumeNamesTable() local
1533 void* cacheVal = uhash_get(tzn.fTZNamesMap, tzID.getTerminatedBuffer()); in consumeNamesTable()
1593 void TimeZoneNamesImpl::getDisplayNames(const UnicodeString& tzID, in getDisplayNames() argument
1598 if (tzID.isEmpty()) { return; } in getDisplayNames()
1606 tznames = (void*) nonConstThis->loadTimeZoneNames(tzID, status); in getDisplayNames()
1619 getMetaZoneID(tzID, date, mzID); in getDisplayNames()
1691 TimeZoneNamesImpl::getDefaultExemplarLocationName(const UnicodeString& tzID, UnicodeString& name) { in getDefaultExemplarLocationName() argument
1692 if (tzID.isEmpty() || tzID.startsWith(gEtcPrefix, gEtcPrefixLen) in getDefaultExemplarLocationName()
1693 …|| tzID.startsWith(gSystemVPrefix, gSystemVPrefixLen) || tzID.indexOf(gRiyadh8, gRiyadh8Len, 0) > … in getDefaultExemplarLocationName()
1698 int32_t sep = tzID.lastIndexOf((UChar)0x2F /* '/' */); in getDefaultExemplarLocationName()
1699 if (sep > 0 && sep + 1 < tzID.length()) { in getDefaultExemplarLocationName()
1700 name.setTo(tzID, sep + 1); in getDefaultExemplarLocationName()
2179 TZDBTimeZoneNames::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const { in getAvailableMetaZoneIDs() argument
2180 return TimeZoneNamesImpl::_getAvailableMetaZoneIDs(tzID, status); in getAvailableMetaZoneIDs()
2184 TZDBTimeZoneNames::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { in getMetaZoneID() argument
2185 return TimeZoneNamesImpl::_getMetaZoneID(tzID, date, mzID); in getMetaZoneID()
2189 …mes::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tzID) const { in getReferenceZoneID()
2190 return TimeZoneNamesImpl::_getReferenceZoneID(mzID, region, tzID); in getReferenceZoneID()