rules 9598 src/simh/scp.c if (NULL == exp->rules) rules 9601 src/simh/scp.c if (!strcmp (exp->rules[i].match_pattern, match)) rules 9602 src/simh/scp.c return &exp->rules[i]; rules 9619 src/simh/scp.c for (i=ep-exp->rules; i<exp->size; i++) /* shuffle up remaining rules */ rules 9620 src/simh/scp.c exp->rules[i] = exp->rules[i+1]; rules 9622 src/simh/scp.c FREE (exp->rules); rules 9623 src/simh/scp.c exp->rules = NULL; rules 9635 src/simh/scp.c ep = (EXPTAB *)sim_exp_fnd (exp, match, ep - exp->rules); rules 9647 src/simh/scp.c FREE (exp->rules[i].match); /* deallocate match string */ rules 9648 src/simh/scp.c FREE (exp->rules[i].match_pattern); /* deallocate display format match string */ rules 9649 src/simh/scp.c FREE (exp->rules[i].act); /* deallocate action */ rules 9651 src/simh/scp.c FREE (exp->rules); rules 9652 src/simh/scp.c exp->rules = NULL; rules 9691 src/simh/scp.c if ((0 == strcmp (match, exp->rules[i].match_pattern)) && rules 9692 src/simh/scp.c (exp->rules[i].switches & EXP_TYP_PERSIST)) rules 9697 src/simh/scp.c exp->rules = (EXPTAB *) realloc (exp->rules, sizeof (*exp->rules)*(exp->size + 1)); rules 9698 src/simh/scp.c if (!exp->rules) rules 9710 src/simh/scp.c ep = &exp->rules[exp->size]; rules 9763 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 9827 src/simh/scp.c ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 1 + (ep - exp->rules)); rules 9839 src/simh/scp.c sim_exp_show_tab (st, exp, &exp->rules[i]); rules 9854 src/simh/scp.c if ((!exp) || (!exp->rules)) /* Anything to check? */ rules 9861 src/simh/scp.c ep = &exp->rules[i]; rules 644 src/simh/sim_defs.h EXPTAB *rules; /* match rules */