#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <limits.h>#include <ctype.h>#include <regex.h>#include "utils.h"#include "regex2.h"#include "engine.c"Include dependency graph for regexec.c:

Go to the source code of this file.
Defines | |
| #define | states long |
| #define | states1 states |
| #define | CLEAR(v) ((v) = 0) |
| #define | SET0(v, n) ((v) &= ~(1 << (n))) |
| #define | SET1(v, n) ((v) |= 1 << (n)) |
| #define | ISSET(v, n) ((v) & (1 << (n))) |
| #define | ASSIGN(d, s) ((d) = (s)) |
| #define | EQ(a, b) ((a) == (b)) |
| #define | STATEVARS int dummy |
| #define | STATESETUP(m, n) |
| #define | STATETEARDOWN(m) |
| #define | SETUP(v) ((v) = 0) |
| #define | onestate int |
| #define | INIT(o, n) ((o) = (unsigned)1 << (n)) |
| #define | INC(o) ((o) <<= 1) |
| #define | ISSTATEIN(v, o) ((v) & (o)) |
| #define | FWD(dst, src, n) ((dst) |= ((unsigned)(src)&(here)) << (n)) |
| #define | BACK(dst, src, n) ((dst) |= ((unsigned)(src)&(here)) >> (n)) |
| #define | ISSETBACK(v, n) ((v) & ((unsigned)here >> (n))) |
| #define | SNAMES |
| #define | states char * |
| #define | CLEAR(v) memset(v, 0, m->g->nstates) |
| #define | SET0(v, n) ((v)[n] = 0) |
| #define | SET1(v, n) ((v)[n] = 1) |
| #define | ISSET(v, n) ((v)[n]) |
| #define | ASSIGN(d, s) memcpy(d, s, m->g->nstates) |
| #define | EQ(a, b) (memcmp(a, b, m->g->nstates) == 0) |
| #define | STATEVARS int vn; char *space |
| #define | STATESETUP(m, nv) |
| #define | STATETEARDOWN(m) { free((m)->space); } |
| #define | SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates]) |
| #define | onestate int |
| #define | INIT(o, n) ((o) = (n)) |
| #define | INC(o) ((o)++) |
| #define | ISSTATEIN(v, o) ((v)[o]) |
| #define | FWD(dst, src, n) ((dst)[here+(n)] |= (src)[here]) |
| #define | BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here]) |
| #define | ISSETBACK(v, n) ((v)[here - (n)]) |
| #define | LNAMES |
| #define | GOODFLAGS(f) ((f)&(REG_NOTBOL|REG_NOTEOL|REG_STARTEND)) |
Functions | |
| int | regexec (regex_t *preg, const char *string, size_t nmatch, pmatch, int eflags) const |
Variables | |
| static int | nope = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 136 of file regexec.c. Referenced by step(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 138 of file regexec.c. Referenced by step(). |
|
|
|
|
|
Definition at line 133 of file regexec.c. Referenced by step(). |
|
|
|
|
|
|
|
|
Definition at line 130 of file regexec.c. Referenced by step(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 129 of file regexec.c. Referenced by matcher(). |
|
|
|
|
|
|
|
|
Definition at line 117 of file regexec.c. Referenced by build_relations(), fast(), and slow(). |
|
|
Definition at line 70 of file regexec.c. Referenced by regexec(). |
|
|
Value: |
|
|
Definition at line 125 of file regexec.c. Referenced by matcher(). |
|
|
|
|
|
Definition at line 128 of file regexec.c. Referenced by matcher(). |
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
Definition at line 160 of file regexec.c. References assert, BAD, CHAR_BIT, g, GOODFLAGS, MAGIC1, MAGIC2, pmatch(), REG_BADPAT, REG_LARGE, and states1. |
|
|
|
1.4.6