Searched refs:locale (Results 201 - 225 of 461) sorted by relevance

1234567891011>>

/freebsd-10.2-release/usr.sbin/kbdmap/
H A Dkbdmap.c171 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 Dcatman.c41 #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 Dxlat16_iconv.c44 #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 Dlib_wacs.c90 * 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 Dctype_members.cc36 #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 Dtest-mbrlen.c36 __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 Dtest-mbstowcs.c36 __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 Dtest-mbtowc.c36 __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 Dtest-wcscasecmp.c31 #include <locale.h>
/freebsd-10.2-release/tools/regression/lib/msun/
H A Dtest-nan.c38 #include <locale.h>
/freebsd-10.2-release/games/random/
H A Drandom.c53 #include <locale.h>
/freebsd-10.2-release/usr.bin/basename/
H A Dbasename.c48 #include <locale.h>
/freebsd-10.2-release/usr.bin/calendar/
H A DMakefile7 SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
H A Dday.c34 #include <locale.h>
/freebsd-10.2-release/usr.bin/expand/
H A Dexpand.c46 #include <locale.h>
/freebsd-10.2-release/usr.bin/find/
H A Dmain.c55 #include <locale.h>
/freebsd-10.2-release/contrib/gcclibs/libcpp/
H A Dsystem.h243 # include <locale.h>
251 # define setlocale(category, locale) (locale)
/freebsd-10.2-release/usr.bin/makewhatis/
H A Dmakewhatis.c101 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 Dios_base.h518 // 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 Dncal.c35 #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 Dt_strerror.c37 #include <locale.h>
/freebsd-10.2-release/lib/libutil/
H A Dhumanize_number.c43 #include <locale.h>
/freebsd-10.2-release/contrib/libarchive/libarchive/test/
H A Dtest_compat_pax_libarchive_2x.c28 #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 Dtest_read_format_cab_filename.c28 #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 Dnls.c43 # 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. */

Completed in 229 milliseconds

1234567891011>>