Lines Matching full:expr_list
173 static char **expr_list;
193 expr_list[expr_counter] = new_buf;
236 cat_expr_buf(expr_list[expr_counter], tmp_buf);
239 cat_expr_buf(expr_list[expr_counter], "<empty_set> ");
241 cat_expr_buf(expr_list[expr_counter], " {");
263 cat_expr_buf(expr_list[expr_counter], tmp_buf);
267 cat_expr_buf(expr_list[expr_counter], " }");
269 cat_expr_buf(expr_list[expr_counter], " -Fail-) ");
271 cat_expr_buf(expr_list[expr_counter], ") ");
285 cat_expr_buf(expr_list[expr_counter], tmp_buf);
435 expr_list = NULL;
439 char **new_expr_list = expr_list;
447 new_expr_list = realloc(expr_list,
448 new_expr_list_len * sizeof(*expr_list));
455 expr_list = new_expr_list;
463 expr_list[expr_counter] = malloc(expr_buf_len);
464 if (!expr_list[expr_counter]) {
476 cat_expr_buf(expr_list[expr_counter], "not");
482 cat_expr_buf(expr_list[expr_counter], "and");
488 cat_expr_buf(expr_list[expr_counter], "or");
682 * expr_list[n+1] and in RPN format. Now convert to 'infix'
688 * expr_list malloc's. Normally they are released by the RPN to
712 if (strncmp(expr_list[x], "and", 3) == 0 || strncmp(expr_list[x],
729 expr_list[x], b);
733 free(expr_list[x]);
734 } else if (strncmp(expr_list[x], "not", 3) == 0) {
748 expr_list[x], b);
751 expr_list[x], b);
754 free(expr_list[x]);
756 push(expr_list[x]);
819 for (x = 0; expr_list[x] != NULL; x++)
820 free(expr_list[x]);
823 free(expr_list);