• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ksh-23/ksh/src/lib/libast/port/

Lines Matching +refs:charset +refs:list

252  * return 1 if s matches the charset names in cp
352 if (lp && (!(flags & (LC_abbreviated|LC_default)) || cp != lp->charset) && s < e)
399 if (!lc->charset || !lc->charset->ms)
401 else if (streq(lc->charset->ms, code))
404 return sfsprintf(buf, siz, "%s_%s.%s,%s", lang, ctry, code, lc->charset->ms);
411 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz);
459 cp = mp->charset;
547 sfprintf(sfstderr, "locale make %s language=%s territory=%s charset=%s attributes=%s\n", name, language_name, territory_name, charset_name, attributes_name);
626 ((Lc_language_t*)lp)->charset = cp;
692 * attributes -- done here to catch misplaced charset references
702 if (!(cp = lp->charset) || !match_charset(w, cp))
736 * charset
745 sfprintf(sfstderr, "locale make %s charset_name=%s cp=%s ppa=%s lp=%s\n", name, charset_name, cp ? cp->code : 0, ppa, lp->charset);
748 cp = ppa ? ppa : lp->charset;
753 * add to the list of possibly active locales
791 lc->charset = cp ? cp : &lc_charsets[0];
792 if (streq(lc->charset->code, "utf8"))
811 sfprintf(sfstderr, "locale make %17s %16s %16s %16s language=%s territory=%s charset=%s%s\n", "", lc->name, lc->code, "", lc->language->name, lc->territory->name, lc->charset->code, (lc->flags & LC_local) ? " local" : "");
825 Lc_attribute_list_t list;
846 if (++ls->attribute >= elementsof(ls->lc.language->attributes) || !(ls->list.attribute = ls->lc.language->attributes[ls->attribute]))
860 ls->lc.charset = ls->lc.language->charset ? ls->lc.language->charset : &lc_charsets[0];
861 ls->list.attribute = ls->lc.language->attributes[ls->attribute = 0];
865 ls->lc.charset = &lc_charsets[0];
866 ls->list.attribute = 0;
869 ls->lc.attributes = ls->list.attribute ? &ls->list : (Lc_attribute_list_t*)0;
875 if ((!ls->list.attribute || !(ls->lc.index = ls->list.attribute->index)) &&
881 canonical(ls->lc.language, ls->lc.territory, ls->lc.charset, ls->lc.attributes, 0, ls->buf, sizeof(ls->buf));