Home
last modified time | relevance | path

Searched refs:lcidRecords (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dwinutil.cpp35 static Win32Utilities::LCIDRecord *lcidRecords = NULL; variable
50 newRecords[i] = lcidRecords[i]; in EnumLocalesProc()
53 delete[] lcidRecords; in EnumLocalesProc()
54 lcidRecords = newRecords; in EnumLocalesProc()
58 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
60 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
62 lcidRecords[lcidCount].localeID = new char[localeIDLen + 1]; in EnumLocalesProc()
63 memcpy(lcidRecords[lcidCount].localeID, localeID, localeIDLen); in EnumLocalesProc()
64 lcidRecords[lcidCount].localeID[localeIDLen] = 0; in EnumLocalesProc()
66 lcidRecords[lcidCount].localeID = NULL; in EnumLocalesProc()
[all …]
Dwinnmtst.cpp278 Win32Utilities::LCIDRecord *lcidRecords = Win32Utilities::getLocales(lcidCount); in testLocales() local
285 if (lcidRecords[i].localeID == NULL) { in testLocales()
298 …td::find(std::begin(failingLocaleLCIDs), std::end(failingLocaleLCIDs), lcidRecords[i].lcid) != std… in testLocales()
300 log->logln("ticket:13119 - Skipping LCID = 0x%04x", lcidRecords[i].lcid); in testLocales()
304 strcpy(localeID, lcidRecords[i].localeID); in testLocales()
318 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales()
319 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
326 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales()
327 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
338 Win32Utilities::freeLocales(lcidRecords); in testLocales()
Dwindttst.cpp114 Win32Utilities::LCIDRecord *lcidRecords = Win32Utilities::getLocales(lcidCount); in testLocales() local
123 if (lcidRecords[i].localeID == NULL) { in testLocales()
136 …td::find(std::begin(failingLocaleLCIDs), std::end(failingLocaleLCIDs), lcidRecords[i].lcid) != std… in testLocales()
138 log->logln("ticket:13119 - Skipping LCID = 0x%04x", lcidRecords[i].lcid); in testLocales()
142 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales()
143 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales()
144 …GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR)&value, siz… in testLocales()
149 uprv_strcpy(localeID, lcidRecords[i].localeID); in testLocales()
156 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, UPRV_LENGTH… in testLocales()
157 …wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, UPRV_LENGTHOF(wtBuffer)… in testLocales()
[all …]