Lines Matching refs:ldesc
2270 struct latch_descr *ldesc; in end_problem_latch() local
2274 ldesc = find_latch(mask); in end_problem_latch()
2275 if (ldesc->end_message && (ldesc->flags & PRL_LATCHED)) { in end_problem_latch()
2277 answer = fix_problem(ctx, ldesc->end_message, &pctx); in end_problem_latch()
2279 ldesc->flags &= ~(PRL_VARIABLE); in end_problem_latch()
2285 struct latch_descr *ldesc; in set_latch_flags() local
2287 ldesc = find_latch(mask); in set_latch_flags()
2288 if (!ldesc) in set_latch_flags()
2290 ldesc->flags |= setflags; in set_latch_flags()
2291 ldesc->flags &= ~clearflags; in set_latch_flags()
2297 struct latch_descr *ldesc; in get_latch_flags() local
2299 ldesc = find_latch(mask); in get_latch_flags()
2300 if (!ldesc) in get_latch_flags()
2302 *value = ldesc->flags; in get_latch_flags()
2370 struct latch_descr *ldesc = 0; in fix_problem() local
2422 ldesc = find_latch(ptr->flags & PR_LATCH_MASK); in fix_problem()
2423 if (ldesc->question && !(ldesc->flags & PRL_LATCHED)) { in fix_problem()
2424 ans = fix_problem(ctx, ldesc->question, pctx); in fix_problem()
2426 ldesc->flags |= PRL_YES; in fix_problem()
2428 ldesc->flags |= PRL_NO; in fix_problem()
2429 ldesc->flags |= PRL_LATCHED; in fix_problem()
2431 if (ldesc->flags & PRL_SUPPRESS) in fix_problem()
2447 (ldesc->flags & (PRL_YES | PRL_NO))) in fix_problem()
2493 (ldesc->flags & (PRL_YES | PRL_NO))) { in fix_problem()
2495 if (ldesc->flags & PRL_YES) in fix_problem()