Lines Matching defs:category
56 changegl(int category, const char *locname, char **gl)
60 if ((locname = _get_locname(category, locname)) == NULL ||
64 free(gl[category]);
65 gl[category] = cp;
70 setlocale(int category, const char *locname)
84 if (category < LC_ALL || category >= _LC_LAST)
93 if (category == LC_ALL && strchr(locname, '/') != NULL) {
95 /* One value for each category. */
113 if (changegl(category, locname, newgl) == -1) {
119 if (category == LC_ALL) {
142 /* Individual category, or LC_ALL uniformly set. */
143 if (category > LC_ALL || newgl[LC_ALL][0] != '\0') {
144 if (strlcpy(global_locname, newgl[category],
180 if (category == LC_ALL || category == LC_CTYPE)