MCPcopy Create free account
hub / github.com/coreboot/coreboot / print_compiled_pattern

Function print_compiled_pattern

util/kconfig/regex.c:727–751  ·  view source on GitHub ↗
(bufp)

Source from the content-addressed store, hash-verified

725
726
727void
728print_compiled_pattern (bufp)
729 struct re_pattern_buffer *bufp;
730{
731 unsigned char *buffer = bufp->buffer;
732
733 print_partial_compiled_pattern (buffer, buffer + bufp->used);
734 printf ("%d bytes used/%d bytes allocated.\n", bufp->used, bufp->allocated);
735
736 if (bufp->fastmap_accurate && bufp->fastmap)
737 {
738 printf ("fastmap: ");
739 print_fastmap (bufp->fastmap);
740 }
741
742 printf ("re_nsub: %d\t", bufp->re_nsub);
743 printf ("regs_alloc: %d\t", bufp->regs_allocated);
744 printf ("can_be_null: %d\t", bufp->can_be_null);
745 printf ("newline_anchor: %d\n", bufp->newline_anchor);
746 printf ("no_sub: %d\t", bufp->no_sub);
747 printf ("not_bol: %d\t", bufp->not_bol);
748 printf ("not_eol: %d\t", bufp->not_eol);
749 printf ("syntax: %d\n", bufp->syntax);
750 /* Perhaps we should print the translate table? */
751}
752
753
754void

Callers 1

regex_compileFunction · 0.85

Calls 3

printfFunction · 0.85
print_fastmapFunction · 0.85

Tested by

no test coverage detected