Lines Matching defs:counts
2472 int *counts, int *offs)
2611 counts[p1->position]++;
2625 int *counts, int *offs)
2639 errcode = tre_ast_to_tnfa(uni->left, transitions, counts, offs);
2642 errcode = tre_ast_to_tnfa(uni->right, transitions, counts, offs);
2650 transitions, counts, offs);
2653 errcode = tre_ast_to_tnfa(cat->left, transitions, counts, offs);
2656 errcode = tre_ast_to_tnfa(cat->right, transitions, counts, offs);
2669 transitions, counts, offs);
2673 errcode = tre_ast_to_tnfa(iter->arg, transitions, counts, offs);
2696 int *counts = NULL, *offs = NULL;
2810 counts = xmalloc(sizeof(int) * parse_ctx.position);
2811 if (counts == NULL)
2819 counts[i] = 0;
2820 tre_ast_to_tnfa(tree, NULL, counts, NULL);
2826 add += counts[i] + 1;
2827 counts[i] = 0;
2835 errcode = tre_ast_to_tnfa(tree, transitions, counts, offs);
2883 xfree(counts);
2894 if (counts != NULL)
2895 xfree(counts);