Lines Matching refs:territory
411 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz);
458 tp = mp->territory;
547 sfprintf(sfstderr, "locale make %s language=%s territory=%s charset=%s attributes=%s\n", name, language_name, territory_name, charset_name, attributes_name);
634 * territory
790 lc->territory = tp ? tp : &lc_territories[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" : "");
826 int territory;
842 ls->territory = -1;
843 ls->language = elementsof(ls->lc.territory->languages);
848 if (++ls->language >= elementsof(ls->lc.territory->languages) || !(ls->lc.language = ls->lc.territory->languages[ls->language]))
850 if (!lc_territories[++ls->territory].code)
855 ls->lc.territory = &lc_territories[ls->territory];
856 ls->lc.language = ls->lc.territory->languages[ls->language = 0];
876 (!ls->lc.territory || !(ls->lc.index = ls->lc.territory->indices[ls->language])))
881 canonical(ls->lc.language, ls->lc.territory, ls->lc.charset, ls->lc.attributes, 0, ls->buf, sizeof(ls->buf));