Lines Matching refs:language
350 if ((flags & LC_local) && (!lc->language || !(lc->language->flags & (LC_debug|LC_default))))
375 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz);
420 lp = mp->language;
513 * language
704 lc->language = lp ? lp : &lc_languages[0];
740 int language;
756 ls->language = elementsof(ls->lc.territory->languages);
757 ls->attribute = elementsof(ls->lc.language->attributes);
759 if (++ls->attribute >= elementsof(ls->lc.language->attributes) || !(ls->list.attribute = ls->lc.language->attributes[ls->attribute]))
761 if (++ls->language >= elementsof(ls->lc.territory->languages) || !(ls->lc.language = ls->lc.territory->languages[ls->language]))
769 ls->lc.language = ls->lc.territory->languages[ls->language = 0];
771 if (ls->lc.language)
773 ls->lc.charset = ls->lc.language->charset ? ls->lc.language->charset : &lc_charsets[0];
774 ls->list.attribute = ls->lc.language->attributes[ls->attribute = 0];
784 if (!ls->lc.language || !ls->lc.language->index)
789 (!ls->lc.territory || !(ls->lc.index = ls->lc.territory->indices[ls->language])))
791 ls->lc.index = MAKELCID(MAKELANGID(ls->lc.language->index, ls->lc.index), SORT_DEFAULT);
794 canonical(ls->lc.language, ls->lc.territory, ls->lc.charset, ls->lc.attributes, 0, ls->buf, sizeof(ls->buf));