Searched refs:lcid (Results 1 - 15 of 15) sorted by relevance

/external/chromium/third_party/icu/source/test/intltest/
H A Dwinutil.h31 int32_t lcid; member in struct:Win32Utilities::LCIDRecord
H A Dwinnmtst.cpp132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) argument
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) argument
238 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d);
240 getWindowsFormat(lcid, currenc
[all...]
H A Dwinutil.cpp50 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid);
52 lcidRecords[lcidCount].localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status);
H A Dwindttst.cpp122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81);
123 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81);
124 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, sizeof(int32_t));
135 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(wdBuffer));
136 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer));
/external/icu4c/test/intltest/
H A Dwinutil.h31 int32_t lcid; member in struct:Win32Utilities::LCIDRecord
H A Dwinnmtst.cpp132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) argument
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) argument
238 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d);
240 getWindowsFormat(lcid, currenc
[all...]
H A Dwinutil.cpp53 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid);
55 localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status);
H A Dwindttst.cpp121 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81);
122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81);
123 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, sizeof(int32_t));
134 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(wdBuffer));
135 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer));
/external/chromium/third_party/icu/source/i18n/
H A Dwinnmfmt.cpp79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) argument
83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT));
84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT));
86 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10);
90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6);
93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6);
95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT));
106 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) argument
110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT));
111 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBE
[all...]
/external/icu4c/i18n/
H A Dwinnmfmt.cpp79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) argument
83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT));
84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT));
86 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10);
90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6);
93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6);
95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT));
106 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) argument
110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT));
111 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBE
[all...]
/external/stlport/src/c_locale_win32/
H A Dc_locale_win32.c236 static int __GetLCID(const char* lang, const char* ctry, LCID* lcid);
237 static int __GetLCIDFromName(const char* lname, LCID* lcid, char *cp, _Locale_lcid_t *hint);
238 static char const* __GetLocaleName(LCID lcid, const char* cp, char* buf);
241 static void __GetLocaleInfoUsingACP(LCID lcid, const char* cp, LCTYPE lctype, char* buf, int buf_size, wchar_t* wbuf, int wbuf_size);
242 static int __intGetACP(LCID lcid);
243 static int __intGetOCP(LCID lcid);
244 static int __GetDefaultCP(LCID lcid);
1485 LCID lcid = LocaleFromHex(locale); local
1489 GetLocaleInfoA(lcid, LOCALE_SENGLANGUAGE, Lang, MAX_LANG_LEN);
1491 GetLocaleInfoA(lcid, LOCALE_SABBREVLANGNAM
1523 __GetLCID(const char* lang, const char* ctry, LCID* lcid) argument
1539 __GetLCIDFromName(const char* lname, LCID* lcid, char* cp, _Locale_lcid_t *hint) argument
1611 __GetLocaleName(LCID lcid, const char* cp, char* buf) argument
1651 LCID lcid; local
1659 __GetLocaleInfoUsingACP(LCID lcid, const char* cp, LCTYPE lctype, char* buf, int buf_size, wchar_t* wbuf, int wbuf_size) argument
1687 __intGetACP(LCID lcid) argument
1702 __intGetOCP(LCID lcid) argument
1709 __GetDefaultCP(LCID lcid) argument
[all...]
/external/e2fsprogs/intl/
H A Dlocalename.c741 LCID lcid;
758 lcid = GetThreadLocale ();
761 langid = LANGIDFROMLCID (lcid);
/external/chromium/third_party/icu/source/test/cintltst/
H A Dcloctst.c2819 uint32_t lcid; local
2821 lcid = uloc_getLCID("en_US");
2822 if (lcid != 0x0409) {
2823 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid);
2826 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
2834 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
2857 sscanf(rawData2[LCID][i], "%x", &lcid);
2858 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
2860 log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(status));
2866 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strle
[all...]
/external/icu4c/test/cintltst/
H A Dcloctst.c2843 uint32_t lcid; local
2845 lcid = uloc_getLCID("en_US");
2846 if (lcid != 0x0409) {
2847 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid);
2850 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
2858 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
2881 sscanf(rawData2[LCID][i], "%x", &lcid);
2882 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
2884 log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(status));
2890 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strle
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
H A DSDL_sysevents.c905 int lcid = MAKELCID(LOWORD(GetKeyboardLayout(0)), SORT_DEFAULT); local
908 if (GetLocaleInfo(lcid, LOCALE_IDEFAULTANSICODEPAGE, buff, sizeof(buff))) {

Completed in 188 milliseconds