56 static void doGen(
const Go *g,
const State *s, uint32_t *bm, uint32_t f, uint32_t m)
65 for (; lb < b->
ub && lb < 256; ++lb)
81 uint32_t c = 1, n = ub - lb;
84 while((cb = cb->
next) != NULL) {
89 uint32_t *bm =
new uint32_t[n];
91 for (uint32_t
i = 0, t = 1; b;
i += n, t += 8)
93 memset(bm, 0, n *
sizeof(uint32_t));
95 for (uint32_t
m = 0x80; b &&
m; m >>= 1)
108 for (uint32_t j = 0; j < n; ++j)
136 const Span * e1 = &b1[n1];
138 const Span * e2 = &b2[n2];
143 for (; b1 < e1 && b1->
to != s1; ++b1)
147 for (; b2 < e2 && b2->
to != s2; ++b2)
159 if (lb1 != lb2 || b1->
ub != b2->
ub)
static void gen(OutputFile &, uint32_t ind, uint32_t, uint32_t)
OutputFile & ws(const char *s)
OutputFile & wu32(uint32_t n)
OutputFile & wind(uint32_t ind)
BitMap(const Go *, const State *)
static void doGen(const Go *g, const State *s, uint32_t *bm, uint32_t f, uint32_t m)
static const BitMap * find(const Go *, const State *)
OutputFile & wu32_hex(uint32_t n)
bool matches(const Span *b1, uint32_t n1, const State *s1, const Span *b2, uint32_t n2, const State *s2)
OutputFile & wu32_width(uint32_t n, int w)
OutputFile & wstring(const std::string &s)