Home
last modified time | relevance | path

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

12

/third_party/boost/libs/locale/src/win32/
Dapi.hpp75 lcid(0) in winlocale()
81 lcid = locale_to_lcid(name); in winlocale()
84 unsigned lcid; member in boost::locale::impl_win::winlocale
88 return lcid == 0; in is_c()
103 unsigned lcid = l.lcid; in wcsnumformat_l() local
105 if(lcid == 0) in wcsnumformat_l()
117 if( GetLocaleInfoW(lcid,LOCALE_STHOUSAND,th,th_size)==0 in wcsnumformat_l()
118 || GetLocaleInfoW(lcid,LOCALE_SDECIMAL ,de,de_size)==0 in wcsnumformat_l()
119 || GetLocaleInfoW(lcid,LOCALE_SGROUPING,gr,gr_size)==0) in wcsnumformat_l()
149 int len = LCMapStringW(l.lcid,flags,begin,end-begin,0,0); in win_map_string_l()
[all …]
Dlcid.cpp52 unsigned lcid ; in proc() local
53 ss >>lcid; in proc()
60 if(GetLocaleInfoA(lcid,LOCALE_SISO639LANGNAME,iso_639_lang,sizeof(iso_639_lang))==0) in proc()
63 … if(GetLocaleInfoA(lcid,LOCALE_SISO3166CTRYNAME,iso_3166_country,sizeof(iso_3166_country))!=0) { in proc()
69 if(p->second > lcid) in proc()
70 p->second = lcid; in proc()
73 tbl[lc_name]=lcid; in proc()
117 unsigned lcid = 0; in locale_to_lcid() local
119 lcid = p->second; in locale_to_lcid()
120 return lcid; in locale_to_lcid()
/third_party/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp137 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const… in getWindowsFormat() argument
192 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
198 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat()
202 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
206 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
212 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat()
216 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
234 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestL… in testLocale() argument
243 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); in testLocale()
245 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32); in testLocale()
[all …]
Dwindttst.cpp136 …::begin(failingLocaleLCIDs), std::end(failingLocaleLCIDs), lcidRecords[i].lcid) != std::end(failin… in testLocales()
138 log->logln("ticket:13119 - Skipping LCID = 0x%04x", lcidRecords[i].lcid); in testLocales()
142 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales()
143 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales()
144 …GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR)&value, siz… in testLocales()
156 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, UPRV_LENGTH… in testLocales()
157 …wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, UPRV_LENGTHOF(wtBuffer)… in testLocales()
Dwinutil.cpp58 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
60 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
Dwinutil.h33 int32_t lcid; member
/third_party/boost/libs/regex/test/regress/
Dtest_locale.cpp29 test_locale::test_locale(const char* c_name, boost::uint32_t lcid) in test_locale() argument
77 s_win_locale_inst = lcid; in test_locale()
86 lcid, // locale identifier in test_locale()
93 lcid, // locale identifier in test_locale()
101 lcid, in test_locale()
111 lcid, // locale identifier in test_locale()
118 lcid, // locale identifier in test_locale()
138 if(::IsValidLocale(lcid, LCID_INSTALLED)) in test_locale()
141 …std::cout << "Testing the Win32 locale: \"" << p.get() << "\" (0x" << std::hex << lcid << ")" << s… in test_locale()
146 …std::cout << "The Win32 locale: \"" << p.get() << "\" (0x" << std::hex << lcid << ") is not availa… in test_locale()
[all …]
Dtest_locale.hpp34 test_locale(const char* c_name, boost::uint32_t lcid);
/third_party/flutter/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()
/third_party/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()
/third_party/glib/glib/
Dgdate.c2170 LCID lcid, in append_month_name() argument
2182 n = GetLocaleInfoW (lcid, base + systemtime->wMonth - 1, NULL, 0); in append_month_name()
2187 if (GetLocaleInfoW (lcid, base + systemtime->wMonth - 1, in append_month_name()
2203 n = GetDateFormatW (lcid, 0, systemtime, lpFormat, NULL, 0); in append_month_name()
2208 if (GetDateFormatW (lcid, 0, systemtime, lpFormat, in append_month_name()
2234 LCID lcid; in win32_strftime_helper() local
2253 lcid = GetThreadLocale (); in win32_strftime_helper()
2298 n = GetLocaleInfoW (lcid, LOCALE_SABBREVDAYNAME1+k, NULL, 0); in win32_strftime_helper()
2300 … GetLocaleInfoW (lcid, LOCALE_SABBREVDAYNAME1+k, ((wchar_t *) result->data) + result->len - n, n); in win32_strftime_helper()
2308 n = GetLocaleInfoW (lcid, LOCALE_SDAYNAME1+k, NULL, 0); in win32_strftime_helper()
[all …]
Dgwin32.c111 LCID lcid; in g_win32_getlocale() local
131 lcid = GetThreadLocale (); in g_win32_getlocale()
133 if (!GetLocaleInfoW (lcid, LOCALE_SISO639LANGNAME, iso639, sizeof (iso639)) || in g_win32_getlocale()
134 !GetLocaleInfoW (lcid, LOCALE_SISO3166CTRYNAME, iso3166, sizeof (iso3166))) in g_win32_getlocale()
138 langid = LANGIDFROMLCID (lcid); in g_win32_getlocale()
/third_party/boost/libs/locale/src/std/
Dstd_backend.cpp129 unsigned lcid = impl_win::locale_to_lcid(l); in to_windows_name() local
133 if(GetLocaleInfoA(lcid,LOCALE_SENGLANGUAGE,win_lang,sizeof(win_lang))==0) in to_windows_name()
136 if(GetLocaleInfoA(lcid,LOCALE_SENGCOUNTRY,win_country,sizeof(win_country))!=0) { in to_windows_name()
143 … if(GetLocaleInfoA(lcid,LOCALE_IDEFAULTANSICODEPAGE,win_codepage,sizeof(win_codepage))!=0) in to_windows_name()
/third_party/gettext/gettext-runtime/intl/
Dlangprefs.c56 extern const char *_nl_locale_name_from_win32_LCID (LCID lcid);
195 LCID lcid; in _nl_language_preferences_win32_95() local
201 lcid = strtoul ((char *) data, &endp, 16); in _nl_language_preferences_win32_95()
203 return _nl_locale_name_from_win32_LCID (lcid); in _nl_language_preferences_win32_95()
Dlocalename.c2553 gl_locale_name_from_win32_LCID (LCID lcid) in gl_locale_name_from_win32_LCID() argument
2558 langid = LANGIDFROMLCID (lcid); in gl_locale_name_from_win32_LCID()
3264 LCID lcid = get_lcid (locname); in gl_locale_name_posix() local
3266 if (lcid > 0) in gl_locale_name_posix()
3267 return gl_locale_name_from_win32_LCID (lcid); in gl_locale_name_posix()
3305 LCID lcid = get_lcid (locname); in gl_locale_name_posix() local
3307 if (lcid > 0) in gl_locale_name_posix()
3308 return gl_locale_name_from_win32_LCID (lcid); in gl_locale_name_posix()
3434 LCID lcid; in gl_locale_name_default()
3437 lcid = GetThreadLocale (); in gl_locale_name_default()
[all …]
/third_party/boost/libs/locale/test/
Dtest_winapi_formatting.cpp92 void test_by_char(std::locale const &l,std::string name,int lcid) in test_by_char() argument
147 GetCurrencyFormatW(lcid,0,L"1043.34",0,buf,256); in test_by_char()
176 GetTimeFormatW(lcid,0,&st,0,time_buf,256); in test_by_char()
177 GetDateFormatW(lcid,0,&st,0,date_buf,256); in test_by_char()
/third_party/cef/tests/cefclient/browser/
Dosr_accessibility_node_win.cc201 LCID lcid,
206 LCID lcid,
210 LCID lcid,
630 LCID lcid, in GetTypeInfo() argument
638 LCID lcid, in GetIDsOfNames() argument
645 LCID lcid, in Invoke() argument
/third_party/node/deps/npm/node_modules/node-gyp/lib/
DFind-VisualStudio.cs99 string GetDisplayName([MarshalAs(UnmanagedType.U4), In] int lcid); in GetDisplayName() argument
102 string GetDescription([MarshalAs(UnmanagedType.U4), In] int lcid); in GetDescription() argument
/third_party/node/deps/icu-small/source/common/
Dlocmap.cpp1228 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local
1229 if (lcid > 0) in uprv_convertToLCIDPlatform()
1234 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform()
1236 return lcid; in uprv_convertToLCIDPlatform()
/third_party/icu/icu4c/source/common/
Dlocmap.cpp1228 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local
1229 if (lcid > 0) in uprv_convertToLCIDPlatform()
1234 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform()
1236 return lcid; in uprv_convertToLCIDPlatform()
Duloc.cpp1990 uint32_t lcid = 0; in uloc_getLCID() local
1999 lcid = uprv_convertToLCIDPlatform(localeID, &status); in uloc_getLCID()
2003 if (lcid > 0) { in uloc_getLCID()
2005 return lcid; in uloc_getLCID()
/third_party/skia/third_party/externals/icu/source/common/
Dlocmap.cpp1228 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local
1229 if (lcid > 0) in uprv_convertToLCIDPlatform()
1234 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform()
1236 return lcid; in uprv_convertToLCIDPlatform()
Duloc.cpp1990 uint32_t lcid = 0; in uloc_getLCID() local
1999 lcid = uprv_convertToLCIDPlatform(localeID, &status); in uloc_getLCID()
2003 if (lcid > 0) { in uloc_getLCID()
2005 return lcid; in uloc_getLCID()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dlocmap.cpp1235 LCID lcid = LocaleNameToLCID(bcp47Tag, nameLCIDFlags); in uprv_convertToLCIDPlatform() local
1236 if (lcid > 0) in uprv_convertToLCIDPlatform()
1241 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform()
1243 return lcid; in uprv_convertToLCIDPlatform()
/third_party/icu/icu4c/source/test/cintltst/
Dcloctst.c3553 uint32_t lcid; in TestGetLocaleForLCID() local
3555 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID()
3556 if (lcid != 0x0409) { in TestGetLocaleForLCID()
3557 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID()
3560 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID()
3568 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID()
3591 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID()
3592 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID()
3594 …log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(sta… in TestGetLocaleForLCID()
3600 … %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2)… in TestGetLocaleForLCID()
[all …]

12