Searched refs:newlocale (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/
H A Dpriv_gettext.c64 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL);
76 loc = newlocale(LC_MESSAGES_MASK, "C", NULL);
/illumos-gate/usr/src/test/libc-tests/tests/catopen/
H A Dcatopen.c63 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL);
77 loc = newlocale(LC_MESSAGES_MASK, "C", NULL);
/illumos-gate/usr/src/test/libc-tests/tests/newlocale/
H A Dnewlocale_test.c17 * This program tests that newlocale and uselocale work properly in
70 loc = newlocale(LC_ALL_MASK, l->locale, NULL);
72 test_failed(t, "newlocale %s failed", l->locale);
76 test_failed(t, "newlocale data mismatch (%s != %s)",
141 loc = newlocale(LC_ALL_MASK, "de_DE.UTF-8", NULL);
150 bad = newlocale(LC_ALL_MASK, "cn_US.BIZRRE", loc);
172 loc = newlocale(LC_TIME_MASK, "de_DE.UTF-8", loc);
173 loc = newlocale(LC_MESSAGES_MASK, "ru_RU.UTF-8", loc);
174 loc = newlocale(LC_MONETARY_MASK, "en_US.UTF-8", loc);
207 loc = newlocale(LC_ALL_MAS
[all...]
/illumos-gate/usr/src/head/
H A Dlocale.h72 * These were added in POSIX 2008 as part of the newlocale() specification.
89 extern locale_t newlocale(int, const char *, locale_t);
/illumos-gate/usr/src/test/libc-tests/tests/strerror/
H A Dstrerror.c81 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL);
/illumos-gate/usr/src/test/libc-tests/tests/
H A DMakefile21 newlocale \
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dsetlocale.c357 getlocale_ctype(char *locale, char *ctypep, char *newlocale) argument
361 if ((fd = openlocale("LC_CTYPE", LC_CTYPE, locale, newlocale)) > 0) {
374 getlocale_numeric(char *locale, struct lconv *lconvp, char *newlocale) argument
381 if ((fd = openlocale("LC_NUMERIC", LC_NUMERIC, locale, newlocale)) < 0)
424 getlocale_monetary(char *locale, struct lconv *lconvp, char *newlocale) argument
431 if ((fd = openlocale("LC_MONETARY", LC_MONETARY, locale, newlocale)) < 0)
607 * Copy the name of the locale used into "newlocale".
615 openlocale(char *category, int cat_id, char *locale, char *newlocale) argument
639 (void) strcpy(newlocale, locale);
657 (void) strcpy(newlocale, local
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dsetlocale.c84 loc = newlocale(mask, locname, NULL);
H A Dlocaleimpl.c17 * This file implements the 2008 newlocale and friends handling.
416 newlocale(int catmask, const char *locname, locale_t base) function
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c138 loc = newlocale(LC_ALL_MASK, locale, NULL);
140 test_failed(t, "newlocale failed: %s", strerror(errno));
173 loc = newlocale(LC_ALL_MASK, locale, NULL);
175 test_failed(t, "newlocale failed: %s", strerror(errno));
/illumos-gate/usr/src/test/libc-tests/tests/nl_langinfo/
H A Dnl_langinfo_test.c17 * This program tests that newlocale and uselocale work properly in
230 loc = newlocale(LC_ALL_MASK, locale, NULL);
232 test_failed(t, "newlocale failed: %s", strerror(errno));
/illumos-gate/usr/src/man/man3c/
H A DMakefile260 newlocale.3c \
1999 duplocale.3c := LINKSRC = newlocale.3c
2000 freelocale.3c := LINKSRC = newlocale.3c

Completed in 135 milliseconds