Home
last modified time | relevance | path

Searched refs:lpOutStr (Results 1 – 2 of 2) sorted by relevance

/reactos/sdk/lib/ucrt/locale/
H A Dget_qualified_locale.cpp265 if (lpOutStr) in __acrt_get_qualified_locale()
267 lpOutStr->szLocaleName[0] = L'\x0'; // Init the locale name to empty string in __acrt_get_qualified_locale()
269 …_ERRCHECK(wcsncpy_s(lpOutStr->szLocaleName, _countof(lpOutStr->szLocaleName), _psetloc_data->_cach… in __acrt_get_qualified_locale()
273 lpOutStr->szLanguage, MAX_LANG_LEN) == 0) in __acrt_get_qualified_locale()
277 if (__acrt_GetLocaleInfoEx(lpOutStr->szLocaleName, LOCALE_SENGLISHCOUNTRYNAME, in __acrt_get_qualified_locale()
278 lpOutStr->szCountry, MAX_CTRY_LEN) == 0) in __acrt_get_qualified_locale()
283 if (wcschr(lpOutStr->szCountry, L'_') || wcschr(lpOutStr->szCountry, L'.')) in __acrt_get_qualified_locale()
284 if (__acrt_GetLocaleInfoEx(lpOutStr->szLocaleName, LOCALE_SABBREVCTRYNAME, in __acrt_get_qualified_locale()
285 lpOutStr->szCountry, MAX_CTRY_LEN) == 0) in __acrt_get_qualified_locale()
291 _ERRCHECK(wcsncpy_s(lpOutStr->szCodePage, _countof(lpOutStr->szCodePage), L"utf8", 5)); in __acrt_get_qualified_locale()
[all …]
H A Dgetqloc_downlevel.cpp89 …downlevel(const __crt_locale_strings* lpInStr, UINT* lpOutCodePage, __crt_locale_strings* lpOutStr) in __acrt_get_qualified_locale_downlevel() argument
190 if (lpOutStr) in __acrt_get_qualified_locale_downlevel()
194 lpOutStr->szLocaleName, in __acrt_get_qualified_locale_downlevel()
195 (int)_countof(lpOutStr->szLocaleName), in __acrt_get_qualified_locale_downlevel()
199 lpOutStr->szLanguage, MAX_LANG_LEN) == 0) in __acrt_get_qualified_locale_downlevel()
203 lpOutStr->szCountry, MAX_CTRY_LEN) == 0) in __acrt_get_qualified_locale_downlevel()
206 _itow_s((int)iCodePage, (wchar_t *)lpOutStr->szCodePage, MAX_CP_LEN, 10); in __acrt_get_qualified_locale_downlevel()