Lines Matching refs:loc
148 set_thread_locale(locale_t loc) in set_thread_locale() argument
150 locale_t l = (loc == LC_GLOBAL_LOCALE) ? 0 : loc; in set_thread_locale()
167 __set_thread_rune_locale(loc); in set_thread_locale()
177 locale_t loc = l; in destruct_locale() local
180 if (loc->components[type]) { in destruct_locale()
181 xlocale_release(loc->components[type]); in destruct_locale()
184 if (loc->csym) { in destruct_locale()
185 free(loc->csym); in destruct_locale()
333 freelocale(locale_t loc) in freelocale() argument
341 if (loc != NULL && loc != LC_GLOBAL_LOCALE && in freelocale()
342 loc != &__xlocale_global_locale) in freelocale()
343 xlocale_release(loc); in freelocale()
351 querylocale(int mask, locale_t loc) in querylocale() argument
354 FIX_LOCALE(loc); in querylocale()
358 if (loc->components[type]) in querylocale()
359 return (loc->components[type]->version); in querylocale()
362 if (loc->components[type]) in querylocale()
363 return (loc->components[type]->locale); in querylocale()
372 uselocale(locale_t loc) in uselocale() argument
375 if (NULL != loc) { in uselocale()
376 set_thread_locale(loc); in uselocale()