Lines Matching refs:locale_t
60 _Thread_local locale_t __thread_locale;
103 static void*(*constructors[])(const char*, locale_t) =
115 static locale_t thread_local_locale;
134 static locale_t
145 locale_t
148 locale_t l = get_thread_locale();
155 set_thread_locale(locale_t loc)
157 locale_t l = (loc == LC_GLOBAL_LOCALE) ? 0 : loc;
164 locale_t old = pthread_getspecific(locale_info_key);
186 locale_t loc = l;
202 static locale_t
205 locale_t new = calloc(sizeof(struct _xlocale), 1);
213 copyflags(locale_t new, locale_t old)
221 static int dupcomponent(int type, locale_t base, locale_t new)
250 locale_t newlocale(int mask, const char *locale, locale_t base)
259 locale_t new = alloc_locale();
303 locale_t duplocale(locale_t base)
305 locale_t new = alloc_locale();
325 * Free a locale_t. This is quite a poorly named function. It actually
326 * disclaims a reference to a locale_t, rather than freeing it.
329 freelocale(locale_t loc)
343 * Returns the name of the locale for a particular component of a locale_t.
345 const char *querylocale(int mask, locale_t loc)
357 * Installs the specified locale_t as this thread's locale.
359 locale_t uselocale(locale_t loc)
361 locale_t old = get_thread_locale();