Lines Matching defs:constraint
1876 * add a constraint
1880 cxaddconstraint(Cx_t* cx, register Cxconstraint_t* constraint, Cxdisc_t* disc)
1908 *copy = *constraint;
1909 constraint = copy;
1913 if (dtsearch(dict, constraint))
1916 (*disc->errorf)(NiL, disc, 2, "%s: constraint already defined", constraint->name);
1919 if (!(constraint->header.flags & CX_INITIALIZED))
1921 constraint->header.flags |= CX_INITIALIZED;
1922 if (constraint->initf && !(constraint->data = (*constraint->initf)(constraint, disc)))
1925 dtinsert(dict, constraint);
1930 * return constraint given name