Lines Matching refs:canonicalID
252 const UChar *canonicalID = NULL; in getCanonicalCLDRID() local
268 canonicalID = (const UChar *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID()
272 if (canonicalID != NULL) { in getCanonicalCLDRID()
273 return canonicalID; in getCanonicalCLDRID()
296 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
300 if (canonicalID == NULL) { in getCanonicalCLDRID()
308 canonicalID = canonical; in getCanonicalCLDRID()
311 if (canonicalID == NULL) { in getCanonicalCLDRID()
336 canonicalID = canonical; in getCanonicalCLDRID()
338 canonicalID = derefer; in getCanonicalCLDRID()
348 U_ASSERT(canonicalID != NULL); // canocanilD must be non-NULL here in getCanonicalCLDRID()
358 …idInCache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)key, (void *)canonicalID, &status); in getCanonicalCLDRID()
364 … const UChar *canonicalInCache = (const UChar*)uhash_get(gCanonicalIDCache, canonicalID); in getCanonicalCLDRID()
366 …Cache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)canonicalID, (void *)canonicalID, &sta… in getCanonicalCLDRID()
374 return canonicalID; in getCanonicalCLDRID()
379 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() local
380 if (U_FAILURE(status) || canonicalID == NULL) { in getCanonicalCLDRID()
384 systemID.setTo(TRUE, canonicalID, -1); in getCanonicalCLDRID()
511 UnicodeString canonicalID; in getCanonicalCountry() local
512 TimeZone::getCanonicalID(tzid, canonicalID, status); in getCanonicalCountry()
513 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
631 UnicodeString canonicalID; in createMetazoneMappings() local
634 getCanonicalCLDRID(tzid, canonicalID, status); in createMetazoneMappings()
638 … int32_t tzKeyLen = canonicalID.extract(0, canonicalID.length(), tzKey, sizeof(tzKey), US_INV); in createMetazoneMappings()
891 const UChar* canonicalID = NULL; in getShortID() local
895 canonicalID = otz->getCanonicalID(); in getShortID()
897 if (canonicalID == NULL) { in getShortID()
900 return getShortIDFromCanonical(canonicalID); in getShortID()
906 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(id, status); in getShortID() local
907 if (U_FAILURE(status) || canonicalID == NULL) { in getShortID()
910 return ZoneMeta::getShortIDFromCanonical(canonicalID); in getShortID()
914 ZoneMeta::getShortIDFromCanonical(const UChar* canonicalID) { in getShortIDFromCanonical() argument
916 int32_t len = u_strlen(canonicalID); in getShortIDFromCanonical()
919 u_UCharsToChars(canonicalID, tzidKey, len); in getShortIDFromCanonical()