Searched defs:locale (Results 76 - 88 of 88) sorted by relevance

1234

/illumos-gate/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.c38 #include <locale.h>
658 * current locale.
665 * will default to the C locale.
668 /* Get/set current locale in the "lang" node */
669 char *locale = setlocale(LC_MESSAGES, NULL); local
670 xmlNodeSetContent(lang_node, (xmlChar *)locale);
1166 char *locale; local
1221 /* Get/set current locale in the "lang" node */
1222 locale = setlocale(LC_MESSAGES, NULL);
1233 (xmlChar *)ATTR_LANG, (xmlChar *)locale);
[all...]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c46 * be rendered in the client's locale; so, this is passed in as part of the
80 #include <locale.h>
199 localize_msg(char *locale, const char *msg) argument
204 (void) setlocale(LC_MESSAGES, locale);
230 * In theory, the locale pointer should be set to either "C" or a
233 assert(zlogp->locale != NULL);
235 fmt = localize_msg(zlogp->locale, fmt);
1231 /* defer initialization of zlog.locale until after credential check */
1264 zlog.locale = kernelcall ? DEFAULT_LOCALE : zargp->locale;
[all...]
/illumos-gate/usr/src/man/man3head/
H A DMakefile52 locale.h.3head \
141 locale.3head \
230 locale.3head := LINKSRC = locale.h.3head
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c71 #include <locale.h>
693 _scf_sanitize_locale(char *locale) argument
695 for (; *locale != '\0'; locale++)
696 if (!isalnum(*locale) && *locale != '_')
697 *locale = '_';
705 * Name isn't short enough to add the locale to.
708 _add_locale_to_name(const char *name, const char *locale) argument
714 if (locale
2942 _read_localized_astring_from_pg(scf_propertygroup_t *pg, const char *name, const char *locale) argument
2990 scf_tmpl_pg_common_name(const scf_pg_tmpl_t *t, const char *locale, char **out) argument
3020 scf_tmpl_pg_description(const scf_pg_tmpl_t *t, const char *locale, char **out) argument
3303 scf_tmpl_prop_common_name(const scf_prop_tmpl_t *t, const char *locale, char **out) argument
3333 scf_tmpl_prop_description(const scf_prop_tmpl_t *t, const char *locale, char **out) argument
3363 scf_tmpl_prop_units(const scf_prop_tmpl_t *t, const char *locale, char **out) argument
4245 scf_tmpl_value_common_name(const scf_prop_tmpl_t *t, const char *locale, const char *value, char **out) argument
4291 scf_tmpl_value_description(const scf_prop_tmpl_t *t, const char *locale, const char *value, char **out) argument
[all...]
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtw.c685 enum rtw_rfchipid *rfchipid, uint32_t *rcr, enum rtw_locale *locale,
771 *locale = RTW_LOCALE_USA;
774 *locale = RTW_LOCALE_EUROPE;
777 *locale = RTW_LOCALE_JAPAN;
780 *locale = RTW_LOCALE_UNKNOWN;
921 rtw_init_channels(enum rtw_locale locale, argument
933 switch (locale) {
975 rtw_identify_country(struct rtw_regs *regs, enum rtw_locale *locale, argument
982 *locale = RTW_LOCALE_USA;
985 *locale
684 rtw_srom_parse(struct rtw_srom *sr, uint32_t *flags, uint8_t *cs_threshold, enum rtw_rfchipid *rfchipid, uint32_t *rcr, enum rtw_locale *locale, const char *dvname) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dutil.c2325 * itself to process any locale specific environment variables, and collect
2335 char *locale; local
2346 * See if we have any locale environment settings. These
2390 * If we have a locale setting make sure it's worth processing further.
2392 * ensure no one escapes the /usr/lib/locale hierarchy, don't allow
2393 * the locale to contain a segment that leads upward in the file system
2395 * the /usr/lib/locale hierarchy, there is no need to extensively
2399 * the string so that new locale setting can generically cleanup any
2402 if ((locale = glcs[CI_LCMESSAGES].lc_un.lc_ptr) != NULL) {
2403 if (((*locale
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dzone.h250 char locale[MAXPATHLEN]; /* locale in which to render messages */ member in struct:zone_cmd_arg
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c53 #include <locale.h>
211 static char *locale; variable
1233 if (zonecfg_call_zoneadmd(target_zone, &zarg, locale, B_TRUE) != 0) {
1308 if (zonecfg_call_zoneadmd(target_zone, &zarg, locale, B_TRUE) != 0) {
1861 return ((zonecfg_call_zoneadmd(target_zone, &zarg, locale,
1918 if (zonecfg_call_zoneadmd(target_zone, &zarg, locale, B_TRUE) != Z_OK)
1927 if (zonecfg_call_zoneadmd(target_zone, &zarg, locale,
1985 return ((zonecfg_call_zoneadmd(target_zone, &zarg, locale, B_TRUE) == 0)
5022 (void) zonecfg_call_zoneadmd(target_zone, &zarg, locale,
5137 if (zonecfg_call_zoneadmd(target_zone, &zarg, locale, B_TRU
[all...]
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c74 #include <locale.h>
136 char *locale; /* Current locale. */ variable
1107 } else if (inst_get_single_val(wip->inst, SCF_PG_TM_COMMON_NAME, locale,
2457 if (inst_get_single_val(wip->inst, SCF_PG_TM_COMMON_NAME, locale,
3464 locale = setlocale(LC_MESSAGES, NULL);
3465 if (locale) {
3466 locale = safe_strdup(locale);
3467 _scf_sanitize_locale(locale);
[all...]
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h888 uint16_t locale; member in struct:megasas_evt_class_locale::__anon6080
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h1572 uint16_t locale; member in struct:mrsas_evt_class_locale::__anon267
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c44 #include <locale.h>
13261 char *locale = NULL; local
13274 locale = setlocale(LC_MESSAGES, NULL);
13279 /* Try both the current locale and the "C" locale. */
13280 if (scf_pg_get_property(pg, locale, prop) == 0 ||
13300 /* Try both the current locale and the "C" locale. */
13301 if (scf_pg_get_property(pg, locale, prop) == 0 ||
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c781 * can't, as they are locale sensitive, and it would break our limited thread
782 * safety if this routine had to change the app locale on the fly.
7632 zonecfg_call_zoneadmd(const char *zone_name, zone_cmd_arg_t *arg, char *locale, argument
7658 (void) strlcpy(arg->locale, locale, sizeof (arg->locale));

Completed in 185 milliseconds

1234