Searched defs:category (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/bnu/
H A Dgetargs.c171 _uu_setlocale(int category, char *locale) argument
177 if ((tmp = setlocale(category, NULL)) == NULL)
189 if (setlocale(category, locale) == NULL) {
200 _uu_resetlocale(int category, char *locale) argument
204 (void) setlocale(category, locale);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dsetlocale.c68 setlocale(int category, const char *locname) argument
74 if (category < 0 || category > LC_ALL) {
80 return (current_locale(___global_locale, category));
82 mask = (category == LC_ALL ? LC_ALL_MASK : (1 << category));
120 return (current_locale(loc, category));
H A Dlocaleimpl.c206 locdata_get_cache(int category, const char *locname) argument
210 if (category < 0 || category >= LC_ALL)
215 loc = cache_data[category];
227 for (loc = cat_data[category]; loc != NULL; loc = loc->l_next) {
252 loc = (*loaders[category])(locname);
265 cache_data[category] = loc;
268 loc->l_next = cat_data[category];
269 cat_data[category] = loc;
278 * Routine to get the locdata for a given category an
283 locdata_get(int category, const char *locname) argument
331 get_locale_env(int category) argument
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dgpkglist.c253 * category specified by the user.
264 * Check category passed in on the command line to see if it is valid.
266 * returns 0 if the category is valid
267 * returns 1 if the category is invalid
271 is_not_valid_category(char **category, char *progname) argument
274 if (is_same_CATEGORY(category, "system"))
282 * Check category length
284 * returns 0 if the category length is valid
285 * returns 1 if a category has length > 16 chars as defined by the SVr4 ABI
289 is_not_valid_length(char **category) argument
310 is_same_CATEGORY(char **category, char *persistent_category) argument
[all...]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Deventlog.c51 int category; local
56 category = eventId >> 16;
59 alertCategory = rsc_alerts[category];
109 * This function will expand the base message for the category/event
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.c98 * the active LC_MESSAGES locale category.
119 * for domain and LC_MESSAGES passed for category.
168 dcgettext(const char *domain, const char *msg_id, const int category) argument
175 res = _real_gettext_u(domain, msg_id, NULL, 0, category, 0, NULL);
212 unsigned long int n, int category)
219 res = _real_gettext_u(domain, msgid1, msgid2, n, category, 1, NULL);
211 dcngettext(const char *domain, const char *msgid1, const char *msgid2, unsigned long int n, int category) argument
H A Dgettext.h157 int category; /* category argument */ member in struct:msg_pack
H A Dgettext_real.c59 unsigned long int ln, int category, int plural, locale_t loc)
77 msgid2 ? msgid2 : "NULL", n, category, plural);
88 * category may be LC_MESSAGES or LC_TIME
89 * locale contains the value of 'category'
93 cur_locale = current_locale(loc, category);
178 mp->category = category;
409 * %L = The value of the LC_MESSAGES category.
410 * %I = The language element from the LC_MESSAGES category.
411 * %t = The territory element from the LC_MESSAGES category
58 _real_gettext_u(const char *domain, const char *msgid1, const char *msgid2, unsigned long int ln, int category, int plural, locale_t loc) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dsetlocale.c149 setlocale(int category, char *locale) argument
174 if (category == LC_ALL) {
208 return (_locales[category - 1]);
211 switch (category) {
216 * Composite value; extract each category.
269 /* If category = LC_ALL, Drop through to test each individual
270 * category, one at a time. Note default rules where env vars
282 if (category != LC_ALL)
296 if (category != LC_ALL)
305 if (category !
615 openlocale(char *category, int cat_id, char *locale, char *newlocale) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dfw.h92 char _TKFAR *category; member in struct:invk_request
/illumos-gate/usr/src/lib/libast/common/port/
H A Dlc.c115 * return the internal category index for category
119 lcindex(int category, int min) argument
121 switch (category)
143 * return the first category table entry
153 * return the current info for category
157 lcinfo(register int category) argument
159 if ((category = lcindex(category, 0)) < 0)
161 return LCINFO(category);
[all...]
H A Dmc.c52 * catalog==0 tests for category directory or file
57 mcfind(char* path, const char* locale, const char* catalog, int category, int nls) argument
75 if ((category = lcindex(category, 1)) < 0)
77 if (!(lc = locale ? lcmake(locale) : locales[category]))
157 v = lc_categories[category].name;
171 if (category != AST_LC_MESSAGES && strneq(p, lc_messages, sizeof(lc_messages) - 1) && p[sizeof(lc_messages)-1] == '/')
192 if (s = pathpath(path, file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE)))
/illumos-gate/usr/src/cmd/localedef/
H A Dparser.y206 categories : categories category
207 | category
211 category : charmap label
H A Dscanner.c65 static int category = T_END; variable
474 if ((category != T_CHARMAP) && (category != T_WIDTH)) {
524 if (category == T_END) {
539 if ((category != T_CHARMAP) &&
567 return (category);
597 /* clear the top level category if we're done with it */
599 category = T_END;
602 /* set the top level category if we're changing */
606 category
[all...]
/illumos-gate/usr/src/cmd/iconv/
H A Dscanner.c57 static int category = T_END; variable
120 category = T_END;
376 if (category == T_END) {
432 /* clear the top level category if we're done with it */
434 category = T_END;
437 /* set the top level category if we're changing */
441 category = last_kw;
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c240 log_check(log_context lc, int category, int level) { argument
254 if (category < 0 || category > lc->num_categories)
255 category = 0; /*%< use default */
256 lcl = lc->categories[category];
258 category = 0;
270 log_vwrite(log_context lc, int category, int level, const char *format, argument
298 if (category < 0 || category > lc->num_categories)
299 category
430 log_write(log_context lc, int category, int level, const char *format, ...) argument
488 log_add_channel(log_context lc, int category, log_channel chan) argument
509 log_remove_channel(log_context lc, int category, log_channel chan) argument
568 log_category_is_active(log_context lc, int category) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c72 #define ERR_CAT_LNGTH "The category argument exceeds the SVr4 ABI\n" \
85 "\t\t[-V ...] [-M] [-i file] [-Y category[, ...] | " \
91 "\t\t-Y category[, ...]\n"
146 char **category = NULL; local
290 if ((category = get_categories(catg_arg)) == NULL) {
293 } else if (is_not_valid_length(category)) {
361 pkg = gpkglist(pkgdir, all_pkgs, category);
419 pkg = gpkglist(spooldir, all_pkgs, category);
426 pkgcnt ? pkg : all_pkgs, category);
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c74 " -c category, [category...]\n" \
427 char category[128]; local
456 (void) sscanf(info.catg, "%[^, \t\n]", category);
458 (void) strcpy(category, "(unknown)");
460 (void) printf(SFMT, category, pkgLngth, pkgLngth, info.pkginst,
574 return (1); /* no category specified in pkginfo is a bug */
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsetlocale.c146 native_setlocale(int category, const char* locale) argument
159 if (category == LC_MESSAGES)
161 sys = uwin_setlocale(category, usr);
163 sfprintf(sfstderr, "locale uwin %17s %-24s %-24s\n", lc_categories[lcindex(category, 0)].name, usr, sys);
708 register int category = cp->internal; local
714 if (!LCINFO(category)->data)
723 LCINFO(category)->data = (void*)dp;
725 sfprintf(sfstderr, "locale info %17s decimal '%c' thousands '%c'\n", lc_categories[category].name, dp->decimal, dp->thousand >= 0 ? dp->thousand : 'X');
793 default_setlocale(int category, const char* locale) argument
805 return (locales[1]->flags & (1<<category))
817 single(int category, Lc_t* lc, unsigned int flags) argument
1012 _ast_setlocale(int category, const char* locale) argument
[all...]
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c79 * the category_map_entry_t is used to map the inittab category codes to
82 * than one category at a time. this map is also used to map the inittab
83 * string representation of a category to its numerical code.
321 char *category, *spacep; local
342 category = strpbrk(fields[ITAB_NAME], " \t");
343 if (category == NULL)
350 while (isspace(*category))
351 category++;
353 spacep = strpbrk(category, " \t");
355 category
1684 category_to_code(const char *category) argument
[all...]
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c89 static int print_category(int category, int cflag, int kflag);
258 int category; member in struct:locale_name
272 * symbolic name, category, and type (STR INT ...)
280 int category; member in struct:key
587 * try each category.
712 * Print out the keyword value or category info.
713 * Call print_category() to print the entire locale category, if the name
714 * given is recognized as a category.
725 * name is a category name
726 * print out all keywords in this category
987 print_category(int category, int cflag, int kflag) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c236 char **category = NULL; local
481 if ((category = get_categories(catg_arg)) == NULL) {
484 } else if (is_not_valid_category(category,
488 } else if (is_not_valid_length(category)) {
559 /* -n used without pkg names or category */
669 * error if there are packages on the command line and a category
712 catg_arg, category, &pkgdev);
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c187 static int category = RSM_PATH_MANAGER | RSM_KERNEL_AGENT; variable
209 DBG_PRINTF((category, RSM_DEBUG_VERBOSE,
226 DBG_PRINTF((category, RSM_DEBUG_VERBOSE,
233 DBG_PRINTF((category, RSM_DEBUG_VERBOSE,
273 DBG_PRINTF((category, RSM_DEBUG_VERBOSE,
283 DBG_PRINTF((category, RSM_DEBUG_VERBOSE,
320 DBG_PRINTF((category, RSM_DEBUG_VERBOSE, "do_deferred_work enter\n"));
360 DBG_PRINTF((category, RSM_DEBUG,
402 DBG_PRINTF((category, RSM_DEBUG,
459 DBG_PRINTF((category, RSM_DEBU
[all...]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c1304 "category %d not implemented\n",
1464 int category, int action, uint16_t args[4])
1482 sizeof (uint16_t) /* action+category */
1488 *frm++ = (uint8_t)category;
1490 switch (category) {
1550 "unsupported category %d action %d\n",
1551 category, action);
1463 ieee80211_send_action(struct ieee80211_node *in, int category, int action, uint16_t args[4]) argument
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_transact.c270 uint16_t fid, category, function, tpscnt, tdscnt, mprcnt; local
275 rc = smbsr_decode_vwv(sr, "wwwwwwwl2.wwww", &fid, &category, &function,

Completed in 91 milliseconds

12