Home
last modified time | relevance | path

Searched refs:locale_name (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c254 static struct locale_name { struct
257 } locale_name[] = { variable
486 (void) printf("%s=", locale_name[i].name); in print_cur_locale()
491 env = getenv(locale_name[i].name); in print_cur_locale()
720 for (i = 0; locale_name[i].name != NULL; i++) { in print_locale_info()
721 if (strcmp(locale_name[i].name, name) == 0) { in print_locale_info()
726 return (print_category(locale_name[i].category, in print_locale_info()
754 locale_name[key[i].category].name); in print_keyword()
1000 locale_name[category].name); in print_category()
/illumos-gate/usr/src/uts/common/sys/
H A Dldterm.h170 char locale_name[MAXNAMELEN]; member
182 char *locale_name; member
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c134 (void) strcpy(cswp.locale_name, lc); in main()
528 if ((term & CSIW) && kcswp.locale_name[0]) { in pramodes()
529 (void) printf("csdata %s\n", kcswp.locale_name); in pramodes()
785 if (*kcswp.locale_name == '\0') { in prencode()
789 kcswp.locale_name[i] != '\0'; i++) in prencode()
790 (void) printf("%02x", kcswp.locale_name[i]); in prencode()
H A Dsttyparse.c612 ecswp.locale_name[i] = (char)strtol(s, (char **)NULL,
619 ecswp.locale_name[i] = '\0';
/illumos-gate/usr/src/uts/common/io/
H A Dldterm.c745 tp->t_csdata.locale_name = (char *)kmem_alloc(6, KM_SLEEP); in ldtermopen()
746 (void) strcpy(tp->t_csdata.locale_name, "UTF-8"); in ldtermopen()
936 if (tp->t_csdata.locale_name != NULL) in ldtermclose()
937 kmem_free(tp->t_csdata.locale_name, in ldtermclose()
938 strlen(tp->t_csdata.locale_name) + 1); in ldtermclose()
4478 if (tp->t_csdata.locale_name != (char *)NULL) { in ldterm_do_ioctl()
4479 kmem_free(tp->t_csdata.locale_name, in ldterm_do_ioctl()
4480 strlen(tp->t_csdata.locale_name) + 1); in ldterm_do_ioctl()
4481 tp->t_csdata.locale_name = (char *)NULL; in ldterm_do_ioctl()
4609 if (csdp->locale_name[i] == '\0') in ldterm_do_ioctl()
[all …]