|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | PGSJISALTCODE 0x81ac |
| #define | PGEUCALTCODE 0xa2ae |
| #define PGEUCALTCODE 0xa2ae |
Definition at line 23 of file euc_jp_and_sjis.c.
| #define PGSJISALTCODE 0x81ac |
Definition at line 22 of file euc_jp_and_sjis.c.
|
static |
Definition at line 409 of file euc_jp_and_sjis.c.
References fb(), IS_HIGHBIT_SET, LC_JISX0201K, LC_JISX0208, LC_JISX0212, len, pg_encoding_verifymbchar(), PG_EUC_JP, report_invalid_encoding(), SS2, SS3, and start.
Referenced by euc_jp_to_mic().
|
static |
Definition at line 537 of file euc_jp_and_sjis.c.
References fb(), i, IS_HIGHBIT_SET, len, pg_encoding_verifymbchar(), PG_EUC_JP, PGSJISALTCODE, report_invalid_encoding(), SS2, SS3, and start.
Referenced by euc_jp_to_sjis().
| Datum euc_jp_to_mic | ( | PG_FUNCTION_ARGS | ) |
Definition at line 96 of file euc_jp_and_sjis.c.
References CHECK_ENCODING_CONVERSION_ARGS, euc_jp2mic(), fb(), len, PG_EUC_JP, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
| Datum euc_jp_to_sjis | ( | PG_FUNCTION_ARGS | ) |
Definition at line 64 of file euc_jp_and_sjis.c.
References CHECK_ENCODING_CONVERSION_ARGS, euc_jp2sjis(), fb(), len, PG_EUC_JP, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, and PG_SJIS.
|
static |
Definition at line 470 of file euc_jp_and_sjis.c.
References fb(), IS_HIGHBIT_SET, LC_JISX0201K, LC_JISX0208, LC_JISX0212, len, pg_encoding_verifymbchar(), PG_EUC_JP, PG_MULE_INTERNAL, report_invalid_encoding(), report_untranslatable_char(), SS2, SS3, and start.
Referenced by mic_to_euc_jp().
Definition at line 302 of file euc_jp_and_sjis.c.
References fb(), i, IS_HIGHBIT_SET, LC_JISX0201K, LC_JISX0208, LC_JISX0212, len, pg_encoding_verifymbchar(), PG_MULE_INTERNAL, PG_SJIS, PGSJISALTCODE, report_invalid_encoding(), report_untranslatable_char(), and start.
Referenced by mic_to_sjis().
| Datum mic_to_euc_jp | ( | PG_FUNCTION_ARGS | ) |
Definition at line 112 of file euc_jp_and_sjis.c.
References CHECK_ENCODING_CONVERSION_ARGS, fb(), len, mic2euc_jp(), PG_EUC_JP, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, and PG_RETURN_INT32.
| Datum mic_to_sjis | ( | PG_FUNCTION_ARGS | ) |
Definition at line 144 of file euc_jp_and_sjis.c.
References CHECK_ENCODING_CONVERSION_ARGS, fb(), len, mic2sjis(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, PG_RETURN_INT32, and PG_SJIS.
| PG_FUNCTION_INFO_V1 | ( | euc_jp_to_mic | ) |
| PG_FUNCTION_INFO_V1 | ( | euc_jp_to_sjis | ) |
| PG_FUNCTION_INFO_V1 | ( | mic_to_euc_jp | ) |
| PG_FUNCTION_INFO_V1 | ( | mic_to_sjis | ) |
| PG_FUNCTION_INFO_V1 | ( | sjis_to_euc_jp | ) |
| PG_FUNCTION_INFO_V1 | ( | sjis_to_mic | ) |
| PG_MODULE_MAGIC_EXT | ( | . | name = "euc_jp_and_sjis", |
| . | version = PG_VERSION |
||
| ) |
|
static |
Definition at line 641 of file euc_jp_and_sjis.c.
References fb(), i, IS_HIGHBIT_SET, len, pg_encoding_verifymbchar(), PG_SJIS, PGEUCALTCODE, report_invalid_encoding(), SS2, SS3, and start.
Referenced by sjis_to_euc_jp().
Definition at line 163 of file euc_jp_and_sjis.c.
References fb(), i, IS_HIGHBIT_SET, ISSJISHEAD, ISSJISTAIL, LC_JISX0201K, LC_JISX0208, LC_JISX0212, len, PG_SJIS, PGEUCALTCODE, report_invalid_encoding(), and start.
Referenced by sjis_to_mic().
| Datum sjis_to_euc_jp | ( | PG_FUNCTION_ARGS | ) |
Definition at line 80 of file euc_jp_and_sjis.c.
References CHECK_ENCODING_CONVERSION_ARGS, fb(), len, PG_EUC_JP, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, PG_SJIS, and sjis2euc_jp().
| Datum sjis_to_mic | ( | PG_FUNCTION_ARGS | ) |
Definition at line 128 of file euc_jp_and_sjis.c.
References CHECK_ENCODING_CONVERSION_ARGS, fb(), len, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, PG_RETURN_INT32, PG_SJIS, and sjis2mic().