#include "postgres.h"#include <ctype.h>#include <limits.h>#include "mb/pg_wchar.h"#include "regex.h"

Go to the source code of this file.
Defines | |
| #define | FUNCPTR(name, args) (*name) args |
| #define | MALLOC(n) malloc(n) |
| #define | FREE(p) free(VS(p)) |
| #define | REALLOC(p, n) realloc(VS(p),n) |
| #define | assert(x) Assert(x) |
| #define | NOCELT (-1) |
| #define | CHR(c) ((unsigned char) (c)) |
| #define | DIGITVAL(c) ((c)-'0') |
| #define | CHRBITS 32 |
| #define | CHR_MIN 0x00000000 |
| #define | CHR_MAX 0xfffffffe |
| #define | iscalnum(x) pg_wc_isalnum(x) |
| #define | iscalpha(x) pg_wc_isalpha(x) |
| #define | iscdigit(x) pg_wc_isdigit(x) |
| #define | iscspace(x) pg_wc_isspace(x) |
Typedefs | |
| typedef pg_wchar | chr |
| typedef unsigned | uchr |
| typedef int | celt |
| #define assert | ( | x | ) | Assert(x) |
Definition at line 56 of file regcustom.h.
Definition at line 64 of file regcustom.h.
Referenced by brenext(), element(), lexdigits(), lexescape(), newline(), next(), prefixes(), and skip().
| #define CHR_MAX 0xfffffffe |
Definition at line 68 of file regcustom.h.
Referenced by initcm().
| #define CHR_MIN 0x00000000 |
Definition at line 67 of file regcustom.h.
Referenced by initcm().
| #define CHRBITS 32 |
Definition at line 66 of file regcustom.h.
Definition at line 65 of file regcustom.h.
Referenced by brenext(), lexdigits(), and next().
| #define FREE | ( | p | ) | free(VS(p)) |
Definition at line 54 of file regcustom.h.
Referenced by citerdissect(), cleanst(), cmtreefree(), compact(), creviterdissect(), destroystate(), freecm(), freecnfa(), freecolor(), freecvec(), freedfa(), freelacons(), freenfa(), freesrnode(), freev(), pg_regexec(), pg_regprefix(), and rfree().
Definition at line 52 of file regcustom.h.
| #define iscalnum | ( | x | ) | pg_wc_isalnum(x) |
Definition at line 71 of file regcustom.h.
Referenced by brenext(), lexescape(), and next().
| #define iscalpha | ( | x | ) | pg_wc_isalpha(x) |
Definition at line 72 of file regcustom.h.
Referenced by lexescape(), and prefixes().
| #define iscdigit | ( | x | ) | pg_wc_isdigit(x) |
Definition at line 73 of file regcustom.h.
Referenced by next().
| #define iscspace | ( | x | ) | pg_wc_isspace(x) |
Definition at line 74 of file regcustom.h.
Referenced by skip().
| #define MALLOC | ( | n | ) | malloc(n) |
Definition at line 53 of file regcustom.h.
Referenced by allocarc(), citerdissect(), compact(), creviterdissect(), moresubs(), newcolor(), newcvec(), newdfa(), newlacon(), newnfa(), newstate(), pg_regcomp(), pg_regexec(), pg_regprefix(), setcolor(), subblock(), and subre().
| #define NOCELT (-1) |
Definition at line 63 of file regcustom.h.
| #define REALLOC | ( | p, | ||
| n | ||||
| ) | realloc(VS(p),n) |
Definition at line 55 of file regcustom.h.
Referenced by moresubs(), newcolor(), and newlacon().
| typedef int celt |
Definition at line 61 of file regcustom.h.
Definition at line 59 of file regcustom.h.
| typedef unsigned uchr |
Definition at line 60 of file regcustom.h.
1.7.1