Home
last modified time | relevance | path

Searched refs:lcid (Results 1 – 14 of 14) 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/opencv3/3rdparty/include/dshow/
Dcontrol.h145 HRESULT (WINAPI *GetTypeInfo)(IAMCollection *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
146 …Names)(IAMCollection *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
147 …HRESULT (WINAPI *Invoke)(IAMCollection *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags…
161 #define IAMCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo… argument
162 …IDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszN… argument
163 …This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Inv… argument
200 HRESULT (WINAPI *GetTypeInfo)(IMediaControl *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
201 …Names)(IMediaControl *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
202 …HRESULT (WINAPI *Invoke)(IMediaControl *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags…
222 #define IMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo… argument
[all …]
/external/skia/tools/
Dwin_lcid.cpp21 LCID lcid = LocaleNameToLCID(pStr, nullptr); in MyFuncLocaleEx() local
22 if (lcid == 0) { in MyFuncLocaleEx()
27 if (lcid > 0x8000) { in MyFuncLocaleEx()
30 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer); in MyFuncLocaleEx()
/external/pdfium/xfa/src/fgas/src/localization/
Dfx_localemgr.cpp81 IFX_Locale* CFX_LocaleMgr::GetLocale(FX_WORD lcid) { in GetLocale() argument
83 (IFX_Locale*)m_lcid2locale.GetValueAt((void*)(uintptr_t)lcid); in GetLocale()
86 (CXML_Element*)m_lcid2xml.GetValueAt((void*)(uintptr_t)lcid); in GetLocale()
89 m_lcid2locale.SetAt((void*)(uintptr_t)lcid, pLocale); in GetLocale()
Dfx_localemgr.h15 virtual IFX_Locale* GetLocale(FX_WORD lcid);
/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/pdfium/xfa/src/fxfa/src/common/
Dxfa_localemgr.h34 virtual IFX_Locale* GetLocale(FX_WORD lcid);
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_localemgr.cpp1165 IFX_Locale* CXFA_LocaleMgr::GetLocale(FX_WORD lcid) { in GetLocale() argument
1167 switch (lcid) { in GetLocale()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c3166 uint32_t lcid; in TestGetLocaleForLCID() local
3168 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID()
3169 if (lcid != 0x0409) { in TestGetLocaleForLCID()
3170 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID()
3173 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID()
3181 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status); in TestGetLocaleForLCID()
3204 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID()
3205 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status); in TestGetLocaleForLCID()
3207 …log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(sta… in TestGetLocaleForLCID()
3213 … %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2)… in TestGetLocaleForLCID()
[all …]
/external/pdfium/xfa/src/fgas/include/
Dfx_locale.h90 virtual IFX_Locale* GetLocale(FX_WORD lcid) = 0;