Searched refs:lcid (Results 1 - 25 of 59) sorted by last modified time

123

/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/skia/tools/
H A Dwin_lcid.cpp15 LCID lcid = LocaleNameToLCID(pStr, NULL); local
16 if (lcid == 0) {
21 if (lcid > 0x8000) {
24 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer);
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
H A DSDL_sysevents.c835 int lcid = MAKELCID(LOWORD(GetKeyboardLayout(0)), SORT_DEFAULT); local
838 if (GetLocaleInfo(lcid, LOCALE_IDEFAULTANSICODEPAGE, buff, sizeof(buff))) {
/external/icu/icu4c/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/icu/icu4c/source/test/cintltst/
H A Dcloctst.c3112 uint32_t lcid; local
3114 lcid = uloc_getLCID("en_US");
3115 if (lcid != 0x0409) {
3116 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid);
3119 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
3127 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3150 sscanf(rawData2[LCID][i], "%x", &lcid);
3151 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3153 log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(status));
3159 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strle
[all...]
/external/icu/icu4c/source/test/intltest/
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));
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.cpp54 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid);
56 localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, sizeof(localeID)/sizeof(localeID[0]), &status);
H A Dwinutil.h31 int32_t lcid; member in struct:Win32Utilities::LCIDRecord
/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 ...
/external/e2fsprogs/intl/
H A Dlocalename.c741 LCID lcid;
758 lcid = GetThreadLocale ();
761 langid = LANGIDFROMLCID (lcid);
/external/chromium_org/third_party/skia/tools/
H A Dwin_lcid.cpp15 LCID lcid = LocaleNameToLCID(pStr, NULL); local
16 if (lcid == 0) {
21 if (lcid > 0x8000) {
24 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer);
/external/chromium_org/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/chromium_org/third_party/icu/source/test/cintltst/
H A Dcloctst.c3111 uint32_t lcid; local
3113 lcid = uloc_getLCID("en_US");
3114 if (lcid != 0x0409) {
3115 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid);
3118 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status);
3126 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3149 sscanf(rawData2[LCID][i], "%x", &lcid);
3150 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status);
3152 log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(status));
3158 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strle
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
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));
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.cpp54 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid);
56 localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, sizeof(localeID)/sizeof(localeID[0]), &status);
H A Dwinutil.h31 int32_t lcid; member in struct:Win32Utilities::LCIDRecord
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DLocaleWin.cpp142 LCID lcid = LCIDFromLocaleInternal(LOCALE_USER_DEFAULT, userDefaultLanguageCode, localeNameToLCID, locale); local
143 if (!lcid)
144 lcid = LCIDFromLocaleInternal(LOCALE_USER_DEFAULT, userDefaultLanguageCode, localeNameToLCID, defaultLanguage());
145 return lcid;
155 inline LocaleWin::LocaleWin(LCID lcid, bool defaultsForLocale) argument
156 : m_lcid(lcid)
167 PassOwnPtr<LocaleWin> LocaleWin::create(LCID lcid, bool defaultsForLocale) argument
169 return adoptPtr(new LocaleWin(lcid, defaultsForLocale));
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DLocaleWinTest.cpp87 String formatDate(LCID lcid, int year, int month, int day) argument
89 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */);
93 unsigned firstDayOfWeek(LCID lcid) argument
95 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */);
99 String monthLabel(LCID lcid, unsigned index) argument
101 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */);
105 String weekDayShortLabel(LCID lcid, unsigned index) argument
107 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */);
111 bool isRTL(LCID lcid) argument
113 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, tru
118 monthFormat(LCID lcid) argument
124 timeFormat(LCID lcid) argument
130 shortTimeFormat(LCID lcid) argument
136 shortMonthLabel(LCID lcid, unsigned index) argument
142 timeAMPMLabel(LCID lcid, unsigned index) argument
148 decimalSeparator(LCID lcid) argument
265 testNumberIsReversible(LCID lcid, const char* original, const char* shouldHave = 0) argument
275 testNumbers(LCID lcid) argument
[all...]
/external/chromium_org/third_party/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/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_act.c554 UINT16 lcid; local
567 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid)))
/external/bluetooth/bluedroid/bta/hf_client/
H A Dbta_hf_client_act.c266 UINT16 lcid; local
278 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid)))
/external/bluetooth/bluedroid/bta/hl/
H A Dbta_hl_utils.c2686 UINT16 lcid; local
2692 lcid = MCA_GetL2CapChannel((tMCA_DL) mdl_hnd);
2693 if ( lcid &&
2694 L2CA_GetCurrentConfig(lcid, &p_our_cfg, &our_cfg_bits, &p_peer_cfg,
2739 APPL_TRACE_DEBUG("bta_hl_get_l2cap_cfg success=%d mdl=%d lcid=%d", success, mdl_hnd, lcid);
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_act.c1914 UINT16 lcid; local
1924 PORT_CheckConnection(port_handle, rem_bda, &lcid);
2147 UINT16 lcid; local
2161 PORT_CheckConnection(port_handle, rem_bda, &lcid);

Completed in 532 milliseconds

123