Lines Matching refs:ldesc
2135 struct latch_descr *ldesc; in end_problem_latch() local
2139 ldesc = find_latch(mask); in end_problem_latch()
2140 if (ldesc->end_message && (ldesc->flags & PRL_LATCHED)) { in end_problem_latch()
2142 answer = fix_problem(ctx, ldesc->end_message, &pctx); in end_problem_latch()
2144 ldesc->flags &= ~(PRL_VARIABLE); in end_problem_latch()
2150 struct latch_descr *ldesc; in set_latch_flags() local
2152 ldesc = find_latch(mask); in set_latch_flags()
2153 if (!ldesc) in set_latch_flags()
2155 ldesc->flags |= setflags; in set_latch_flags()
2156 ldesc->flags &= ~clearflags; in set_latch_flags()
2162 struct latch_descr *ldesc; in get_latch_flags() local
2164 ldesc = find_latch(mask); in get_latch_flags()
2165 if (!ldesc) in get_latch_flags()
2167 *value = ldesc->flags; in get_latch_flags()
2196 struct latch_descr *ldesc = 0; in fix_problem() local
2247 ldesc = find_latch(ptr->flags & PR_LATCH_MASK); in fix_problem()
2248 if (ldesc->question && !(ldesc->flags & PRL_LATCHED)) { in fix_problem()
2249 ans = fix_problem(ctx, ldesc->question, pctx); in fix_problem()
2251 ldesc->flags |= PRL_YES; in fix_problem()
2253 ldesc->flags |= PRL_NO; in fix_problem()
2254 ldesc->flags |= PRL_LATCHED; in fix_problem()
2256 if (ldesc->flags & PRL_SUPPRESS) in fix_problem()
2272 (ldesc->flags & (PRL_YES | PRL_NO))) in fix_problem()
2314 (ldesc->flags & (PRL_YES | PRL_NO))) { in fix_problem()
2316 if (ldesc->flags & PRL_YES) in fix_problem()