Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dwintz.c119 static LONG openTZRegKey(HKEY *hkey, const char *winid) in openTZRegKey() argument
132 uprv_strcat(subKeyName, winid); in openTZRegKey()
150 static LONG getTZI(const char *winid, TZI *tzi) in getTZI() argument
156 result = openTZRegKey(&hkey, winid); in getTZI()
173 static LONG getSTDName(const char *winid, char *regStdName, int32_t length) { in getSTDName() argument
178 result = openTZRegKey(&hkey, winid); in getSTDName()
293 const char* winid; in uprv_detectWindowsTimeZone() local
298 winid = ures_getKey(winTZ); in uprv_detectWindowsTimeZone()
299 result = getTZI(winid, &tziReg); in uprv_detectWindowsTimeZone()
323 result = getSTDName(winid, regStdName, sizeof(regStdName)); in uprv_detectWindowsTimeZone()
/external/chromium_org/third_party/icu/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()
296 const char* winid; in uprv_detectWindowsTimeZone() local
301 winid = ures_getKey(winTZ); in uprv_detectWindowsTimeZone()
302 result = getTZI(winid, &tziReg); in uprv_detectWindowsTimeZone()
326 result = getSTDName(winid, regStdName, sizeof(regStdName)); in uprv_detectWindowsTimeZone()
/external/icu/icu4c/source/i18n/unicode/
Dtimezone.h385 UnicodeString& winid, UErrorCode& status);
413 … static UnicodeString& U_EXPORT2 getIDForWindowsID(const UnicodeString& winid, const char* region,
Ducal.h1525 UChar* winid, int32_t winidCapacity, UErrorCode* status);
1556 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, const char* region,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dtimezone.h385 UnicodeString& winid, UErrorCode& status);
413 … static UnicodeString& U_EXPORT2 getIDForWindowsID(const UnicodeString& winid, const char* region,
Ducal.h1527 UChar* winid, int32_t winidCapacity, UErrorCode* status);
1558 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, const char* region,
/external/chromium_org/third_party/icu/source/i18n/
Dtimezone.cpp1528 TimeZone::getWindowsID(const UnicodeString& id, UnicodeString& winid, UErrorCode& status) { in getWindowsID() argument
1529 winid.remove(); in getWindowsID()
1531 return winid; in getWindowsID()
1541 return winid; in getWindowsID()
1548 return winid; in getWindowsID()
1585 winid = UnicodeString(ures_getKey(winzone), -1 , US_INV); in getWindowsID()
1597 return winid; in getWindowsID()
1603 TimeZone::getIDForWindowsID(const UnicodeString& winid, const char* region, UnicodeString& id, UErr… in getIDForWindowsID() argument
1618 int32_t winKeyLen = winid.extract(0, winid.length(), winidKey, sizeof(winidKey) - 1, US_INV); in getIDForWindowsID()
Ducal.cpp777 ucal_getWindowsTimeZoneID(const UChar* id, int32_t len, UChar* winid, int32_t winidCapacity, UError… in ucal_getWindowsTimeZoneID() argument
788 resultWinID.extract(winid, winidCapacity, *status); in ucal_getWindowsTimeZoneID()
795 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, const char* region, UChar* id, int3… in ucal_getTimeZoneIDForWindowsID() argument
803 TimeZone::getIDForWindowsID(UnicodeString(winid, len), region, resultID, *status); in ucal_getTimeZoneIDForWindowsID()
/external/icu/icu4c/source/i18n/
Dtimezone.cpp1530 TimeZone::getWindowsID(const UnicodeString& id, UnicodeString& winid, UErrorCode& status) { in getWindowsID() argument
1531 winid.remove(); in getWindowsID()
1533 return winid; in getWindowsID()
1548 return winid; in getWindowsID()
1555 return winid; in getWindowsID()
1592 winid = UnicodeString(ures_getKey(winzone), -1 , US_INV); in getWindowsID()
1604 return winid; in getWindowsID()
1610 TimeZone::getIDForWindowsID(const UnicodeString& winid, const char* region, UnicodeString& id, UErr… in getIDForWindowsID() argument
1625 int32_t winKeyLen = winid.extract(0, winid.length(), winidKey, sizeof(winidKey) - 1, US_INV); in getIDForWindowsID()
Ducal.cpp777 ucal_getWindowsTimeZoneID(const UChar* id, int32_t len, UChar* winid, int32_t winidCapacity, UError… in ucal_getWindowsTimeZoneID() argument
788 resultWinID.extract(winid, winidCapacity, *status); in ucal_getWindowsTimeZoneID()
795 ucal_getTimeZoneIDForWindowsID(const UChar* winid, int32_t len, const char* region, UChar* id, int3… in ucal_getTimeZoneIDForWindowsID() argument
803 TimeZone::getIDForWindowsID(UnicodeString(winid, len), region, resultID, *status); in ucal_getTimeZoneIDForWindowsID()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtztest.cpp2325 const char *winid; in TestGetWindowsID() member
2347 assertEquals(TESTDATA[i].id, UnicodeString(TESTDATA[i].winid), windowsID, TRUE); in TestGetWindowsID()
2353 const char *winid; in TestGetIDForWindowsID() member
2369 for (int32_t i = 0; TESTDATA[i].winid != 0; i++) { in TestGetIDForWindowsID()
2373 TimeZone::getIDForWindowsID(UnicodeString(TESTDATA[i].winid), TESTDATA[i].region, in TestGetIDForWindowsID()
2375 assertSuccess(UnicodeString(TESTDATA[i].winid) + "/" + TESTDATA[i].region, sts); in TestGetIDForWindowsID()
2376 …assertEquals(UnicodeString(TESTDATA[i].winid) + "/" + TESTDATA[i].region, TESTDATA[i].id, id, TRUE… in TestGetIDForWindowsID()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp2345 const char *winid; in TestGetWindowsID() member
2367 assertEquals(TESTDATA[i].id, UnicodeString(TESTDATA[i].winid), windowsID, TRUE); in TestGetWindowsID()
2373 const char *winid; in TestGetIDForWindowsID() member
2389 for (int32_t i = 0; TESTDATA[i].winid != 0; i++) { in TestGetIDForWindowsID()
2393 TimeZone::getIDForWindowsID(UnicodeString(TESTDATA[i].winid), TESTDATA[i].region, in TestGetIDForWindowsID()
2395 assertSuccess(UnicodeString(TESTDATA[i].winid) + "/" + TESTDATA[i].region, sts); in TestGetIDForWindowsID()
2396 …assertEquals(UnicodeString(TESTDATA[i].winid) + "/" + TESTDATA[i].region, TESTDATA[i].id, id, TRUE… in TestGetIDForWindowsID()