• Home
  • Raw
  • Download

Lines Matching refs:canonicalID

251     const UChar *canonicalID = NULL;  in getCanonicalCLDRID()  local
261 canonicalID = (const UChar *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID()
265 if (canonicalID != NULL) { in getCanonicalCLDRID()
266 return canonicalID; in getCanonicalCLDRID()
289 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
293 if (canonicalID == NULL) { in getCanonicalCLDRID()
301 canonicalID = canonical; in getCanonicalCLDRID()
304 if (canonicalID == NULL) { in getCanonicalCLDRID()
329 canonicalID = canonical; in getCanonicalCLDRID()
331 canonicalID = derefer; in getCanonicalCLDRID()
341 U_ASSERT(canonicalID != NULL); // canocanilD must be non-NULL here in getCanonicalCLDRID()
351 …idInCache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)key, (void *)canonicalID, &status); in getCanonicalCLDRID()
357 … const UChar *canonicalInCache = (const UChar*)uhash_get(gCanonicalIDCache, canonicalID); in getCanonicalCLDRID()
359 …Cache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)canonicalID, (void *)canonicalID, &sta… in getCanonicalCLDRID()
367 return canonicalID; in getCanonicalCLDRID()
372 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() local
373 if (U_FAILURE(status) || canonicalID == NULL) { in getCanonicalCLDRID()
377 systemID.setTo(TRUE, canonicalID, -1); in getCanonicalCLDRID()
504 UnicodeString canonicalID; in getCanonicalCountry() local
505 TimeZone::getCanonicalID(tzid, canonicalID, status); in getCanonicalCountry()
506 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
624 UnicodeString canonicalID; in createMetazoneMappings() local
627 getCanonicalCLDRID(tzid, canonicalID, status); in createMetazoneMappings()
631 … int32_t tzKeyLen = canonicalID.extract(0, canonicalID.length(), tzKey, sizeof(tzKey), US_INV); in createMetazoneMappings()
886 const UChar* canonicalID = NULL; in getShortID() local
890 canonicalID = otz->getCanonicalID(); in getShortID()
892 if (canonicalID == NULL) { in getShortID()
895 return getShortIDFromCanonical(canonicalID); in getShortID()
901 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(id, status); in getShortID() local
902 if (U_FAILURE(status) || canonicalID == NULL) { in getShortID()
905 return ZoneMeta::getShortIDFromCanonical(canonicalID); in getShortID()
909 ZoneMeta::getShortIDFromCanonical(const UChar* canonicalID) { in getShortIDFromCanonical() argument
911 int32_t len = u_strlen(canonicalID); in getShortIDFromCanonical()
914 u_UCharsToChars(canonicalID, tzidKey, len); in getShortIDFromCanonical()