Lines Matching refs:elementsof
616 for (i = 0; i < elementsof(tp->languages) && lp != tp->languages[i]; i++);
617 if (i >= elementsof(tp->languages))
627 for (i = 0; i < elementsof(tp->languages) && lp != tp->languages[i]; i++);
628 if (i < elementsof(tp->languages))
657 for (i = 0; i < elementsof(lp->attributes) && (ap = lp->attributes[i]); i++)
668 if (i >= elementsof(lp->attributes) && (ap = newof(0, Lc_attribute_t, 1, sizeof(Lc_attribute_list_t) + s - w + 1)))
710 for (i = 0; i < elementsof(lc->info); i++)
715 for (i = 0; i < elementsof(tp->languages); i++)
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]))