Searched refs:__global_locale (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/
H A Dsetlocale.c100 #define UNLOCK_AND_RETURN(x) {XL_UNLOCK(&__global_locale); return (x);}
120 XL_LOCK(&__global_locale);
196 save__numeric_fp_cvt = __global_locale.__numeric_fp_cvt;
197 save__lc_numeric_loc = __global_locale.__lc_numeric_loc;
211 __global_locale.__numeric_fp_cvt = save__numeric_fp_cvt;
212 __global_locale.__lc_numeric_loc = save__lc_numeric_loc;
300 if (func(new, &__global_locale) != _LDP_ERROR) {
304 if (__global_locale.__numeric_fp_cvt == LC_NUMERIC_FP_SAME_LOCALE)
305 __global_locale.__numeric_fp_cvt = LC_NUMERIC_FP_UNINITIALIZED;
308 __global_locale
[all...]
H A Dsetrunelocale.c78 if (loc == &__global_locale) {
95 if (loc == &__global_locale) {
169 if (loc == &__global_locale) {
191 XL_LOCK(&__global_locale);
192 ret = __setrunelocale(encoding, &__global_locale);
193 XL_UNLOCK(&__global_locale);
H A Dcollate.c86 if (loc == &__global_locale)
98 if (loc == &__global_locale)
255 if (loc == &__global_locale)
/macosx-10.10.1/Libc-1044.1.2/locale/
H A Dxlocale_private.h169 (x) = &__global_locale; \
175 (x) = &__global_locale; \
191 extern struct _xlocale __global_locale;
210 return &__global_locale;
215 return (__locale ? __locale : &__global_locale);
H A Dxlocale.c45 struct _xlocale __global_locale = C_LOCALE_INITIALIZER; variable in typeref:struct:_xlocale
112 loc = &__global_locale;
302 if (!loc || _checklocale(loc) < 0 || loc == &__global_locale
450 loc == &__global_locale) /* should never happen */

Completed in 237 milliseconds