Lines Matching defs:nelems
3125 _XawTextSelectionList(TextWidget ctx, String *list, Cardinal nelems)
3131 if (nelems > (Cardinal)ctx->text.s.array_size) {
3132 sel = (Atom *)XtRealloc((char *)sel, (Cardinal)(sizeof(Atom) * (size_t)nelems));
3133 ctx->text.s.array_size = (int)nelems;
3136 for (n = (int)nelems; --n >= 0; sel++, list++)
3138 ctx->text.s.atom_count = (int)nelems;
3153 * nelems - ""
3163 String *list, Cardinal nelems)
3165 if (nelems == 1 && !strcmp (list[0], "none"))
3167 if (nelems == 0) {
3170 nelems = 1;
3172 _SetSelection(ctx, l, r, _XawTextSelectionList(ctx, list, nelems), nelems);