PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_locale_c.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PG_ISDIGIT   0x01
 
#define PG_ISALPHA   0x02
 
#define PG_ISALNUM   (PG_ISDIGIT | PG_ISALPHA)
 
#define PG_ISUPPER   0x04
 
#define PG_ISLOWER   0x08
 
#define PG_ISGRAPH   0x10
 
#define PG_ISPRINT   0x20
 
#define PG_ISPUNCT   0x40
 
#define PG_ISSPACE   0x80
 

Variables

static const unsigned char pg_char_properties [128]
 

Macro Definition Documentation

◆ PG_ISALNUM

#define PG_ISALNUM   (PG_ISDIGIT | PG_ISALPHA)

Definition at line 21 of file pg_locale_c.h.

◆ PG_ISALPHA

#define PG_ISALPHA   0x02

Definition at line 20 of file pg_locale_c.h.

◆ PG_ISDIGIT

#define PG_ISDIGIT   0x01

Definition at line 19 of file pg_locale_c.h.

◆ PG_ISGRAPH

#define PG_ISGRAPH   0x10

Definition at line 24 of file pg_locale_c.h.

◆ PG_ISLOWER

#define PG_ISLOWER   0x08

Definition at line 23 of file pg_locale_c.h.

◆ PG_ISPRINT

#define PG_ISPRINT   0x20

Definition at line 25 of file pg_locale_c.h.

◆ PG_ISPUNCT

#define PG_ISPUNCT   0x40

Definition at line 26 of file pg_locale_c.h.

◆ PG_ISSPACE

#define PG_ISSPACE   0x80

Definition at line 27 of file pg_locale_c.h.

◆ PG_ISUPPER

#define PG_ISUPPER   0x04

Definition at line 22 of file pg_locale_c.h.

Variable Documentation

◆ pg_char_properties

const unsigned char pg_char_properties[128]
static

Definition at line 29 of file pg_locale_c.h.

29 {
30 /* NUL */ 0,
31 /* ^A */ 0,
32 /* ^B */ 0,
33 /* ^C */ 0,
34 /* ^D */ 0,
35 /* ^E */ 0,
36 /* ^F */ 0,
37 /* ^G */ 0,
38 /* ^H */ 0,
39 /* ^I */ PG_ISSPACE,
40 /* ^J */ PG_ISSPACE,
41 /* ^K */ PG_ISSPACE,
42 /* ^L */ PG_ISSPACE,
43 /* ^M */ PG_ISSPACE,
44 /* ^N */ 0,
45 /* ^O */ 0,
46 /* ^P */ 0,
47 /* ^Q */ 0,
48 /* ^R */ 0,
49 /* ^S */ 0,
50 /* ^T */ 0,
51 /* ^U */ 0,
52 /* ^V */ 0,
53 /* ^W */ 0,
54 /* ^X */ 0,
55 /* ^Y */ 0,
56 /* ^Z */ 0,
57 /* ^[ */ 0,
58 /* ^\ */ 0,
59 /* ^] */ 0,
60 /* ^^ */ 0,
61 /* ^_ */ 0,
62 /* */ PG_ISPRINT | PG_ISSPACE,
121 /* [ */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
122 /* \ */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
123 /* ] */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
124 /* ^ */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
125 /* _ */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
126 /* ` */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
153 /* { */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
154 /* | */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
155 /* } */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
156 /* ~ */ PG_ISGRAPH | PG_ISPRINT | PG_ISPUNCT,
157 /* DEL */ 0
158};
#define PG_ISLOWER
Definition pg_locale_c.h:23
#define PG_ISPRINT
Definition pg_locale_c.h:25
#define PG_ISALPHA
Definition pg_locale_c.h:20
#define PG_ISGRAPH
Definition pg_locale_c.h:24
#define PG_ISPUNCT
Definition pg_locale_c.h:26
#define PG_ISDIGIT
Definition pg_locale_c.h:19
#define PG_ISUPPER
Definition pg_locale_c.h:22
#define PG_ISSPACE
Definition pg_locale_c.h:27

Referenced by pg_iswalnum(), pg_iswalpha(), pg_iswcased(), pg_iswdigit(), pg_iswgraph(), pg_iswlower(), pg_iswprint(), pg_iswpunct(), pg_iswspace(), pg_iswupper(), pg_iswxdigit(), regc_wc_isalnum(), regc_wc_isalpha(), regc_wc_isdigit(), regc_wc_isgraph(), regc_wc_islower(), regc_wc_isprint(), regc_wc_ispunct(), regc_wc_isspace(), and regc_wc_isupper().