Lines Matching refs:category
248 /* The category. */
249 int category;
252 /* Name of the relevant locale category, or "" for the global locale. */
306 /* We compare the category last (though this is the cheapest
309 result = s1->category - s2->category;
354 static const char *guess_category_value (int category,
359 static const char *guess_category_value (int category,
366 # define category_to_name(category) \
367 _nl_category_names.str + _nl_category_name_idxs[category]
369 static const char *category_to_name (int category) internal_function;
483 int category,
488 int plural, unsigned long int n, int category)
517 if (category < 0 || category >= __LC_LAST || category == LC_ALL)
538 if (category == LC_MESSAGES_COMPAT)
539 category = LC_MESSAGES;
550 search->category = category;
554 localename = __current_locale_name (category);
558 localename = nl_langinfo (NL_LOCALE_NAME (category));
566 localename = thread_locale->__names[category];
671 categoryname = category_to_name (category);
673 categoryvalue = guess_category_value (category, categoryname, localename);
675 categoryvalue = guess_category_value (category, categoryname);
800 newp->category = category;
1419 category_to_name (int category)
1423 switch (category)
1481 guess_category_value (int category, const char *categoryname,
1485 guess_category_value (int category, const char *categoryname)
1516 locale = __current_locale_name (category);
1524 locale = thread_locale->__names[category];
1530 locale = _nl_locale_name_posix (category, categoryname);