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

/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/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/libxslt/libxslt/
H A Dxsltlocale.c48 xsltLocale lcid; member in struct:xsltRFC1766Info_s
62 if (xmlStrcmp(p->tag, languageTag) == 0) return p->lcid;
441 * @lcid: not used
448 xsltCountSupportedLocales(LPSTR lcid) { argument
449 (void) lcid;
456 * @lcid: not used
463 xsltIterateSupportedLocales(LPSTR lcid) { argument
470 k = sscanf(lcid, "%lx", (long*)&p->lcid);
473 k = GetLocaleInfoA(p->lcid, LOCALE_SISO639LANGNAM
[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/icu4c/test/cintltst/
H A Dcloctst.c2991 uint32_t lcid; local
2993 lcid = uloc_getLCID("en_US");
2994 if (lcid != 0x0409) {
2995 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid);
2998 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
3006 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3029 sscanf(rawData2[LCID][i], "%x", &lcid);
3030 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3032 log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(status));
3038 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))) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 699 milliseconds