Lines Matching refs:lcid
132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...)
187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE);
193 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0);
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE);
207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0);
211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength);
229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log)
238 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d);
240 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32);
242 getWindowsFormat(lcid, currency, w6Buffer, L"%I64d", i64);
279 // NULL localeID means ICU didn't recognize the lcid
298 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log);
299 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);
306 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log);
307 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);