22#ifndef _UCRT_ENCLAVE_BUILD
38 if (*grouping >=
'0' && *grouping <=
'9')
40 *grouping = *grouping -
'0';
45 else if (*grouping ==
';')
82 wchar_t* ctrylocalename;
84 long *lconv_num_refcount =
nullptr;
108 if ( (lc_refcount = _malloc_crt_t(
long, 1).detach()) ==
nullptr )
120 if ( (lconv_num_refcount = _malloc_crt_t(
long, 1).detach()) ==
nullptr )
126 *lconv_num_refcount = 0;
163 lconv_num_refcount =
nullptr;
171 if (lconv_num_refcount)
172 (*lconv_num_refcount) = 1;
179 lconv_num_refcount =
nullptr;
180 lc_refcount =
nullptr;
#define InterlockedDecrement
int __cdecl __acrt_GetLocaleInfoA(_In_opt_ _locale_t _Locale, _In_ int _LCType, _In_ LPCWSTR _LocaleName, _In_ LCTYPE _FieldType, _Out_ void *_Address)
void __cdecl __acrt_locale_free_numeric(lconv *l)
int __cdecl __acrt_locale_initialize_numeric(__crt_locale_data *ploci)
static void fix_grouping(_Inout_z_ char *grouping)
long * lconv_num_refcount
long * lconv_intl_refcount
wchar_t * _W_decimal_point
wchar_t * _W_thousands_sep