PostgreSQL Source Code git master
|
Go to the source code of this file.
Data Structures | |
struct | codes_t |
Functions | |
static unsigned short | BinarySearchRange (const codes_t *array, int high, unsigned short code) |
unsigned short | BIG5toCNS (unsigned short big5, unsigned char *lc) |
unsigned short | CNStoBIG5 (unsigned short cns, unsigned char lc) |
Variables | |
static const codes_t | big5Level1ToCnsPlane1 [25] |
static const codes_t | cnsPlane1ToBig5Level1 [26] |
static const codes_t | big5Level2ToCnsPlane2 [48] |
static const codes_t | cnsPlane2ToBig5Level2 [49] |
static const unsigned short | b1c4 [][2] |
static const unsigned short | b2c3 [][2] |
unsigned short BIG5toCNS | ( | unsigned short | big5, |
unsigned char * | lc | ||
) |
Definition at line 292 of file big5.c.
References b1c4, b2c3, big5Level1ToCnsPlane1, big5Level2ToCnsPlane2, BinarySearchRange(), i, LC_CNS11643_1, LC_CNS11643_2, LC_CNS11643_3, and LC_CNS11643_4.
Referenced by big52euc_tw(), and big52mic().
|
static |
Definition at line 207 of file big5.c.
References codes_t::code, and codes_t::peer.
Referenced by BIG5toCNS(), and CNStoBIG5().
unsigned short CNStoBIG5 | ( | unsigned short | cns, |
unsigned char | lc | ||
) |
Definition at line 345 of file big5.c.
References b1c4, b2c3, BinarySearchRange(), cnsPlane1ToBig5Level1, cnsPlane2ToBig5Level2, i, LC_CNS11643_1, LC_CNS11643_2, LC_CNS11643_3, and LC_CNS11643_4.
Referenced by euc_tw2big5(), and mic2big5().
|
static |
Definition at line 189 of file big5.c.
Referenced by BIG5toCNS(), and CNStoBIG5().
|
static |
Definition at line 197 of file big5.c.
Referenced by BIG5toCNS(), and CNStoBIG5().
|
static |
Definition at line 25 of file big5.c.
Referenced by BIG5toCNS().
|
static |
Definition at line 84 of file big5.c.
Referenced by BIG5toCNS().
|
static |
Definition at line 54 of file big5.c.
Referenced by CNStoBIG5().
|
static |
Definition at line 136 of file big5.c.
Referenced by CNStoBIG5().