Home
last modified time | relevance | path

Searched refs:winid (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/common/
Dwintz.c120 static LONG openTZRegKey(HKEY *hkey, const char *winid) in openTZRegKey() argument
133 uprv_strcat(subKeyName, winid); in openTZRegKey()
151 static LONG getTZI(const char *winid, TZI *tzi) in getTZI() argument
157 result = openTZRegKey(&hkey, winid); in getTZI()
174 static LONG getSTDName(const char *winid, char *regStdName, int32_t length) { in getSTDName() argument
179 result = openTZRegKey(&hkey, winid); in getSTDName()
363 const char* winid; in uprv_detectWindowsTimeZone() local
368 winid = ures_getKey(winTZ); in uprv_detectWindowsTimeZone()
369 result = getTZI(winid, &tziReg); in uprv_detectWindowsTimeZone()
393 result = getSTDName(winid, regStdName, sizeof(regStdName)); in uprv_detectWindowsTimeZone()
/external/icu/icu4c/source/i18n/
Dtimezone.cpp1551 TimeZone::getWindowsID(const UnicodeString& id, UnicodeString& winid, UErrorCode& status) { in getWindowsID() argument
1552 winid.remove(); in getWindowsID()
1554 return winid; in getWindowsID()
1569 return winid; in getWindowsID()
1576 return winid; in getWindowsID()
1613 winid = UnicodeString(ures_getKey(winzone), -1 , US_INV); in getWindowsID()
1625 return winid; in getWindowsID()
1631 TimeZone::getIDForWindowsID(const UnicodeString& winid, const char* region, UnicodeString& id, UErr… in getIDForWindowsID() argument
1646 int32_t winKeyLen = winid.extract(0, winid.length(), winidKey, sizeof(winidKey) - 1, US_INV); in getIDForWindowsID()
Ducal.cpp776 ucal_getWindowsTimeZoneID(const UChar* id, int32_t len, UChar* winid, int32_t winidCapacity, UError… in ucal_getWindowsTimeZoneID() argument
787 resultWinID.extract(winid, winidCapacity, *status); in ucal_getWindowsTimeZoneID()
794 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, const char* region, UChar* id, int3… in ucal_getTimeZoneIDForWindowsID() argument
802 TimeZone::getIDForWindowsID(UnicodeString(winid, len), region, resultID, *status); in ucal_getTimeZoneIDForWindowsID()
/external/icu/icu4c/source/i18n/unicode/
Dtimezone.h401 UnicodeString& winid, UErrorCode& status);
429 … static UnicodeString& U_EXPORT2 getIDForWindowsID(const UnicodeString& winid, const char* region,
Ducal.h1524 UChar* winid, int32_t winidCapacity, UErrorCode* status);
1555 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, const char* region,
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp2399 const char *winid; in TestGetWindowsID() member
2421 assertEquals(TESTDATA[i].id, UnicodeString(TESTDATA[i].winid), windowsID, TRUE); in TestGetWindowsID()
2427 const char *winid; in TestGetIDForWindowsID() member
2443 for (int32_t i = 0; TESTDATA[i].winid != 0; i++) { in TestGetIDForWindowsID()
2447 TimeZone::getIDForWindowsID(UnicodeString(TESTDATA[i].winid), TESTDATA[i].region, in TestGetIDForWindowsID()
2449 assertSuccess(UnicodeString(TESTDATA[i].winid) + "/" + TESTDATA[i].region, sts); in TestGetIDForWindowsID()
2450 …assertEquals(UnicodeString(TESTDATA[i].winid) + "/" + TESTDATA[i].region, TESTDATA[i].id, id, TRUE… in TestGetIDForWindowsID()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZone.java1145 public static String getIDForWindowsID(String winid, String region) { in getIDForWindowsID() argument
1153 UResourceBundle zones = mapTimezones.get(winid); in getIDForWindowsID()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java1235 public static String getIDForWindowsID(String winid, String region) { in getIDForWindowsID() argument
1243 UResourceBundle zones = mapTimezones.get(winid); in getIDForWindowsID()