PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
unicode_norm_table.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pg_unicode_decomposition
 

Macros

#define DECOMP_NO_COMPOSE   0x80 /* don't use for re-composition */
 
#define DECOMP_INLINE
 
#define DECOMP_COMPAT   0x20 /* compatibility mapping */
 
#define DECOMPOSITION_SIZE(x)   ((x)->dec_size_flags & 0x1F)
 
#define DECOMPOSITION_NO_COMPOSE(x)   (((x)->dec_size_flags & (DECOMP_NO_COMPOSE | DECOMP_COMPAT)) != 0)
 
#define DECOMPOSITION_IS_INLINE(x)   (((x)->dec_size_flags & DECOMP_INLINE) != 0)
 
#define DECOMPOSITION_IS_COMPAT(x)   (((x)->dec_size_flags & DECOMP_COMPAT) != 0)
 

Variables

static const pg_unicode_decomposition UnicodeDecompMain [6775]
 
static const uint32 UnicodeDecomp_codepoints [5098]
 

Macro Definition Documentation

◆ DECOMP_COMPAT

#define DECOMP_COMPAT   0x20 /* compatibility mapping */

Definition at line 30 of file unicode_norm_table.h.

◆ DECOMP_INLINE

#define DECOMP_INLINE
Value:
0x40 /* decomposition is stored inline in
* dec_index */

Definition at line 29 of file unicode_norm_table.h.

◆ DECOMP_NO_COMPOSE

#define DECOMP_NO_COMPOSE   0x80 /* don't use for re-composition */

Definition at line 28 of file unicode_norm_table.h.

◆ DECOMPOSITION_IS_COMPAT

#define DECOMPOSITION_IS_COMPAT (   x)    (((x)->dec_size_flags & DECOMP_COMPAT) != 0)

Definition at line 35 of file unicode_norm_table.h.

◆ DECOMPOSITION_IS_INLINE

#define DECOMPOSITION_IS_INLINE (   x)    (((x)->dec_size_flags & DECOMP_INLINE) != 0)

Definition at line 34 of file unicode_norm_table.h.

◆ DECOMPOSITION_NO_COMPOSE

#define DECOMPOSITION_NO_COMPOSE (   x)    (((x)->dec_size_flags & (DECOMP_NO_COMPOSE | DECOMP_COMPAT)) != 0)

Definition at line 33 of file unicode_norm_table.h.

◆ DECOMPOSITION_SIZE

#define DECOMPOSITION_SIZE (   x)    ((x)->dec_size_flags & 0x1F)

Definition at line 32 of file unicode_norm_table.h.

Variable Documentation

◆ UnicodeDecomp_codepoints

const uint32 UnicodeDecomp_codepoints[5098]
static

Definition at line 6819 of file unicode_norm_table.h.

Referenced by get_code_decomposition(), and recompose_code().

◆ UnicodeDecompMain

const pg_unicode_decomposition UnicodeDecompMain[6775]
static

Definition at line 38 of file unicode_norm_table.h.

Referenced by get_code_entry(), and recompose_code().