PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (euc_tw_to_big5) | |
PG_FUNCTION_INFO_V1 (big5_to_euc_tw) | |
PG_FUNCTION_INFO_V1 (euc_tw_to_mic) | |
PG_FUNCTION_INFO_V1 (mic_to_euc_tw) | |
PG_FUNCTION_INFO_V1 (big5_to_mic) | |
PG_FUNCTION_INFO_V1 (mic_to_big5) | |
static int | euc_tw2big5 (const unsigned char *euc, unsigned char *p, int len, bool noError) |
static int | big52euc_tw (const unsigned char *big5, unsigned char *p, int len, bool noError) |
static int | big52mic (const unsigned char *big5, unsigned char *p, int len, bool noError) |
static int | mic2big5 (const unsigned char *mic, unsigned char *p, int len, bool noError) |
static int | euc_tw2mic (const unsigned char *euc, unsigned char *p, int len, bool noError) |
static int | mic2euc_tw (const unsigned char *mic, unsigned char *p, int len, bool noError) |
Datum | euc_tw_to_big5 (PG_FUNCTION_ARGS) |
Datum | big5_to_euc_tw (PG_FUNCTION_ARGS) |
Datum | euc_tw_to_mic (PG_FUNCTION_ARGS) |
Datum | mic_to_euc_tw (PG_FUNCTION_ARGS) |
Datum | big5_to_mic (PG_FUNCTION_ARGS) |
Datum | mic_to_big5 (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
|
static |
Definition at line 227 of file euc_tw_and_big5.c.
References BIG5toCNS(), IS_HIGHBIT_SET, LC_CNS11643_1, LC_CNS11643_2, LC_CNS11643_3, LC_CNS11643_7, len, PG_BIG5, pg_encoding_verifymbchar(), PG_EUC_TW, report_invalid_encoding(), report_untranslatable_char(), SS2, and start.
Referenced by big5_to_euc_tw().
|
static |
Definition at line 446 of file euc_tw_and_big5.c.
References BIG5toCNS(), IS_HIGHBIT_SET, LC_CNS11643_3, LC_CNS11643_4, LCPRV2_B, len, PG_BIG5, pg_encoding_verifymbchar(), PG_MULE_INTERNAL, report_invalid_encoding(), report_untranslatable_char(), and start.
Referenced by big5_to_mic().
Datum big5_to_euc_tw | ( | PG_FUNCTION_ARGS | ) |
Definition at line 65 of file euc_tw_and_big5.c.
References big52euc_tw(), CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, PG_BIG5, PG_EUC_TW, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, and PG_RETURN_INT32.
Datum big5_to_mic | ( | PG_FUNCTION_ARGS | ) |
Definition at line 113 of file euc_tw_and_big5.c.
References big52mic(), CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, PG_BIG5, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
|
static |
Definition at line 149 of file euc_tw_and_big5.c.
References CNStoBIG5(), IS_HIGHBIT_SET, LC_CNS11643_1, LC_CNS11643_2, LC_CNS11643_3, len, PG_BIG5, pg_encoding_verifymbchar(), PG_EUC_TW, report_invalid_encoding(), report_untranslatable_char(), SS2, and start.
Referenced by euc_tw_to_big5().
|
static |
Definition at line 308 of file euc_tw_and_big5.c.
References IS_HIGHBIT_SET, LC_CNS11643_1, LC_CNS11643_2, LC_CNS11643_3, LCPRV2_B, len, pg_encoding_verifymbchar(), PG_EUC_TW, report_invalid_encoding(), SS2, and start.
Referenced by euc_tw_to_mic().
Datum euc_tw_to_big5 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 49 of file euc_tw_and_big5.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, euc_tw2big5(), len, PG_BIG5, PG_EUC_TW, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, and PG_RETURN_INT32.
Datum euc_tw_to_mic | ( | PG_FUNCTION_ARGS | ) |
Definition at line 81 of file euc_tw_and_big5.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, euc_tw2mic(), len, PG_EUC_TW, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
|
static |
Definition at line 511 of file euc_tw_and_big5.c.
References CNStoBIG5(), IS_HIGHBIT_SET, LC_CNS11643_1, LC_CNS11643_2, LCPRV2_B, len, PG_BIG5, pg_encoding_verifymbchar(), PG_MULE_INTERNAL, report_invalid_encoding(), report_untranslatable_char(), and start.
Referenced by mic_to_big5().
|
static |
Definition at line 375 of file euc_tw_and_big5.c.
References IS_HIGHBIT_SET, LC_CNS11643_1, LC_CNS11643_2, LC_CNS11643_3, LC_CNS11643_7, LCPRV2_B, len, pg_encoding_verifymbchar(), PG_EUC_TW, PG_MULE_INTERNAL, report_invalid_encoding(), report_untranslatable_char(), SS2, and start.
Referenced by mic_to_euc_tw().
Datum mic_to_big5 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 129 of file euc_tw_and_big5.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, mic2big5(), PG_BIG5, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
Datum mic_to_euc_tw | ( | PG_FUNCTION_ARGS | ) |
Definition at line 97 of file euc_tw_and_big5.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, mic2euc_tw(), PG_EUC_TW, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
PG_FUNCTION_INFO_V1 | ( | big5_to_euc_tw | ) |
PG_FUNCTION_INFO_V1 | ( | big5_to_mic | ) |
PG_FUNCTION_INFO_V1 | ( | euc_tw_to_big5 | ) |
PG_FUNCTION_INFO_V1 | ( | euc_tw_to_mic | ) |
PG_FUNCTION_INFO_V1 | ( | mic_to_big5 | ) |
PG_FUNCTION_INFO_V1 | ( | mic_to_euc_tw | ) |
PG_MODULE_MAGIC |
Definition at line 18 of file euc_tw_and_big5.c.