/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | mbsinit.c | 22 mbsinit_l(const mbstate_t *s, locale_t loc) argument 24 return (loc->ctype->lc_mbsinit(s));
|
H A D | collcmp.c | 38 _collate_range_cmp(wchar_t c1, wchar_t c2, locale_t loc) argument 46 return (wcscoll_l(s1, s2, loc));
|
H A D | mblen.c | 38 mblen_l(const char *s, size_t n, locale_t loc) argument 47 rval = mbrtowc_l(NULL, s, n, &mbs, loc);
|
H A D | mbrlen.c | 37 locale_t loc) 43 return (mbrtowc_l(NULL, s, n, ps, loc)); 36 mbrlen_l(const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | wcrtomb.c | 39 locale_t loc) 45 return (loc->ctype->lc_wcrtomb(s, wc, ps)); 38 wcrtomb_l(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | wctob.c | 38 wctob_l(wint_t c, locale_t loc) argument 44 if (c == WEOF || wcrtomb_l(buf, c, &mbs, loc) != 1)
|
H A D | wctomb.c | 37 wctomb_l(char *s, wchar_t wchar, locale_t loc) argument 46 if ((rval = wcrtomb_l(s, wchar, &mbs, loc)) == (size_t)-1)
|
H A D | btowc.c | 37 btowc_l(int c, locale_t loc) argument 52 if (mbrtowc_l(&wc, &cc, 1, &mbs, loc) > 1)
|
H A D | localeconv.c | 59 locale_t loc; local 63 loc = uselocale(NULL); 64 lconv = &loc->lconv; 66 if (loc->loaded[LC_MONETARY] == 0) { 67 mptr = loc->locdata[LC_MONETARY]->l_data[0]; 93 loc->loaded[LC_MONETARY] = 1; 96 if (loc->loaded[LC_NUMERIC] == 0) { 97 nptr = loc->locdata[LC_NUMERIC]->l_data[0]; 104 loc->loaded[LC_NUMERIC] = 1;
|
H A D | mbrtowc.c | 37 size_t n, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) 43 return (loc->ctype->lc_mbrtowc(pwc, s, n, ps)); 36 mbrtowc_l(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | mbsrtowcs.c | 40 size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) 47 return (loc->ctype->lc_mbsnrtowcs(dst, src, ULONG_MAX, len, ps)); 39 mbsrtowcs_l(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | mbstowcs.c | 40 size_t n, locale_t loc) 46 return (loc->ctype->lc_mbsnrtowcs(pwcs, &sp, ULONG_MAX, n, &mbs)); 39 mbstowcs_l(wchar_t *_RESTRICT_KYWD pwcs, const char *_RESTRICT_KYWD s, size_t n, locale_t loc) argument
|
H A D | mbtowc.c | 38 locale_t loc) 47 rval = mbrtowc_l(pwc, s, n, &mbs, loc); 37 mbtowc_l(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, locale_t loc) argument
|
H A D | strcasecmp.c | 44 strcasecmp_l(const char *s1, const char *s2, locale_t loc) argument 50 const struct lc_ctype *lct = loc->ctype;
|
H A D | strcasestr.c | 47 strcasestr_l(const char *s1, const char *s2, locale_t loc) argument 49 const int *cm = loc->ctype->lc_trans_lower;
|
H A D | strncasecmp.c | 44 strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t loc) argument 50 const struct lc_ctype *lct = loc->ctype;
|
H A D | strxfrm.c | 41 size_t dlen, locale_t loc) 60 if (loc->collate->lc_is_posix) 66 if (mbstowcs_l(wcs, src, slen + 1, loc) == (size_t)-1) 69 if ((xlen = _collate_sxfrm(wcs, xf, dlen, loc)) == (size_t)-1) 40 strxfrm_l(char *_RESTRICT_KYWD xf, const char *_RESTRICT_KYWD src, size_t dlen, locale_t loc) argument
|
H A D | tolower.c | 26 tolower_l(int c, locale_t loc) argument 28 return (((unsigned)c > 255) ? c : loc->ctype->lc_trans_lower[c]); 32 toupper_l(int c, locale_t loc) argument 34 return (((unsigned)c > 255) ? c : loc->ctype->lc_trans_upper[c]);
|
H A D | wcsrtombs.c | 40 size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) 46 return (loc->ctype->lc_wcsnrtombs(dst, src, ULONG_MAX, len, ps)); 39 wcsrtombs_l(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
|
H A D | wcstombs.c | 39 size_t n, locale_t loc) 47 return (loc->ctype->lc_wcsnrtombs(s, &pwcsp, ULONG_MAX, n, &mbs)); 38 wcstombs_l(char *_RESTRICT_KYWD s, const wchar_t *_RESTRICT_KYWD pwcs, size_t n, locale_t loc) argument
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | lpaths.c | 70 char *loc; local 72 loc = setlocale(LC_MESSAGES, NULL); 73 if (loc != NULL) { 75 LOCALEPATH, loc, file);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | errorx.c | 32 errorx(const char* loc, const char* cmd, const char* cat, const char* msg) argument 39 if (!loc) 40 loc = (const char*)locales[AST_LC_MESSAGES]->code; 45 if (s = (*error_info.translate)(loc, cmd, cat, msg))
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry_c.c | 49 register db_index_entry *loc; local 89 loc = ep->next; 94 if (loc == NULL) { 95 ep->next = loc = (db_index_entry *) 97 if (loc == NULL) { 102 memset(loc, 0, sizeof (db_index_entry)); 110 freeptr = loc; 114 if (loc == NULL) 116 ep = loc; 148 register db_free_entry *loc; local [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/catopen/ |
H A D | catopen.c | 51 locale_t loc; local 63 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL); 64 assert(loc != NULL); 67 (void) uselocale(loc); 72 freelocale(loc); 77 loc = newlocale(LC_MESSAGES_MASK, "C", NULL); 78 assert(loc != NULL); 81 (void) uselocale(loc);
|
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/ |
H A D | priv_gettext.c | 55 locale_t loc; local 64 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL); 65 assert(loc != NULL); 68 (void) uselocale(loc); 73 freelocale(loc); 76 loc = newlocale(LC_MESSAGES_MASK, "C", NULL); 77 assert(loc != NULL); 80 (void) uselocale(loc); 85 freelocale(loc);
|