Home
last modified time | relevance | path

Searched refs:canonicalID (Results 1 – 25 of 32) sorted by relevance

12

/external/icu4c/i18n/
Dzonemeta.cpp251 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()
[all …]
Dtimezone.cpp738 UnicodeString canonicalID; in initMap() local
739 ZoneMeta::getCanonicalCLDRID(id, canonicalID, ec); in initMap()
743 if (canonicalID != id) { in initMap()
1298 UnicodeString canonicalID(ZoneMeta::getCanonicalCLDRID(*this)); in getDisplayName() local
1299 tznames->getDisplayName(canonicalID, nameType, date, result); in getDisplayName()
1554 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument
1557 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID()
1561 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument
1564 canonicalID.remove(); in getCanonicalID()
1567 return canonicalID; in getCanonicalID()
[all …]
Dolsontz.h380 const UChar *canonicalID; variable
438 return canonicalID; in getCanonicalID()
Dzonemeta.h114 static const UChar* getShortIDFromCanonical(const UChar* canonicalID);
Dolsontz.cpp98 canonicalID = NULL; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone()
275 canonicalID = other.canonicalID; in operator =()
Dtzfmt.cpp1249 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(tz); in formatGeneric() local
1250 if (canonicalID == NULL) { in formatGeneric()
1254 return gnames->getGenericLocationName(UnicodeString(canonicalID), name); in formatGeneric()
1269 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(tz); in formatSpecific() local
1271 if (U_FAILURE(status) || canonicalID == NULL) { in formatSpecific()
1277 fTimeZoneNames->getDisplayName(UnicodeString(canonicalID), dstType, date, name); in formatSpecific()
1279 fTimeZoneNames->getDisplayName(UnicodeString(canonicalID), stdType, date, name); in formatSpecific()
1313 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(tz); in formatExemplarLocation() local
1315 if (canonicalID) { in formatExemplarLocation()
1316 fTimeZoneNames->getExemplarLocationName(UnicodeString(canonicalID), location); in formatExemplarLocation()
/external/chromium_org/third_party/icu/source/i18n/
Dzstrfmt.cpp688 UnicodeString canonicalID; in loadZone() local
689 TimeZone::getCanonicalID(utzid, canonicalID, status); in loadZone()
699 …ZoneStrings *zstrings = (ZoneStrings*)uhash_get(fTzidToStrings, canonicalID.getTerminatedBuffer()); in loadZone()
707 addSingleZone(canonicalID, status); in loadZone()
1132 UnicodeString canonicalID; in loadFull() local
1133 TimeZone::getCanonicalID(utzid, canonicalID, status); in loadFull()
1142 …ZoneStrings *zstrings = (ZoneStrings*)uhash_get(fTzidToStrings, canonicalID.getTerminatedBuffer()); in loadFull()
1149 addSingleZone(canonicalID, status); in loadFull()
1214 UnicodeString canonicalID; in createZoneStringsArray() local
1215 TimeZone::getCanonicalID(UnicodeString(tzid), canonicalID, status); in createZoneStringsArray()
[all …]
Dtimezone.cpp1357 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument
1360 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID()
1364 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument
1367 canonicalID.remove(); in getCanonicalID()
1370 return canonicalID; in getCanonicalID()
1372 ZoneMeta::getCanonicalSystemID(id, canonicalID, status); in getCanonicalID()
1378 getCustomID(id, canonicalID, status); in getCanonicalID()
1380 return canonicalID; in getCanonicalID()
Dzonemeta.cpp519 UnicodeString canonicalID; in createMetazoneMappings() local
522 TimeZone::getCanonicalID(tzid, canonicalID, status); in createMetazoneMappings()
526 canonicalID.extract(0, canonicalID.length(), tzKey, sizeof(tzKey), US_INV); in createMetazoneMappings()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dtimezone.h283 UnicodeString& canonicalID, UErrorCode& status);
301 UnicodeString& canonicalID, UBool& isSystemID, UErrorCode& status);
/external/icu4c/common/
Dserv.cpp42 ICUServiceKey::canonicalID(UnicodeString& result) const in canonicalID() function in ICUServiceKey
50 return canonicalID(result); in currentID()
822 UnicodeString canonicalID; in registerInstance() local
823 key->canonicalID(canonicalID); in registerInstance()
826 ICUServiceFactory* f = createSimpleFactory(objToAdopt, canonicalID, visible, status); in registerInstance()
Dservlk.cpp90 LocaleKey::canonicalID(UnicodeString& result) const { in canonicalID() function in LocaleKey
Dserv.h105 virtual UnicodeString& canonicalID(UnicodeString& result) const;
Dservloc.h117 virtual UnicodeString& canonicalID(UnicodeString& result) const;
/external/chromium_org/third_party/icu/source/common/
Dserv.cpp42 ICUServiceKey::canonicalID(UnicodeString& result) const in canonicalID() function in ICUServiceKey
50 return canonicalID(result); in currentID()
822 UnicodeString canonicalID; in registerInstance() local
823 key->canonicalID(canonicalID); in registerInstance()
826 ICUServiceFactory* f = createSimpleFactory(objToAdopt, canonicalID, visible, status); in registerInstance()
Dservlk.cpp90 LocaleKey::canonicalID(UnicodeString& result) const { in canonicalID() function in LocaleKey
Dserv.h105 virtual UnicodeString& canonicalID(UnicodeString& result) const;
Dservloc.h117 virtual UnicodeString& canonicalID(UnicodeString& result) const;
Duloc.c453 const char *canonicalID; /* canonicalized output ID */ member
1835 len = _copyCount(name, nameCapacity, CANONICALIZE_MAP[j].canonicalID); in _canonicalize()
/external/icu4c/test/intltest/
Dtztest.cpp535 UnicodeString canonicalID; in TestGetAvailableIDsNew() local
626 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
630 if (*id1 == canonicalID) { in TestGetAvailableIDsNew()
646 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
650 if (*id1 != canonicalID) { in TestGetAvailableIDsNew()
2002 UnicodeString canonicalID, tmpCanonical; in TestCanonicalID() local
2031 canonicalID = tmpCanonical; in TestCanonicalID()
2032 } else if (canonicalID != tmpCanonical) { in TestCanonicalID()
2033 … errln("FAIL: getCanonicalID(" + tmp + ") returned " + tmpCanonical + " expected:" + canonicalID); in TestCanonicalID()
2036 if (canonicalID == tmp) { in TestCanonicalID()
[all …]
Dtzfmttst.cpp220 UnicodeString canonicalID; in TestTimeZoneRoundTrip() local
221 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip()
226 } else if (outtzid != canonicalID) { in TestTimeZoneRoundTrip()
/external/icu4c/i18n/unicode/
Dtimezone.h335 UnicodeString& canonicalID, UErrorCode& status);
353 UnicodeString& canonicalID, UBool& isSystemID, UErrorCode& status);
/external/chromium_org/third_party/icu/source/test/intltest/
Dtztest.cpp1778 UnicodeString canonicalID, tmpCanonical; in TestCanonicalID() local
1807 canonicalID = tmpCanonical; in TestCanonicalID()
1808 } else if (canonicalID != tmpCanonical) { in TestCanonicalID()
1809 … errln("FAIL: getCanonicalID(" + tmp + ") returned " + tmpCanonical + " expected:" + canonicalID); in TestCanonicalID()
1812 if (canonicalID == tmp) { in TestCanonicalID()
1830 errln((UnicodeString)"FAIL: No timezone ids match the canonical ID " + canonicalID); in TestCanonicalID()
1856 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); in TestCanonicalID()
1865 if (canonicalID != data[i].expected) { in TestCanonicalID()
1867 + "\") returned " + canonicalID + " - expected: " + data[i].expected); in TestCanonicalID()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dccaltst.c96 UChar canonicalID[64]; in TestCalendar() local
224 canonicalID, sizeof(canonicalID)/sizeof(UChar), &isSystemID, &status); in TestCalendar()
228 if (u_strcmp(AMERICA_LOS_ANGELES, canonicalID) != 0) { in TestCalendar()
230 PST, canonicalID, AMERICA_LOS_ANGELES); in TestCalendar()
/external/icu4c/test/cintltst/
Dccaltst.c103 UChar canonicalID[64]; in TestCalendar() local
255 canonicalID, sizeof(canonicalID)/sizeof(UChar), &isSystemID, &status); in TestCalendar()
259 if (u_strcmp(AMERICA_LOS_ANGELES, canonicalID) != 0) { in TestCalendar()
261 PST, canonicalID, AMERICA_LOS_ANGELES); in TestCalendar()

12