/external/icu/icu4c/source/i18n/ |
D | zonemeta.cpp | 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() [all …]
|
D | timezone.cpp | 615 UnicodeString canonicalID; in initMap() local 616 ZoneMeta::getCanonicalCLDRID(id, canonicalID, ec); in initMap() 620 if (canonicalID != id) { in initMap() 1274 UnicodeString canonicalID(ZoneMeta::getCanonicalCLDRID(*this)); in getDisplayName() local 1275 tznames->getDisplayName(canonicalID, nameType, date, result); in getDisplayName() 1522 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument 1525 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID() 1529 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument 1532 canonicalID.remove(); in getCanonicalID() 1535 return canonicalID; in getCanonicalID() [all …]
|
D | olsontz.h | 383 const UChar *canonicalID; variable 444 return canonicalID; in getCanonicalID()
|
D | zonemeta.h | 115 static const UChar* getShortIDFromCanonical(const UChar* canonicalID);
|
D | olsontz.cpp | 100 canonicalID = NULL; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 257 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 277 canonicalID = other.canonicalID; in operator =()
|
D | tzfmt.cpp | 1337 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(tz); in formatGeneric() local 1338 if (canonicalID == NULL) { in formatGeneric() 1342 return gnames->getGenericLocationName(UnicodeString(TRUE, canonicalID, -1), name); in formatGeneric() 1357 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(tz); in formatSpecific() local 1359 if (U_FAILURE(status) || canonicalID == NULL) { in formatSpecific() 1365 fTimeZoneNames->getDisplayName(UnicodeString(TRUE, canonicalID, -1), dstType, date, name); in formatSpecific() 1367 fTimeZoneNames->getDisplayName(UnicodeString(TRUE, canonicalID, -1), stdType, date, name); in formatSpecific() 1417 const UChar* canonicalID = ZoneMeta::getCanonicalCLDRID(tz); in formatExemplarLocation() local 1419 if (canonicalID) { in formatExemplarLocation() 1420 fTimeZoneNames->getExemplarLocationName(UnicodeString(TRUE, canonicalID, -1), location); in formatExemplarLocation()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
D | TimeZoneNameProviderICU.java | 24 String canonicalID = com.ibm.icu.util.TimeZone.getCanonicalID(ID, isSystemID); in getDisplayName() local 32 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName() 33 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName() 34 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName() 35 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ZoneMeta.java | 106 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemZIDs() local 107 if (id.equals(canonicalID)) { in getCanonicalSystemZIDs() 138 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemLocationZIDs() local 139 if (id.equals(canonicalID)) { in getCanonicalSystemLocationZIDs() 498 String canonicalID = getCanonicalCLDRID(tzid); in getCanonicalCountry() local 499 if (canonicalID != null && canonicalID.equals(primaryZone)) { in getCanonicalCountry() 841 String canonicalID = null; in getShortID() local 844 canonicalID = ((OlsonTimeZone)tz).getCanonicalID(); in getShortID() 847 canonicalID = getCanonicalCLDRID(tz.getID()); in getShortID() 849 if (canonicalID == null) { in getShortID() [all …]
|
D | OlsonTimeZone.java | 441 if (canonicalID == null) { in getCanonicalID() 443 if (canonicalID == null) { in getCanonicalID() 444 canonicalID = getCanonicalID(getID()); in getCanonicalID() 446 assert(canonicalID != null); in getCanonicalID() 447 if (canonicalID == null) { in getCanonicalID() 449 canonicalID = getID(); in getCanonicalID() 454 return canonicalID; in getCanonicalID() 657 if (canonicalID == null) { in setID() 658 canonicalID = getCanonicalID(getID()); in setID() 659 assert(canonicalID != null); in setID() [all …]
|
D | ICUService.java | 173 public String canonicalID() { in canonicalID() method in ICUService.Key 182 return canonicalID(); in currentID() 214 return canonicalID().equals(idToCheck); in isFallbackOf() 398 if (DEBUG) System.out.println("Service: " + name + " key: " + key.canonicalID()); in getKey() 783 String canonicalID = createKey(id).canonicalID(); in registerObject() local 784 return registerFactory(new SimpleFactory(obj, canonicalID, visible)); in registerObject()
|
D | JavaTimeZone.java | 94 String canonicalID = TimeZone.getCanonicalID(id, isSystemID); in createTimeZone() local 95 if (isSystemID[0] && AVAILABLESET.contains(canonicalID)) { in createTimeZone() 96 jtz = java.util.TimeZone.getTimeZone(canonicalID); in createTimeZone()
|
D | ICULocaleService.java | 252 public String canonicalID() { in canonicalID() method in ICULocaleService.LocaleKey 341 return LocaleUtility.isFallbackOf(canonicalID(), id); in isFallbackOf()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ZoneMeta.java | 107 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemZIDs() local 108 if (id.equals(canonicalID)) { in getCanonicalSystemZIDs() 139 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemLocationZIDs() local 140 if (id.equals(canonicalID)) { in getCanonicalSystemLocationZIDs() 499 String canonicalID = getCanonicalCLDRID(tzid); in getCanonicalCountry() local 500 if (canonicalID != null && canonicalID.equals(primaryZone)) { in getCanonicalCountry() 842 String canonicalID = null; in getShortID() local 845 canonicalID = ((OlsonTimeZone)tz).getCanonicalID(); in getShortID() 848 canonicalID = getCanonicalCLDRID(tz.getID()); in getShortID() 850 if (canonicalID == null) { in getShortID() [all …]
|
D | OlsonTimeZone.java | 443 if (canonicalID == null) { in getCanonicalID() 445 if (canonicalID == null) { in getCanonicalID() 446 canonicalID = getCanonicalID(getID()); in getCanonicalID() 448 assert(canonicalID != null); in getCanonicalID() 449 if (canonicalID == null) { in getCanonicalID() 451 canonicalID = getID(); in getCanonicalID() 456 return canonicalID; in getCanonicalID() 659 if (canonicalID == null) { in setID() 660 canonicalID = getCanonicalID(getID()); in setID() 661 assert(canonicalID != null); in setID() [all …]
|
D | ICUService.java | 175 public String canonicalID() { in canonicalID() method in ICUService.Key 184 return canonicalID(); in currentID() 216 return canonicalID().equals(idToCheck); in isFallbackOf() 400 if (DEBUG) System.out.println("Service: " + name + " key: " + key.canonicalID()); in getKey() 785 String canonicalID = createKey(id).canonicalID(); in registerObject() local 786 return registerFactory(new SimpleFactory(obj, canonicalID, visible)); in registerObject()
|
D | JavaTimeZone.java | 96 String canonicalID = TimeZone.getCanonicalID(id, isSystemID); in createTimeZone() local 97 if (isSystemID[0] && AVAILABLESET.contains(canonicalID)) { in createTimeZone() 98 jtz = java.util.TimeZone.getTimeZone(canonicalID); in createTimeZone()
|
D | ICULocaleService.java | 256 public String canonicalID() { in canonicalID() method in ICULocaleService.LocaleKey 345 return LocaleUtility.isFallbackOf(canonicalID(), id); in isFallbackOf()
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 535 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() 1954 UnicodeString canonicalID; in TestCanonicalIDAPI() local 1956 UnicodeString *pResult = &TimeZone::getCanonicalID(bogus, canonicalID, ec); in TestCanonicalIDAPI() 1958 …sertTrue("TimeZone::getCanonicalID(bogus) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI() 1963 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI() 1965 …rtTrue("TimeZone::getCanonicalID(failure) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI() [all …]
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TimeZoneNameTest.java | 97 String canonicalID = com.ibm.icu.util.TimeZone.getCanonicalID(tzid, isSystemID); in getIcuDisplayName() local 104 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName() 105 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName() 109 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName() 110 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 1024 String canonicalID = null; in getCanonicalID() local 1029 canonicalID = TimeZone.UNKNOWN_ZONE_ID; in getCanonicalID() 1032 canonicalID = ZoneMeta.getCanonicalCLDRID(id); in getCanonicalID() 1033 if (canonicalID != null) { in getCanonicalID() 1036 canonicalID = ZoneMeta.getCustomID(id); in getCanonicalID() 1043 return canonicalID; in getCanonicalID()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 1112 String canonicalID = null; in getCanonicalID() local 1117 canonicalID = TimeZone.UNKNOWN_ZONE_ID; in getCanonicalID() 1120 canonicalID = ZoneMeta.getCanonicalCLDRID(id); in getCanonicalID() 1121 if (canonicalID != null) { in getCanonicalID() 1124 canonicalID = ZoneMeta.getCustomID(id); in getCanonicalID() 1131 return canonicalID; in getCanonicalID()
|
/external/icu/icu4c/source/common/ |
D | serv.cpp | 44 ICUServiceKey::canonicalID(UnicodeString& result) const in canonicalID() function in ICUServiceKey 52 return canonicalID(result); in currentID() 824 UnicodeString canonicalID; in registerInstance() local 825 key->canonicalID(canonicalID); in registerInstance() 828 ICUServiceFactory* f = createSimpleFactory(objToAdopt, canonicalID, visible, status); in registerInstance()
|
D | servlk.cpp | 91 LocaleKey::canonicalID(UnicodeString& result) const { in canonicalID() function in LocaleKey
|
/external/icu/icu4c/source/i18n/unicode/ |
D | timezone.h | 358 UnicodeString& canonicalID, UErrorCode& status); 376 UnicodeString& canonicalID, UBool& isSystemID, UErrorCode& status);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 182 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() local 183 if (!outtz.getID().equals(canonicalID)) { in TestTimeZoneRoundTrip() 211 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() local 212 if (canonicalID != null && !outtz.getID().equals(canonicalID)) { in TestTimeZoneRoundTrip()
|