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