Lines Matching refs:rules
305 static struct rule * rules; variable
1113 qsort(rules, nrules, sizeof *rules, rcomp); in associate()
1115 if (strcmp(rules[i].r_name, in associate()
1116 rules[i + 1].r_name) != 0) in associate()
1118 if (strcmp(rules[i].r_filename, in associate()
1119 rules[i + 1].r_filename) == 0) in associate()
1121 eat(rules[i].r_filename, rules[i].r_linenum); in associate()
1123 eat(rules[i + 1].r_filename, rules[i + 1].r_linenum); in associate()
1126 if (strcmp(rules[i].r_name, in associate()
1127 rules[j].r_name) != 0) in associate()
1129 if (strcmp(rules[i].r_filename, in associate()
1130 rules[j].r_filename) == 0) in associate()
1132 if (strcmp(rules[i + 1].r_filename, in associate()
1133 rules[j].r_filename) == 0) in associate()
1146 rp = &rules[base]; in associate()
1148 if (strcmp(rp->r_name, rules[out].r_name) != 0) in associate()
1372 rules = growalloc(rules, sizeof *rules, nrules, &nrules_alloc); in inrule()
1373 rules[nrules++] = r; in inrule()