PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (euc_jis_2004_to_shift_jis_2004) | |
PG_FUNCTION_INFO_V1 (shift_jis_2004_to_euc_jis_2004) | |
static int | euc_jis_20042shift_jis_2004 (const unsigned char *euc, unsigned char *p, int len, bool noError) |
static int | shift_jis_20042euc_jis_2004 (const unsigned char *sjis, unsigned char *p, int len, bool noError) |
Datum | euc_jis_2004_to_shift_jis_2004 (PG_FUNCTION_ARGS) |
Datum | shift_jis_2004_to_euc_jis_2004 (PG_FUNCTION_ARGS) |
static int | get_ten (int b, int *ku) |
Variables | |
PG_MODULE_MAGIC | |
|
static |
Definition at line 75 of file euc2004_sjis2004.c.
References IS_HIGHBIT_SET, len, pg_encoding_verifymbchar(), PG_EUC_JIS_2004, report_invalid_encoding(), SS2, SS3, and start.
Referenced by euc_jis_2004_to_shift_jis_2004().
Datum euc_jis_2004_to_shift_jis_2004 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 40 of file euc2004_sjis2004.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, euc_jis_20042shift_jis_2004(), len, PG_EUC_JIS_2004, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, and PG_SHIFT_JIS_2004.
|
static |
Definition at line 222 of file euc2004_sjis2004.c.
References b.
Referenced by shift_jis_20042euc_jis_2004().
PG_FUNCTION_INFO_V1 | ( | euc_jis_2004_to_shift_jis_2004 | ) |
PG_FUNCTION_INFO_V1 | ( | shift_jis_2004_to_euc_jis_2004 | ) |
|
static |
Definition at line 254 of file euc2004_sjis2004.c.
References get_ten(), IS_HIGHBIT_SET, len, pg_encoding_verifymbchar(), PG_SHIFT_JIS_2004, report_invalid_encoding(), SS2, SS3, and start.
Referenced by shift_jis_2004_to_euc_jis_2004().
Datum shift_jis_2004_to_euc_jis_2004 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 56 of file euc2004_sjis2004.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, PG_EUC_JIS_2004, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, PG_SHIFT_JIS_2004, and shift_jis_20042euc_jis_2004().
PG_MODULE_MAGIC |
Definition at line 17 of file euc2004_sjis2004.c.