PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <ctype.h>
#include <limits.h>
#include <wchar.h>
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "regex.h"
Go to the source code of this file.
Macros | |
#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 | CHR(c) ((unsigned char) (c)) /* turn char literal into chr literal */ |
#define | DIGITVAL(c) ((c)-'0') /* turn chr digit into its value */ |
#define | CHRBITS 32 /* bits in a chr; must not use sizeof */ |
#define | CHR_MIN 0x00000000 /* smallest and largest chr; the value */ |
#define | CHR_MAX |
#define | CHR_IS_IN_RANGE(c) ((c) <= CHR_MAX) |
#define | MAX_SIMPLE_CHR 0x7FF /* suitable value for Unicode */ |
#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 |
#define assert | ( | x | ) | Assert(x) |
Definition at line 63 of file regcustom.h.
Definition at line 69 of file regcustom.h.
Referenced by brenext(), eclass(), element(), lexdigits(), lexescape(), newline(), next(), pg_wc_isword(), prefixes(), and skip().
Definition at line 85 of file regcustom.h.
Referenced by lexescape().
#define CHR_MAX |
Definition at line 73 of file regcustom.h.
#define CHR_MIN 0x00000000 /* smallest and largest chr; the value */ |
Definition at line 72 of file regcustom.h.
Referenced by colorcomplement(), initcm(), newcolor(), pg_reg_getcharacters(), pseudocolor(), and subcolor().
#define CHRBITS 32 /* bits in a chr; must not use sizeof */ |
Definition at line 71 of file regcustom.h.
Definition at line 70 of file regcustom.h.
Referenced by brenext(), lexdigits(), and next().
Definition at line 61 of file regcustom.h.
Definition at line 59 of file regcustom.h.
#define iscalnum | ( | x | ) | pg_wc_isalnum(x) |
Definition at line 98 of file regcustom.h.
Referenced by brenext(), lexescape(), and next().
#define iscalpha | ( | x | ) | pg_wc_isalpha(x) |
Definition at line 99 of file regcustom.h.
Referenced by lexescape(), and prefixes().
#define iscdigit | ( | x | ) | pg_wc_isdigit(x) |
Definition at line 100 of file regcustom.h.
Referenced by next().
#define iscspace | ( | x | ) | pg_wc_isspace(x) |
Definition at line 101 of file regcustom.h.
Referenced by skip().
#define MALLOC | ( | n | ) | malloc(n) |
Definition at line 60 of file regcustom.h.
Referenced by allocarc(), citerdissect(), clonesuccessorstates(), compact(), creviterdissect(), fixempties(), initcm(), moresubs(), newcolor(), newcvec(), newdfa(), newlacon(), newnfa(), newstate(), pg_regcomp(), pg_regexec(), pg_regprefix(), sortins(), sortouts(), subcoloronechr(), subcoloronerange(), and subre().
#define MAX_SIMPLE_CHR 0x7FF /* suitable value for Unicode */ |
Definition at line 95 of file regcustom.h.
Referenced by cclass_column_index(), colorcomplement(), initcm(), pg_ctype_get_cache(), pg_reg_getcharacters(), pg_reg_getcolor(), subcolor(), subcolorcvec(), subcoloronechr(), and subcoloronerange().
Definition at line 62 of file regcustom.h.
Referenced by moresubs(), newcolor(), newhicolorcols(), newhicolorrow(), and newlacon().
Definition at line 66 of file regcustom.h.
typedef unsigned uchr |
Definition at line 67 of file regcustom.h.