Lines Matching refs:category
227 /* The category. */
228 int category;
271 /* We compare the category last (though this is the cheapest
274 result = s1->category - s2->category;
313 static const char *guess_category_value (int category,
318 # define category_to_name(category) _nl_category_names[category]
320 static const char *category_to_name (int category) internal_function;
425 CATEGORY locale and, if PLURAL is nonzero, search over string
429 int plural, unsigned long int n, int category)
455 if (category < 0 || category >= __LC_LAST || category == LC_ALL)
466 CATEGORY is not LC_MESSAGES this might not make much sense but the
473 if (category == LC_MESSAGES_COMPAT)
474 category = LC_MESSAGES;
486 search->category = category;
561 /* Now determine the symbolic name of CATEGORY and its value. */
562 categoryname = category_to_name (category);
563 categoryvalue = guess_category_value (category, categoryname);
616 DOMAINNAME and CATEGORY. */
659 newp->category = category;
1068 /* Return string representation of locale CATEGORY. */
1071 category_to_name (int category)
1075 switch (category)
1131 guess_category_value (int category, const char *categoryname)
1147 retval = __current_locale_name (category);
1149 retval = _nl_locale_name (category, categoryname);