Home
last modified time | relevance | path

Searched refs:lcid (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp132 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()
[all …]
Dwindttst.cpp121 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales()
122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales()
123 …GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, s… in testLocales()
134 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(… in testLocales()
135 … wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer)); in testLocales()
Dwinutil.cpp54 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
56 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, sizeof(localeID)/sizeof(l… in EnumLocalesProc()
Dwinutil.h31 int32_t lcid; member
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) in getNumberFormat() argument
83 … GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); in getNumberFormat()
84 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)… in getNumberFormat()
86 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10); in getNumberFormat()
90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); in getNumberFormat()
93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); in getNumberFormat()
95 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(… in getNumberFormat()
106 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) in getCurrencyFormat() argument
110 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UIN… in getCurrencyFormat()
111 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); in getCurrencyFormat()
[all …]
/external/skia/tools/
Dwin_lcid.cpp15 LCID lcid = LocaleNameToLCID(pStr, NULL); in MyFuncLocaleEx() local
16 if (lcid == 0) { in MyFuncLocaleEx()
21 if (lcid > 0x8000) { in MyFuncLocaleEx()
24 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer); in MyFuncLocaleEx()
/external/e2fsprogs/intl/
Dlocalename.c741 LCID lcid; in _nl_locale_name() local
758 lcid = GetThreadLocale (); in _nl_locale_name()
761 langid = LANGIDFROMLCID (lcid); in _nl_locale_name()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c3118 uint32_t lcid; in TestGetLocaleForLCID() local
3120 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID()
3121 if (lcid != 0x0409) { in TestGetLocaleForLCID()
3122 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID()
3125 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID()
3133 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status); in TestGetLocaleForLCID()
3156 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID()
3157 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status); in TestGetLocaleForLCID()
3159 …log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(sta… in TestGetLocaleForLCID()
3165 … %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2)… in TestGetLocaleForLCID()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...