Lines Matching defs:language
386 if ((flags & LC_local) && (!lc->language || !(lc->language->flags & (LC_debug|LC_default))))
411 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz);
457 lp = mp->language;
547 sfprintf(sfstderr, "locale make %s language=%s territory=%s charset=%s attributes=%s\n", name, language_name, territory_name, charset_name, attributes_name);
554 * language
789 lc->language = lp ? lp : &lc_languages[0];
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" : "");
827 int language;
843 ls->language = elementsof(ls->lc.territory->languages);
844 ls->attribute = elementsof(ls->lc.language->attributes);
846 if (++ls->attribute >= elementsof(ls->lc.language->attributes) || !(ls->list.attribute = ls->lc.language->attributes[ls->attribute]))
848 if (++ls->language >= elementsof(ls->lc.territory->languages) || !(ls->lc.language = ls->lc.territory->languages[ls->language]))
856 ls->lc.language = ls->lc.territory->languages[ls->language = 0];
858 if (ls->lc.language)
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];
871 if (!ls->lc.language || !ls->lc.language->index)
876 (!ls->lc.territory || !(ls->lc.index = ls->lc.territory->indices[ls->language])))
878 ls->lc.index = MAKELCID(MAKELANGID(ls->lc.language->index, ls->lc.index), SORT_DEFAULT);
881 canonical(ls->lc.language, ls->lc.territory, ls->lc.charset, ls->lc.attributes, 0, ls->buf, sizeof(ls->buf));