Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/icu/source/i18n/
Dzonemeta.cpp252 const UChar *canonicalID = NULL; in getCanonicalCLDRID() local
268 canonicalID = (const UChar *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID()
272 if (canonicalID != NULL) { in getCanonicalCLDRID()
273 return canonicalID; in getCanonicalCLDRID()
296 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
300 if (canonicalID == NULL) { in getCanonicalCLDRID()
308 canonicalID = canonical; in getCanonicalCLDRID()
311 if (canonicalID == NULL) { in getCanonicalCLDRID()
336 canonicalID = canonical; in getCanonicalCLDRID()
338 canonicalID = derefer; in getCanonicalCLDRID()
[all …]
Dtimezone.cpp647 UnicodeString canonicalID; in initMap() local
648 ZoneMeta::getCanonicalCLDRID(id, canonicalID, ec); in initMap()
652 if (canonicalID != id) { in initMap()
1297 UnicodeString canonicalID(ZoneMeta::getCanonicalCLDRID(*this)); in getDisplayName() local
1298 tznames->getDisplayName(canonicalID, nameType, date, result); in getDisplayName()
1544 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument
1547 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID()
1551 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument
1554 canonicalID.remove(); in getCanonicalID()
1557 return canonicalID; in getCanonicalID()
[all …]
Dolsontz.h385 const UChar *canonicalID; variable
446 return canonicalID; in getCanonicalID()
/third_party/icu/icu4c/source/i18n/
Dzonemeta.cpp244 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()
[all …]
Dtimezone.cpp647 UnicodeString canonicalID; in initMap() local
648 ZoneMeta::getCanonicalCLDRID(id, canonicalID, ec); in initMap()
652 if (canonicalID != id) { in initMap()
1315 UnicodeString canonicalID(ZoneMeta::getCanonicalCLDRID(*this)); in getDisplayName() local
1316 tznames->getDisplayName(canonicalID, nameType, date, result); in getDisplayName()
1562 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument
1565 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID()
1569 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument
1572 canonicalID.remove(); in getCanonicalID()
1575 return canonicalID; in getCanonicalID()
[all …]
Dolsontz.h385 const UChar *canonicalID; variable
446 return canonicalID; in getCanonicalID()
/third_party/node/deps/icu-small/source/i18n/
Dzonemeta.cpp244 const char16_t *canonicalID = nullptr; in getCanonicalCLDRID() local
260 canonicalID = (const char16_t *)uhash_get(gCanonicalIDCache, utzid); in getCanonicalCLDRID()
264 if (canonicalID != nullptr) { in getCanonicalCLDRID()
265 return canonicalID; in getCanonicalCLDRID()
288 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID()
292 if (canonicalID == nullptr) { in getCanonicalCLDRID()
300 canonicalID = canonical; in getCanonicalCLDRID()
303 if (canonicalID == nullptr) { in getCanonicalCLDRID()
328 canonicalID = canonical; in getCanonicalCLDRID()
330 canonicalID = derefer; in getCanonicalCLDRID()
[all …]
Dtimezone.cpp647 UnicodeString canonicalID; in initMap() local
648 ZoneMeta::getCanonicalCLDRID(id, canonicalID, ec); in initMap()
652 if (canonicalID != id) { in initMap()
1315 UnicodeString canonicalID(ZoneMeta::getCanonicalCLDRID(*this)); in getDisplayName() local
1316 tznames->getDisplayName(canonicalID, nameType, date, result); in getDisplayName()
1562 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UErrorCode& status) in getCanonicalID() argument
1565 return getCanonicalID(id, canonicalID, isSystemID, status); in getCanonicalID()
1569 TimeZone::getCanonicalID(const UnicodeString& id, UnicodeString& canonicalID, UBool& isSystemID, in getCanonicalID() argument
1572 canonicalID.remove(); in getCanonicalID()
1575 return canonicalID; in getCanonicalID()
[all …]
Dolsontz.h385 const char16_t *canonicalID; variable
446 return canonicalID; in getCanonicalID()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DTimeZoneNameProviderICU.java24 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DZoneMeta.java107 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 …]
DOlsonTimeZone.java443 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()
656 if (canonicalID == null) { in setID()
657 canonicalID = getCanonicalID(getID()); in setID()
658 assert(canonicalID != null); in setID()
[all …]
DICUService.java176 public String canonicalID() { in canonicalID() method in ICUService.Key
185 return canonicalID(); in currentID()
217 return canonicalID().equals(idToCheck); in isFallbackOf()
403 if (DEBUG) System.out.println("Service: " + name + " key: " + key.canonicalID()); in getKey()
788 String canonicalID = createKey(id).canonicalID(); in registerObject() local
789 return registerFactory(new SimpleFactory(obj, canonicalID, visible)); in registerObject()
DJavaTimeZone.java96 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DZoneMeta.java106 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 …]
DOlsonTimeZone.java441 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()
654 if (canonicalID == null) { in setID()
655 canonicalID = getCanonicalID(getID()); in setID()
656 assert(canonicalID != null); in setID()
[all …]
DICUService.java173 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()
DJavaTimeZone.java94 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()
/third_party/icu/icu4c/source/test/intltest/
Dtztest.cpp564 UnicodeString canonicalID; in TestGetAvailableIDsNew() local
655 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
659 if (*id1 == canonicalID) { in TestGetAvailableIDsNew()
675 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
679 if (*id1 != canonicalID) { in TestGetAvailableIDsNew()
2016 UnicodeString canonicalID; in TestCanonicalIDAPI() local
2018 UnicodeString *pResult = &TimeZone::getCanonicalID(bogus, canonicalID, ec); in TestCanonicalIDAPI()
2020 …sertTrue("TimeZone::getCanonicalID(bogus) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI()
2025 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
2027 …rtTrue("TimeZone::getCanonicalID(failure) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI()
[all …]
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java100 String canonicalID = com.ibm.icu.util.TimeZone.getCanonicalID(tzid, isSystemID); in getIcuDisplayName() local
107 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName()
108 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName()
112 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName()
113 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DTimeZone.java1055 String canonicalID = null; in getCanonicalID() local
1060 canonicalID = TimeZone.UNKNOWN_ZONE_ID; in getCanonicalID()
1063 canonicalID = ZoneMeta.getCanonicalCLDRID(id); in getCanonicalID()
1064 if (canonicalID != null) { in getCanonicalID()
1067 canonicalID = ZoneMeta.getCustomID(id); in getCanonicalID()
1074 return canonicalID; in getCanonicalID()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java1147 String canonicalID = null; in getCanonicalID() local
1152 canonicalID = TimeZone.UNKNOWN_ZONE_ID; in getCanonicalID()
1155 canonicalID = ZoneMeta.getCanonicalCLDRID(id); in getCanonicalID()
1156 if (canonicalID != null) { in getCanonicalID()
1159 canonicalID = ZoneMeta.getCustomID(id); in getCanonicalID()
1166 return canonicalID; in getCanonicalID()
/third_party/skia/third_party/externals/icu/source/common/
Dserv.cpp44 ICUServiceKey::canonicalID(UnicodeString& result) const in canonicalID() function in ICUServiceKey
52 return canonicalID(result); in currentID()
823 UnicodeString canonicalID; in registerInstance() local
824 key->canonicalID(canonicalID); in registerInstance()
827 ICUServiceFactory* f = createSimpleFactory(objToAdopt, canonicalID, visible, status); in registerInstance()
/third_party/node/deps/icu-small/source/common/
Dserv.cpp45 ICUServiceKey::canonicalID(UnicodeString& result) const in canonicalID() function in ICUServiceKey
53 return canonicalID(result); in currentID()
807 UnicodeString canonicalID; in registerInstance() local
808 key->canonicalID(canonicalID); in registerInstance()
811 ICUServiceFactory* f = createSimpleFactory(objToAdopt, canonicalID, visible, status); in registerInstance()
/third_party/icu/icu4c/source/common/
Dserv.cpp45 ICUServiceKey::canonicalID(UnicodeString& result) const in canonicalID() function in ICUServiceKey
53 return canonicalID(result); in currentID()
807 UnicodeString canonicalID; in registerInstance() local
808 key->canonicalID(canonicalID); in registerInstance()
811 ICUServiceFactory* f = createSimpleFactory(objToAdopt, canonicalID, visible, status); in registerInstance()

123