64{
67 wchar_t* ctrylocalename;
68 long *lc_refcount;
69 long *lconv_mon_refcount = nullptr;
71
74
77 {
78
79
80
81 if ((lc = _calloc_crt_t(
lconv, 1).detach()) ==
nullptr)
82 return 1;
83
84
85
86
87 if ( (lc_refcount = _calloc_crt_t(long, 1).detach()) == nullptr )
88 {
90 return 1;
91 }
92
94 {
95
96
97
98 if ( (lconv_mon_refcount = _calloc_crt_t(long, 1).detach()) == nullptr )
99 {
102 return 1;
103 }
104
105
106
107
108
110
112
123
128
145
158
164 return 1;
165 }
166
168 }
169 else {
170
171
172
173
174
175
176
177
178
180 }
181
182
183
184
190
191 *lc_refcount = 1;
192 if (lconv_mon_refcount)
193 *lconv_mon_refcount = 1;
194 }
195 else {
196
197
198
199 lconv_mon_refcount = nullptr;
200 lc_refcount = nullptr;
202
203 }
204
207 {
209 }
212 {
215 }
219
220 return 0;
221}
#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_monetary(lconv *l)
static void fix_grouping(_Inout_z_ char *)
long * lconv_mon_refcount
long * lconv_intl_refcount
wchar_t * _W_decimal_point
wchar_t * _W_mon_thousands_sep
wchar_t * _W_thousands_sep
wchar_t * _W_mon_decimal_point
wchar_t * _W_int_curr_symbol
wchar_t * _W_currency_symbol
wchar_t * _W_positive_sign
wchar_t * _W_negative_sign
#define LOCALE_ICURRDIGITS
#define LOCALE_INEGSEPBYSPACE
#define LOCALE_INEGSIGNPOSN
#define LOCALE_IINTLCURRDIGITS
#define LOCALE_IPOSSYMPRECEDES
#define LOCALE_SPOSITIVESIGN
#define LOCALE_SMONDECIMALSEP
#define LOCALE_INEGSYMPRECEDES
#define LOCALE_SMONTHOUSANDSEP
#define LOCALE_IPOSSIGNPOSN
#define LOCALE_SNEGATIVESIGN
#define LOCALE_SINTLSYMBOL
#define LOCALE_SMONGROUPING
#define LOCALE_IPOSSEPBYSPACE