Lines Matching refs:charset
243 * return 1 if s matches the charset names in cp
321 if (lp && (!(flags & (LC_abbreviated|LC_default)) || cp != lp->charset) && s < e)
363 if (!lc->charset || !lc->charset->ms)
365 else if (streq(lc->charset->ms, code))
368 return sfsprintf(buf, siz, "%s_%s.%s,%s", lang, ctry, code, lc->charset->ms);
375 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz);
422 cp = mp->charset;
575 cp = ((Lc_language_t*)lp)->charset = &lc_charsets[0];
638 * attributes -- done here to catch misplaced charset references
648 if (!(cp = lp->charset) || !match_charset(w, cp))
682 * charset
690 cp = ppa ? ppa : lp->charset;
706 lc->charset = cp ? cp : &lc_charsets[0];
707 if (!strcmp(lc->charset->code, "utf8"))
773 ls->lc.charset = ls->lc.language->charset ? ls->lc.language->charset : &lc_charsets[0];
778 ls->lc.charset = &lc_charsets[0];
794 canonical(ls->lc.language, ls->lc.territory, ls->lc.charset, ls->lc.attributes, 0, ls->buf, sizeof(ls->buf));