Lines Matching refs:canonicalID
249 const UChar *canonicalID = NULL; in getCanonicalCLDRID() local
259 canonicalID = (const UChar *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID()
263 if (canonicalID != NULL) { in getCanonicalCLDRID()
264 return canonicalID; in getCanonicalCLDRID()
287 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
291 if (canonicalID == NULL) { in getCanonicalCLDRID()
299 canonicalID = canonical; in getCanonicalCLDRID()
302 if (canonicalID == NULL) { in getCanonicalCLDRID()
327 canonicalID = canonical; in getCanonicalCLDRID()
329 canonicalID = derefer; in getCanonicalCLDRID()
339 U_ASSERT(canonicalID != NULL); // canocanilD must be non-NULL here in getCanonicalCLDRID()
349 …idInCache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)key, (void *)canonicalID, &status); in getCanonicalCLDRID()
355 … const UChar *canonicalInCache = (const UChar*)uhash_get(gCanonicalIDCache, canonicalID); in getCanonicalCLDRID()
357 …Cache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)canonicalID, (void *)canonicalID, &sta… in getCanonicalCLDRID()
365 return canonicalID; in getCanonicalCLDRID()
370 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() local
371 if (U_FAILURE(status) || canonicalID == NULL) { in getCanonicalCLDRID()
375 systemID.setTo(TRUE, canonicalID, -1); in getCanonicalCLDRID()
502 UnicodeString canonicalID; in getCanonicalCountry() local
503 TimeZone::getCanonicalID(tzid, canonicalID, status); in getCanonicalCountry()
504 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
622 UnicodeString canonicalID; in createMetazoneMappings() local
625 getCanonicalCLDRID(tzid, canonicalID, status); in createMetazoneMappings()
629 … int32_t tzKeyLen = canonicalID.extract(0, canonicalID.length(), tzKey, sizeof(tzKey), US_INV); in createMetazoneMappings()
884 const UChar* canonicalID = NULL; in getShortID() local
888 canonicalID = otz->getCanonicalID(); in getShortID()
890 if (canonicalID == NULL) { in getShortID()
893 return getShortIDFromCanonical(canonicalID); in getShortID()
899 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(id, status); in getShortID() local
900 if (U_FAILURE(status) || canonicalID == NULL) { in getShortID()
903 return ZoneMeta::getShortIDFromCanonical(canonicalID); in getShortID()
907 ZoneMeta::getShortIDFromCanonical(const UChar* canonicalID) { in getShortIDFromCanonical() argument
909 int32_t len = u_strlen(canonicalID); in getShortIDFromCanonical()
912 u_UCharsToChars(canonicalID, tzidKey, len); in getShortIDFromCanonical()