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
49 newRecords[i] = lcidRecords[i]; in EnumLocalesProc()
52 delete[] lcidRecords; in EnumLocalesProc()
53 lcidRecords = newRecords; in EnumLocalesProc()
57 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
59 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
61 lcidRecords[lcidCount].localeID = new char[localeIDLen + 1]; in EnumLocalesProc()
62 memcpy(lcidRecords[lcidCount].localeID, localeID, localeIDLen); in EnumLocalesProc()
63 lcidRecords[lcidCount].localeID[localeIDLen] = 0; in EnumLocalesProc()
65 lcidRecords[lcidCount].localeID = NULL; in EnumLocalesProc()
[all …]
Dwinnmtst.cpp274 Win32Utilities::LCIDRecord *lcidRecords = Win32Utilities::getLocales(lcidCount); in testLocales() local
281 if (lcidRecords[i].localeID == NULL) { in testLocales()
285 strcpy(localeID, lcidRecords[i].localeID); in testLocales()
299 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales()
300 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
307 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales()
308 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
319 Win32Utilities::freeLocales(lcidRecords); in testLocales()
Dwindttst.cpp109 Win32Utilities::LCIDRecord *lcidRecords = Win32Utilities::getLocales(lcidCount); in testLocales() local
117 if (lcidRecords[i].localeID == NULL) { in testLocales()
121 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales()
122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales()
123 …GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, s… in testLocales()
127 uprv_strcpy(localeID, lcidRecords[i].localeID); in testLocales()
134 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, UPRV_LENGTH… in testLocales()
135 …wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, UPRV_LENGTHOF(wtBuffer)… in testLocales()
190 Win32Utilities::freeLocales(lcidRecords); in testLocales()