/external/icu/icu4c/source/i18n/ |
D | zonemeta.cpp | 249 const UChar *canonicalID = NULL; in getCanonicalCLDRID() local 259 canonicalID = (const UChar *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID() 263 if (canonicalID != NULL) { in getCanonicalCLDRID() 264 return canonicalID; in getCanonicalCLDRID() 287 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 291 if (canonicalID == NULL) { in getCanonicalCLDRID() 299 canonicalID = canonical; in getCanonicalCLDRID() 302 if (canonicalID == NULL) { in getCanonicalCLDRID() 327 canonicalID = canonical; in getCanonicalCLDRID() 329 canonicalID = derefer; in getCanonicalCLDRID() [all …]
|
D | timezone.cpp | 611 UnicodeString canonicalID; in initMap() local 612 ZoneMeta::getCanonicalCLDRID(id, canonicalID, ec); in initMap() 616 if (canonicalID != id) { in initMap() 1270 UnicodeString canonicalID(ZoneMeta::getCanonicalCLDRID(*this)); in getDisplayName() local 1271 tznames->getDisplayName(canonicalID, nameType, date, result); in getDisplayName() 1518 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument 1521 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID() 1525 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument 1528 canonicalID.remove(); in getCanonicalID() 1531 return canonicalID; in getCanonicalID() [all …]
|
D | olsontz.h | 381 const UChar *canonicalID; variable 442 return canonicalID; in getCanonicalID()
|
D | zonemeta.h | 113 static const UChar* getShortIDFromCanonical(const UChar* canonicalID);
|
D | olsontz.cpp | 98 canonicalID = NULL; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 275 canonicalID = other.canonicalID; in operator =()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
D | TimeZoneNameProviderICU.java | 22 String canonicalID = com.ibm.icu.util.TimeZone.getCanonicalID(ID, isSystemID); in getDisplayName() local 30 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName() 31 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName() 32 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName() 33 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ZoneMeta.java | 105 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemZIDs() local 106 if (id.equals(canonicalID)) { in getCanonicalSystemZIDs() 137 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemLocationZIDs() local 138 if (id.equals(canonicalID)) { in getCanonicalSystemLocationZIDs() 497 String canonicalID = getCanonicalCLDRID(tzid); in getCanonicalCountry() local 498 if (canonicalID != null && canonicalID.equals(primaryZone)) { in getCanonicalCountry() 840 String canonicalID = null; in getShortID() local 843 canonicalID = ((OlsonTimeZone)tz).getCanonicalID(); in getShortID() 845 canonicalID = getCanonicalCLDRID(tz.getID()); in getShortID() 846 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() 394 if (DEBUG) System.out.println("Service: " + name + " key: " + key.canonicalID()); in getKey() 804 String canonicalID = createKey(id).canonicalID(); in registerObject() local 805 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 | 253 public String canonicalID() { in canonicalID() method in ICULocaleService.LocaleKey 338 return LocaleUtility.isFallbackOf(canonicalID(), id); in isFallbackOf()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ZoneMeta.java | 104 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemZIDs() local 105 if (id.equals(canonicalID)) { in getCanonicalSystemZIDs() 136 String canonicalID = getCanonicalCLDRID(id); in getCanonicalSystemLocationZIDs() local 137 if (id.equals(canonicalID)) { in getCanonicalSystemLocationZIDs() 496 String canonicalID = getCanonicalCLDRID(tzid); in getCanonicalCountry() local 497 if (canonicalID != null && canonicalID.equals(primaryZone)) { in getCanonicalCountry() 839 String canonicalID = null; in getShortID() local 842 canonicalID = ((OlsonTimeZone)tz).getCanonicalID(); in getShortID() 844 canonicalID = getCanonicalCLDRID(tz.getID()); in getShortID() 845 if (canonicalID == null) { in getShortID() [all …]
|
D | OlsonTimeZone.java | 439 if (canonicalID == null) { in getCanonicalID() 441 if (canonicalID == null) { in getCanonicalID() 442 canonicalID = getCanonicalID(getID()); in getCanonicalID() 444 assert(canonicalID != null); in getCanonicalID() 445 if (canonicalID == null) { in getCanonicalID() 447 canonicalID = getID(); in getCanonicalID() 452 return canonicalID; in getCanonicalID() 655 if (canonicalID == null) { in setID() 656 canonicalID = getCanonicalID(getID()); in setID() 657 assert(canonicalID != null); in setID() [all …]
|
D | ICUService.java | 171 public String canonicalID() { in canonicalID() method in ICUService.Key 180 return canonicalID(); in currentID() 212 return canonicalID().equals(idToCheck); in isFallbackOf() 392 if (DEBUG) System.out.println("Service: " + name + " key: " + key.canonicalID()); in getKey() 802 String canonicalID = createKey(id).canonicalID(); in registerObject() local 803 return registerFactory(new SimpleFactory(obj, canonicalID, visible)); in registerObject()
|
D | JavaTimeZone.java | 92 String canonicalID = TimeZone.getCanonicalID(id, isSystemID); in createTimeZone() local 93 if (isSystemID[0] && AVAILABLESET.contains(canonicalID)) { in createTimeZone() 94 jtz = java.util.TimeZone.getTimeZone(canonicalID); in createTimeZone()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TimeZoneNameTest.java | 95 String canonicalID = com.ibm.icu.util.TimeZone.getCanonicalID(tzid, isSystemID); in getIcuDisplayName() local 102 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName() 103 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName() 107 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName() 108 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 533 UnicodeString canonicalID; in TestGetAvailableIDsNew() local 624 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew() 628 if (*id1 == canonicalID) { in TestGetAvailableIDsNew() 644 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew() 648 if (*id1 != canonicalID) { in TestGetAvailableIDsNew() 1952 UnicodeString canonicalID; in TestCanonicalIDAPI() local 1954 UnicodeString *pResult = &TimeZone::getCanonicalID(bogus, canonicalID, ec); in TestCanonicalIDAPI() 1956 …sertTrue("TimeZone::getCanonicalID(bogus) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI() 1961 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI() 1963 …rtTrue("TimeZone::getCanonicalID(failure) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 1003 String canonicalID = null; in getCanonicalID() local 1008 canonicalID = TimeZone.UNKNOWN_ZONE_ID; in getCanonicalID() 1011 canonicalID = ZoneMeta.getCanonicalCLDRID(id); in getCanonicalID() 1012 if (canonicalID != null) { in getCanonicalID() 1015 canonicalID = ZoneMeta.getCustomID(id); in getCanonicalID() 1022 return canonicalID; in getCanonicalID()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 1087 String canonicalID = null; in getCanonicalID() local 1092 canonicalID = TimeZone.UNKNOWN_ZONE_ID; in getCanonicalID() 1095 canonicalID = ZoneMeta.getCanonicalCLDRID(id); in getCanonicalID() 1096 if (canonicalID != null) { in getCanonicalID() 1099 canonicalID = ZoneMeta.getCustomID(id); in getCanonicalID() 1106 return canonicalID; in getCanonicalID()
|
/external/icu/icu4c/source/common/ |
D | serv.cpp | 42 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()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | timezone.h | 358 UnicodeString& canonicalID, UErrorCode& status); 376 UnicodeString& canonicalID, UBool& isSystemID, UErrorCode& status);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 181 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() local 182 if (!outtz.getID().equals(canonicalID)) { in TestTimeZoneRoundTrip() 210 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() local 211 if (canonicalID != null && !outtz.getID().equals(canonicalID)) { in TestTimeZoneRoundTrip()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 177 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() local 178 if (!outtz.getID().equals(canonicalID)) { in TestTimeZoneRoundTrip() 206 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() local 207 if (canonicalID != null && !outtz.getID().equals(canonicalID)) { in TestTimeZoneRoundTrip()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormatSymbols.java | 1318 String canonicalID = TimeZone.getCanonicalID(tzIDs[i]); in getZoneStrings() local 1319 if (canonicalID == null) { in getZoneStrings() 1320 canonicalID = tzIDs[i]; in getZoneStrings() 1324 tznames.getDisplayNames(canonicalID, types, now, array[i], 1); in getZoneStrings()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormatSymbols.java | 1282 String canonicalID = TimeZone.getCanonicalID(tzIDs[i]); in getZoneStrings() local 1283 if (canonicalID == null) { in getZoneStrings() 1284 canonicalID = tzIDs[i]; in getZoneStrings() 1288 tznames.getDisplayNames(canonicalID, types, now, array[i], 1); in getZoneStrings()
|