• Home
  • Raw
  • Download

Lines Matching refs:canonicalID

244     const UChar *canonicalID = NULL;  in getCanonicalCLDRID()  local
260 canonicalID = (const UChar *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID()
264 if (canonicalID != NULL) { in getCanonicalCLDRID()
265 return canonicalID; in getCanonicalCLDRID()
288 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
292 if (canonicalID == NULL) { in getCanonicalCLDRID()
300 canonicalID = canonical; in getCanonicalCLDRID()
303 if (canonicalID == NULL) { in getCanonicalCLDRID()
328 canonicalID = canonical; in getCanonicalCLDRID()
330 canonicalID = derefer; in getCanonicalCLDRID()
340 U_ASSERT(canonicalID != NULL); // canocanilD must be non-NULL here in getCanonicalCLDRID()
350 …idInCache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)key, (void *)canonicalID, &status); in getCanonicalCLDRID()
356 … const UChar *canonicalInCache = (const UChar*)uhash_get(gCanonicalIDCache, canonicalID); in getCanonicalCLDRID()
358 …Cache = (const UChar *)uhash_put(gCanonicalIDCache, (void *)canonicalID, (void *)canonicalID, &sta… in getCanonicalCLDRID()
366 return canonicalID; in getCanonicalCLDRID()
371 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() local
372 if (U_FAILURE(status) || canonicalID == NULL) { in getCanonicalCLDRID()
376 systemID.setTo(true, canonicalID, -1); in getCanonicalCLDRID()
503 UnicodeString canonicalID; in getCanonicalCountry() local
504 TimeZone::getCanonicalID(tzid, canonicalID, status); in getCanonicalCountry()
505 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
623 UnicodeString canonicalID; in createMetazoneMappings() local
626 getCanonicalCLDRID(tzid, canonicalID, status); in createMetazoneMappings()
630 … int32_t tzKeyLen = canonicalID.extract(0, canonicalID.length(), tzKey, sizeof(tzKey), US_INV); in createMetazoneMappings()
877 const UChar* canonicalID = NULL; in getShortID() local
881 canonicalID = otz->getCanonicalID(); in getShortID()
883 if (canonicalID == NULL) { in getShortID()
886 return getShortIDFromCanonical(canonicalID); in getShortID()
892 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(id, status); in getShortID() local
893 if (U_FAILURE(status) || canonicalID == NULL) { in getShortID()
896 return ZoneMeta::getShortIDFromCanonical(canonicalID); in getShortID()
900 ZoneMeta::getShortIDFromCanonical(const UChar* canonicalID) { in getShortIDFromCanonical() argument
902 int32_t len = u_strlen(canonicalID); in getShortIDFromCanonical()
905 u_UCharsToChars(canonicalID, tzidKey, len); in getShortIDFromCanonical()