/freebsd-10.2-release/usr.sbin/kbdmap/ |
H A D | kbdmap.c | 171 const char *locale; local 173 if ((locale = getenv("LC_ALL")) == NULL && 174 (locale = getenv("LC_CTYPE")) == NULL && 175 (locale = getenv("LANG")) == NULL) 176 locale = lang_default; 179 if (!strcmp(locale, "C")) 180 locale = DEFAULT_LANG; 182 return locale;
|
/freebsd-10.2-release/usr.bin/catman/ |
H A D | catman.c | 41 #include <locale.h> 66 static char *locale; /* user's locale if -L is used */ variable 67 static char *lang_locale; /* short form of locale */ 77 * Mapping from locale to nroff device 676 if (locale != NULL) { 677 asprintf(&mandir, "%s/%s", dir, locale); 711 if ((locale = setlocale(LC_CTYPE, "")) == NULL) { 712 warnx("-L option used, but no locale found\n"); 715 sep = strchr(locale, ' [all...] |
/freebsd-10.2-release/lib/libkiconv/ |
H A D | xlat16_iconv.c | 44 #include <locale.h> 130 int error, locale; local 140 locale = chklocale(LC_CTYPE, localcode); 141 if (locale == 0) {
|
/freebsd-10.2-release/contrib/ncurses/ncurses/widechar/ |
H A D | lib_wacs.c | 90 * If we're running in a UTF-8 locale, will use the Unicode equivalents
|
/freebsd-10.2-release/contrib/libstdc++/config/locale/darwin/ |
H A D | ctype_members.cc | 36 #include <locale> 41 // NB: The other ctype<char> specializations are in src/locale.cc and
|
/freebsd-10.2-release/tools/regression/lib/libc/locale/ |
H A D | test-mbrlen.c | 36 __FBSDID("$FreeBSD: releng/10.2/tools/regression/lib/libc/locale/test-mbrlen.c 137587 2004-11-11 19:47:55Z nik $"); 41 #include <locale.h> 55 * C/POSIX locale. 85 * Japanese (EUC) locale.
|
H A D | test-mbstowcs.c | 36 __FBSDID("$FreeBSD: releng/10.2/tools/regression/lib/libc/locale/test-mbstowcs.c 137587 2004-11-11 19:47:55Z nik $"); 41 #include <locale.h> 54 * C/POSIX locale. 96 * Japanese (EUC) locale.
|
H A D | test-mbtowc.c | 36 __FBSDID("$FreeBSD: releng/10.2/tools/regression/lib/libc/locale/test-mbtowc.c 137587 2004-11-11 19:47:55Z nik $"); 40 #include <locale.h> 53 * C/POSIX locale. 60 /* No shift states in C locale. */ 82 * Japanese (EUC) locale.
|
/freebsd-10.2-release/tools/regression/lib/libc/string/ |
H A D | test-wcscasecmp.c | 31 #include <locale.h>
|
/freebsd-10.2-release/tools/regression/lib/msun/ |
H A D | test-nan.c | 38 #include <locale.h>
|
/freebsd-10.2-release/games/random/ |
H A D | random.c | 53 #include <locale.h>
|
/freebsd-10.2-release/usr.bin/basename/ |
H A D | basename.c | 48 #include <locale.h>
|
/freebsd-10.2-release/usr.bin/calendar/ |
H A D | Makefile | 7 SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
|
H A D | day.c | 34 #include <locale.h>
|
/freebsd-10.2-release/usr.bin/expand/ |
H A D | expand.c | 46 #include <locale.h>
|
/freebsd-10.2-release/usr.bin/find/ |
H A D | main.c | 55 #include <locale.h>
|
/freebsd-10.2-release/contrib/gcclibs/libcpp/ |
H A D | system.h | 243 # include <locale.h> 251 # define setlocale(category, locale) (locale)
|
/freebsd-10.2-release/usr.bin/makewhatis/ |
H A D | makewhatis.c | 101 static char *locale; /* user's locale if -L is used */ variable 102 static char *lang_locale; /* short form of locale */ 956 if (locale != NULL) { 957 asprintf(&mandir, "%s/%s", dir, locale); 997 locale = getenv("LC_ALL"); 998 if (locale == NULL) 999 locale = getenv("LC_CTYPE"); 1000 if (locale == NULL) 1001 locale [all...] |
/freebsd-10.2-release/contrib/libstdc++/include/bits/ |
H A D | ios_base.h | 518 // Members for locale and locale caching. 519 locale _M_ios_locale; 669 // [27.4.2.3] ios_base locale functions 671 * @brief Setting a new locale. 672 * @param loc The new locale. 673 * @return The previous locale. 675 * Sets the new locale for this stream, and then invokes each callback 678 locale 679 imbue(const locale [all...] |
/freebsd-10.2-release/usr.bin/ncal/ |
H A D | ncal.c | 35 #include <locale.h> 216 const char *locale; /* locale to get country code */ local 222 * Use locale to determine the country code, 228 locale = setlocale(LC_TIME, NULL); 229 if (locale == NULL || 230 strcmp(locale, "C") == 0 || 231 strcmp(locale, "POSIX") == 0 || 232 strcmp(locale, "ASCII") == 0 || 233 strcmp(locale, "U [all...] |
/freebsd-10.2-release/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strerror.c | 37 #include <locale.h>
|
/freebsd-10.2-release/lib/libutil/ |
H A D | humanize_number.c | 43 #include <locale.h>
|
/freebsd-10.2-release/contrib/libarchive/libarchive/test/ |
H A D | test_compat_pax_libarchive_2x.c | 28 #include <locale.h> 34 * The option is unneeded if people have been using UTF-8 locale during 60 skipping("ru_RU.KOI8-R locale not available on this system.");
|
H A D | test_read_format_cab_filename.c | 28 #include <locale.h> 40 skipping("ja_JP.eucJP locale not available on this system."); 93 skipping("en_US.UTF-8 locale not available on this system.");
|
/freebsd-10.2-release/contrib/libreadline/ |
H A D | nls.c | 43 # include <locale.h> 55 If a locale name in this list is the value for the LC_ALL, LC_CTYPE, 106 /* Set the LC_CTYPE locale category from environment variables. */ 109 we query the current locale settings with setlocale(), and, if 201 /* Isolate codeset portion of locale specification. */
|