rules 9656 src/simh/scp.c if (NULL == exp->rules) rules 9659 src/simh/scp.c if (!strcmp (exp->rules[i].match_pattern, match)) rules 9660 src/simh/scp.c return &exp->rules[i]; rules 9677 src/simh/scp.c for (i=ep-exp->rules; i<exp->size; i++) /* shuffle up remaining rules */ rules 9678 src/simh/scp.c exp->rules[i] = exp->rules[i+1]; rules 9680 src/simh/scp.c FREE (exp->rules); rules 9681 src/simh/scp.c exp->rules = NULL; rules 9693 src/simh/scp.c ep = (EXPTAB *)sim_exp_fnd (exp, match, ep - exp->rules); rules 9705 src/simh/scp.c FREE (exp->rules[i].match); /* deallocate match string */ rules 9706 src/simh/scp.c FREE (exp->rules[i].match_pattern); /* deallocate display format match string */ rules 9707 src/simh/scp.c FREE (exp->rules[i].act); /* deallocate action */ rules 9709 src/simh/scp.c FREE (exp->rules); rules 9710 src/simh/scp.c exp->rules = NULL; rules 9749 src/simh/scp.c if ((0 == strcmp (match, exp->rules[i].match_pattern)) && rules 9750 src/simh/scp.c (exp->rules[i].switches & EXP_TYP_PERSIST)) rules 9755 src/simh/scp.c exp->rules = (EXPTAB *) realloc (exp->rules, sizeof (*exp->rules)*(exp->size + 1)); rules 9756 src/simh/scp.c if (!exp->rules) rules 9768 src/simh/scp.c ep = &exp->rules[exp->size]; rules 9821 src/simh/scp.c size_t compare_size = (exp->rules[i].switches & EXP_TYP_REGEX) ? MAX(10 * strlen(ep->match_pattern), 1024) : exp->rules[i].size; rules 9885 src/simh/scp.c ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 1 + (ep - exp->rules)); rules 9897 src/simh/scp.c sim_exp_show_tab (st, exp, &exp->rules[i]); rules 9912 src/simh/scp.c if ((!exp) || (!exp->rules)) /* Anything to check? */ rules 9919 src/simh/scp.c ep = &exp->rules[i]; rules 644 src/simh/sim_defs.h EXPTAB *rules; /* match rules */