PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (euc_cn_to_mic) | |
PG_FUNCTION_INFO_V1 (mic_to_euc_cn) | |
static int | euc_cn2mic (const unsigned char *euc, unsigned char *p, int len, bool noError) |
static int | mic2euc_cn (const unsigned char *mic, unsigned char *p, int len, bool noError) |
Datum | euc_cn_to_mic (PG_FUNCTION_ARGS) |
Datum | mic_to_euc_cn (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
|
static |
Definition at line 76 of file euc_cn_and_mic.c.
References IS_HIGHBIT_SET, LC_GB2312_80, len, PG_EUC_CN, report_invalid_encoding(), and start.
Referenced by euc_cn_to_mic().
Datum euc_cn_to_mic | ( | PG_FUNCTION_ARGS | ) |
Definition at line 41 of file euc_cn_and_mic.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, euc_cn2mic(), len, PG_EUC_CN, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
|
static |
Definition at line 120 of file euc_cn_and_mic.c.
References IS_HIGHBIT_SET, LC_GB2312_80, len, PG_EUC_CN, PG_MULE_INTERNAL, report_invalid_encoding(), report_untranslatable_char(), and start.
Referenced by mic_to_euc_cn().
Datum mic_to_euc_cn | ( | PG_FUNCTION_ARGS | ) |
Definition at line 57 of file euc_cn_and_mic.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, mic2euc_cn(), PG_EUC_CN, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
PG_FUNCTION_INFO_V1 | ( | euc_cn_to_mic | ) |
PG_FUNCTION_INFO_V1 | ( | mic_to_euc_cn | ) |
PG_MODULE_MAGIC |
Definition at line 18 of file euc_cn_and_mic.c.