• 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()
292 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
296 if (canonicalID == NULL) { in getCanonicalCLDRID()
304 canonicalID = canonical; in getCanonicalCLDRID()
307 if (canonicalID == NULL) { in getCanonicalCLDRID()
332 canonicalID = canonical; in getCanonicalCLDRID()
334 canonicalID = derefer; in getCanonicalCLDRID()
344 U_ASSERT(canonicalID != NULL); // canocanilD must be non-NULL here in getCanonicalCLDRID()
354 …idInCache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)key, (void *)canonicalID, &status); in getCanonicalCLDRID()
360 … const UChar *canonicalInCache = (const UChar*)uhash_get(gCanonicalIDCache, canonicalID); in getCanonicalCLDRID()
362 …Cache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)canonicalID, (void *)canonicalID, &sta… in getCanonicalCLDRID()
370 return canonicalID; in getCanonicalCLDRID()
375 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() local
376 if (U_FAILURE(status) || canonicalID == NULL) { in getCanonicalCLDRID()
380 systemID.setTo(TRUE, canonicalID, -1); in getCanonicalCLDRID()
515 UnicodeString canonicalID; in getCanonicalCountry() local
516 TimeZone::getCanonicalID(tzid, canonicalID, status); in getCanonicalCountry()
517 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
644 UnicodeString canonicalID; in createMetazoneMappings() local
647 getCanonicalCLDRID(tzid, canonicalID, status); in createMetazoneMappings()
651 … int32_t tzKeyLen = canonicalID.extract(0, canonicalID.length(), tzKey, sizeof(tzKey), US_INV); in createMetazoneMappings()
913 const UChar* canonicalID = NULL; in getShortID() local
917 canonicalID = otz->getCanonicalID(); in getShortID()
919 if (canonicalID == NULL) { in getShortID()
922 return getShortIDFromCanonical(canonicalID); in getShortID()
928 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(id, status); in getShortID() local
929 if (U_FAILURE(status) || canonicalID == NULL) { in getShortID()
932 return ZoneMeta::getShortIDFromCanonical(canonicalID); in getShortID()
936 ZoneMeta::getShortIDFromCanonical(const UChar* canonicalID) { in getShortIDFromCanonical() argument
938 int32_t len = u_strlen(canonicalID); in getShortIDFromCanonical()
941 u_UCharsToChars(canonicalID, tzidKey, len); in getShortIDFromCanonical()