constraint 26 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 37 include/pcmki/pcmki_sched_allocate.h void clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 432 lib/pacemaker/libpacemaker_private.h void pcmk__apply_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 611 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 616 lib/pacemaker/pcmk_sched_bundle.c pcmk__apply_location(rsc, constraint); constraint 624 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 627 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, constraint); constraint 632 lib/pacemaker/pcmk_sched_bundle.c && ((constraint->role_filter == RSC_ROLE_UNPROMOTED) constraint 633 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { constraint 635 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 637 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 52 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) iter->data; constraint 55 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->id, constraint->primary->id); constraint 56 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->assign(constraint->primary, prefer); constraint 382 lib/pacemaker/pcmk_sched_clone.c clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 386 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); constraint 388 lib/pacemaker/pcmk_sched_clone.c pcmk__apply_location(rsc, constraint); constraint 393 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_location(child_rsc, constraint); constraint 1476 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) iter->data; constraint 1479 lib/pacemaker/pcmk_sched_colocation.c float other_factor = factor * constraint->score / (float) INFINITY; constraint 1482 lib/pacemaker/pcmk_sched_colocation.c other = constraint->primary; constraint 1483 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 1486 lib/pacemaker/pcmk_sched_colocation.c other = constraint->dependent; constraint 1490 lib/pacemaker/pcmk_sched_colocation.c constraint->id, constraint->dependent->id, constraint 1491 lib/pacemaker/pcmk_sched_colocation.c constraint->primary->id); constraint 1493 lib/pacemaker/pcmk_sched_colocation.c constraint->node_attribute, constraint 341 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) data; constraint 343 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *primary = constraint->primary; constraint 345 lib/pacemaker/pcmk_sched_promotable.c float factor = constraint->score / (float) INFINITY; constraint 347 lib/pacemaker/pcmk_sched_promotable.c if (constraint->dependent_role != RSC_ROLE_PROMOTED) { constraint 350 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score < INFINITY) { constraint 354 lib/pacemaker/pcmk_sched_promotable.c constraint->id, constraint->dependent->id, constraint 355 lib/pacemaker/pcmk_sched_promotable.c constraint->primary->id, constraint 356 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(constraint->score)); constraint 359 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, factor, constraint 373 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) data; constraint 375 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *dependent = constraint->dependent; constraint 376 lib/pacemaker/pcmk_sched_promotable.c const float factor = constraint->score / (float) INFINITY; constraint 380 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->primary_role != RSC_ROLE_PROMOTED) constraint 381 lib/pacemaker/pcmk_sched_promotable.c || !pcmk__colocation_has_influence(constraint, NULL)) { constraint 386 lib/pacemaker/pcmk_sched_promotable.c constraint->id, constraint->dependent->id, constraint 387 lib/pacemaker/pcmk_sched_promotable.c constraint->primary->id, constraint 388 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(constraint->score)); constraint 391 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 244 lib/pacemaker/pcmk_sched_resource.c const pcmk__colocation_t *constraint = iter->data; constraint 245 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *primary = constraint->primary; constraint 251 lib/pacemaker/pcmk_sched_resource.c if ((constraint->score == INFINITY) && constraint 252 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, constraint 265 lib/pacemaker/pcmk_sched_resource.c const pcmk__colocation_t *constraint = iter->data; constraint 266 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *dependent = constraint->dependent; constraint 276 lib/pacemaker/pcmk_sched_resource.c if ((constraint->score == INFINITY) && constraint 277 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(dependent, rsc, constraint, constraint 187 maint/gnulib/lib/dfa.c newline_constraint (int constraint) constraint 189 maint/gnulib/lib/dfa.c return (constraint >> 6) & 7; constraint 192 maint/gnulib/lib/dfa.c letter_constraint (int constraint) constraint 194 maint/gnulib/lib/dfa.c return (constraint >> 3) & 7; constraint 197 maint/gnulib/lib/dfa.c other_constraint (int constraint) constraint 199 maint/gnulib/lib/dfa.c return constraint & 7; constraint 203 maint/gnulib/lib/dfa.c succeeds_in_context (int constraint, int prev, int curr) constraint 205 maint/gnulib/lib/dfa.c return !! (((curr & CTX_NONE ? other_constraint (constraint) : 0) \ constraint 206 maint/gnulib/lib/dfa.c | (curr & CTX_LETTER ? letter_constraint (constraint) : 0) \ constraint 207 maint/gnulib/lib/dfa.c | (curr & CTX_NEWLINE ? newline_constraint (constraint) : 0)) \ constraint 213 maint/gnulib/lib/dfa.c prev_newline_dependent (int constraint) constraint 215 maint/gnulib/lib/dfa.c return ((constraint ^ constraint >> 2) & 0111) != 0; constraint 218 maint/gnulib/lib/dfa.c prev_letter_dependent (int constraint) constraint 220 maint/gnulib/lib/dfa.c return ((constraint ^ constraint >> 1) & 0111) != 0; constraint 355 maint/gnulib/lib/dfa.c unsigned int constraint; /* Constraint for matching this position. */ constraint 374 maint/gnulib/lib/dfa.c unsigned short constraint; /* Constraint for this state to accept. */ constraint 605 maint/gnulib/lib/dfa.c return r->states[s].constraint != 0; constraint 612 maint/gnulib/lib/dfa.c return succeeds_in_context (dfa->states[state].constraint, prev, curr); constraint 2038 maint/gnulib/lib/dfa.c s->elems[mid].constraint |= p.constraint; constraint 2082 maint/gnulib/lib/dfa.c ? s2->elems[j++].constraint & c2 constraint 2085 maint/gnulib/lib/dfa.c m->elems[m->nelem++].constraint = s1->elems[i++].constraint | c; constraint 2089 maint/gnulib/lib/dfa.c if (s2->elems[j].constraint & c2) constraint 2092 maint/gnulib/lib/dfa.c m->elems[m->nelem++].constraint = s2->elems[j].constraint & c2; constraint 2137 maint/gnulib/lib/dfa.c unsigned int c = s->elems[mid].constraint; constraint 2153 maint/gnulib/lib/dfa.c unsigned int constraint, position_set *tmp) constraint 2155 maint/gnulib/lib/dfa.c unsigned int c = delete (del, dst) & constraint; constraint 2171 maint/gnulib/lib/dfa.c int constraint = 0; constraint 2177 maint/gnulib/lib/dfa.c hash ^= ind + s->elems[i].constraint; constraint 2188 maint/gnulib/lib/dfa.c if (s->elems[j].constraint != d->states[i].elems.elems[j].constraint constraint 2224 maint/gnulib/lib/dfa.c constraint |= c; constraint 2227 maint/gnulib/lib/dfa.c constraint = NO_CONSTRAINT; constraint 2238 maint/gnulib/lib/dfa.c d->states[i].constraint = constraint; constraint 2262 maint/gnulib/lib/dfa.c unsigned int constraint; constraint 2269 maint/gnulib/lib/dfa.c constraint = BEGLINE_CONSTRAINT; constraint 2272 maint/gnulib/lib/dfa.c constraint = ENDLINE_CONSTRAINT; constraint 2275 maint/gnulib/lib/dfa.c constraint = BEGWORD_CONSTRAINT; constraint 2278 maint/gnulib/lib/dfa.c constraint = ENDWORD_CONSTRAINT; constraint 2281 maint/gnulib/lib/dfa.c constraint = LIMWORD_CONSTRAINT; constraint 2284 maint/gnulib/lib/dfa.c constraint = NOTLIMWORD_CONSTRAINT; constraint 2287 maint/gnulib/lib/dfa.c constraint = NO_CONSTRAINT; constraint 2295 maint/gnulib/lib/dfa.c constraint, &tmp); constraint 2373 maint/gnulib/lib/dfa.c unsigned int iconstraint = follows[tindex].elems[i].constraint; constraint 2379 maint/gnulib/lib/dfa.c d->constraints[tindex] |= follows[tindex].elems[i].constraint; constraint 2394 maint/gnulib/lib/dfa.c if (follows[tindex].elems[j].constraint != iconstraint) constraint 2744 maint/gnulib/lib/dfa.c firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; constraint 2804 maint/gnulib/lib/dfa.c pos.constraint = NO_CONSTRAINT; constraint 2821 maint/gnulib/lib/dfa.c if (prev_newline_dependent (d->follows[i].elems[j].constraint)) constraint 2823 maint/gnulib/lib/dfa.c if (prev_letter_dependent (d->follows[i].elems[j].constraint)) constraint 3016 maint/gnulib/lib/dfa.c if (succeeds_in_context (pos.constraint, d->states[s].context, constraint 3029 maint/gnulib/lib/dfa.c if (pos.constraint != NO_CONSTRAINT) constraint 3031 maint/gnulib/lib/dfa.c if (!succeeds_in_context (pos.constraint, constraint 3035 maint/gnulib/lib/dfa.c if (!succeeds_in_context (pos.constraint, constraint 3039 maint/gnulib/lib/dfa.c if (!succeeds_in_context (pos.constraint, constraint 48 maint/gnulib/lib/regcomp.c static Idx duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint); constraint 50 maint/gnulib/lib/regcomp.c unsigned int constraint); constraint 1359 maint/gnulib/lib/regcomp.c dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type; constraint 1454 maint/gnulib/lib/regcomp.c unsigned int constraint = init_constraint; constraint 1466 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1498 maint/gnulib/lib/regcomp.c constraint |= dfa->nodes[org_node].constraint; constraint 1499 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1513 maint/gnulib/lib/regcomp.c clone_dest = search_duplicated_node (dfa, org_dest, constraint); constraint 1518 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1525 maint/gnulib/lib/regcomp.c root_node, constraint); constraint 1539 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1557 maint/gnulib/lib/regcomp.c unsigned int constraint) constraint 1563 maint/gnulib/lib/regcomp.c && constraint == dfa->nodes[idx].constraint) constraint 1574 maint/gnulib/lib/regcomp.c duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint) constraint 1579 maint/gnulib/lib/regcomp.c dfa->nodes[dup_idx].constraint = constraint; constraint 1580 maint/gnulib/lib/regcomp.c dfa->nodes[dup_idx].constraint |= dfa->nodes[org_idx].constraint; constraint 1674 maint/gnulib/lib/regcomp.c if (dfa->nodes[node].constraint constraint 1679 maint/gnulib/lib/regcomp.c dfa->nodes[node].constraint); constraint 1419 maint/gnulib/lib/regex_internal.c dfa->nodes[dfa->nodes_len].constraint = 0; constraint 1616 maint/gnulib/lib/regex_internal.c if (type == CHARACTER && !node->constraint) constraint 1625 maint/gnulib/lib/regex_internal.c else if (type == ANCHOR || node->constraint) constraint 1666 maint/gnulib/lib/regex_internal.c unsigned int constraint = node->constraint; constraint 1668 maint/gnulib/lib/regex_internal.c if (type == CHARACTER && !constraint) constraint 1678 maint/gnulib/lib/regex_internal.c if (constraint) constraint 1699 maint/gnulib/lib/regex_internal.c if (NOT_SATISFY_PREV_CONSTRAINT (constraint,context)) constraint 350 maint/gnulib/lib/regex_internal.h unsigned int constraint : 10; /* context constraint */ constraint 501 maint/gnulib/lib/regex_internal.h #define NOT_SATISFY_PREV_CONSTRAINT(constraint,context) \ constraint 502 maint/gnulib/lib/regex_internal.h ((((constraint) & PREV_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \ constraint 503 maint/gnulib/lib/regex_internal.h || ((constraint & PREV_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \ constraint 504 maint/gnulib/lib/regex_internal.h || ((constraint & PREV_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context))\ constraint 505 maint/gnulib/lib/regex_internal.h || ((constraint & PREV_BEGBUF_CONSTRAINT) && !IS_BEGBUF_CONTEXT (context))) constraint 507 maint/gnulib/lib/regex_internal.h #define NOT_SATISFY_NEXT_CONSTRAINT(constraint,context) \ constraint 508 maint/gnulib/lib/regex_internal.h ((((constraint) & NEXT_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \ constraint 509 maint/gnulib/lib/regex_internal.h || (((constraint) & NEXT_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \ constraint 510 maint/gnulib/lib/regex_internal.h || (((constraint) & NEXT_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context)) \ constraint 511 maint/gnulib/lib/regex_internal.h || (((constraint) & NEXT_ENDBUF_CONSTRAINT) && !IS_ENDBUF_CONTEXT (context))) constraint 1165 maint/gnulib/lib/regexec.c unsigned int constraint = dfa->nodes[node].constraint; constraint 1168 maint/gnulib/lib/regexec.c if (!constraint) constraint 1170 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (constraint, context)) constraint 2444 maint/gnulib/lib/regexec.c if (dfa->nodes[cur_node_idx].constraint) constraint 2449 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (dfa->nodes[cur_node_idx].constraint, constraint 2513 maint/gnulib/lib/regexec.c if (node->constraint) constraint 2517 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) constraint 3440 maint/gnulib/lib/regexec.c unsigned int constraint = node->constraint; constraint 3476 maint/gnulib/lib/regexec.c if (constraint) constraint 3478 maint/gnulib/lib/regexec.c if (constraint & NEXT_NEWLINE_CONSTRAINT) constraint 3487 maint/gnulib/lib/regexec.c if (constraint & NEXT_ENDBUF_CONSTRAINT) constraint 3493 maint/gnulib/lib/regexec.c if (constraint & NEXT_WORD_CONSTRAINT) constraint 3510 maint/gnulib/lib/regexec.c if (constraint & NEXT_NOTWORD_CONSTRAINT) constraint 3930 maint/gnulib/lib/regexec.c if (node->constraint) constraint 3936 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context))