rules 9664 src/simh/scp.c if (NULL == exp->rules) rules 9667 src/simh/scp.c if (!strcmp (exp->rules[i].match_pattern, match)) rules 9668 src/simh/scp.c return &exp->rules[i]; rules 9685 src/simh/scp.c for (i=ep-exp->rules; i<exp->size; i++) /* shuffle up remaining rules */ rules 9686 src/simh/scp.c exp->rules[i] = exp->rules[i+1]; rules 9688 src/simh/scp.c FREE (exp->rules); rules 9689 src/simh/scp.c exp->rules = NULL; rules 9701 src/simh/scp.c ep = (EXPTAB *)sim_exp_fnd (exp, match, ep - exp->rules); rules 9713 src/simh/scp.c FREE (exp->rules[i].match); /* deallocate match string */ rules 9714 src/simh/scp.c FREE (exp->rules[i].match_pattern); /* deallocate display format match string */ rules 9715 src/simh/scp.c FREE (exp->rules[i].act); /* deallocate action */ rules 9717 src/simh/scp.c FREE (exp->rules); rules 9718 src/simh/scp.c exp->rules = NULL; rules 9757 src/simh/scp.c if ((0 == strcmp (match, exp->rules[i].match_pattern)) && rules 9758 src/simh/scp.c (exp->rules[i].switches & EXP_TYP_PERSIST)) rules 9763 src/simh/scp.c exp->rules = (EXPTAB *) realloc (exp->rules, sizeof (*exp->rules)*(exp->size + 1)); rules 9764 src/simh/scp.c if (!exp->rules) rules 9776 src/simh/scp.c ep = &exp->rules[exp->size]; rules 9829 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 9893 src/simh/scp.c ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 1 + (ep - exp->rules)); rules 9905 src/simh/scp.c sim_exp_show_tab (st, exp, &exp->rules[i]); rules 9920 src/simh/scp.c if ((!exp) || (!exp->rules)) /* Anything to check? */ rules 9927 src/simh/scp.c ep = &exp->rules[i]; rules 644 src/simh/sim_defs.h EXPTAB *rules; /* match rules */