Ruby
1.9.3p484(2013-11-22revision43786)
|
#include "regenc.h"
Go to the source code of this file.
Macros | |
#define | A ACCEPT |
#define | F FAILURE |
#define | RETURN(n) |
#define | BIG5_HKSCS_P(enc) ((enc)->precise_mbc_enc_len == big5_hkscs_mbc_enc_len) |
#define | BIG5_UAO_P(enc) ((enc)->precise_mbc_enc_len == big5_uao_mbc_enc_len) |
#define | BIG5_ISMB_FIRST(byte) |
#define | BIG5_ISMB_TRAIL(byte) BIG5_CAN_BE_TRAIL_TABLE[(byte)] |
Enumerations | |
enum | state_t { FAILURE = -2, ACCEPT = -1, S0 = 0, S1, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, S2, S3, S4, S5, S6, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, S2, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, S2, S3, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, S2, S3, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, FAILURE = -2, ACCEPT = -1, S0 = 0, S1, FAILURE = -2, ACCEPT, S0, S1, S2, S3, S4, S5, S6, S7 } |
Variables | |
static const int | EncLen_BIG5 [] |
static const int | EncLen_BIG5_HKSCS [] |
static const int | EncLen_BIG5_UAO [] |
static const signed char | trans [][0x100] |
static const char | BIG5_CAN_BE_TRAIL_TABLE [256] |
#define BIG5_HKSCS_P | ( | enc | ) | ((enc)->precise_mbc_enc_len == big5_hkscs_mbc_enc_len) |
#define BIG5_ISMB_FIRST | ( | byte | ) |
Definition at line 242 of file big5.c.
Referenced by big5_left_adjust_char_head().
#define BIG5_ISMB_TRAIL | ( | byte | ) | BIG5_CAN_BE_TRAIL_TABLE[(byte)] |
Definition at line 246 of file big5.c.
Referenced by big5_is_allowed_reverse_match(), and big5_left_adjust_char_head().
#define BIG5_UAO_P | ( | enc | ) | ((enc)->precise_mbc_enc_len == big5_uao_mbc_enc_len) |
#define RETURN | ( | n | ) |
enum state_t |
|
static |
Definition at line 192 of file big5.c.
References onigenc_mb2_code_to_mbc().
|
static |
Definition at line 174 of file big5.c.
References big5_mbc_enc_len0(), and EncLen_BIG5_HKSCS.
|
static |
|
static |
Definition at line 215 of file big5.c.
References onigenc_mb2_is_code_ctype().
|
static |
Definition at line 249 of file big5.c.
References BIG5_ISMB_FIRST, BIG5_ISMB_TRAIL, enclen, len, p, and UChar.
|
static |
Definition at line 198 of file big5.c.
References onigenc_mbn_mbc_case_fold().
|
static |
Definition at line 168 of file big5.c.
References big5_mbc_enc_len0(), and EncLen_BIG5.
|
static |
Definition at line 153 of file big5.c.
References ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE, RETURN, and trans.
Referenced by big5_hkscs_mbc_enc_len(), big5_mbc_enc_len(), and big5_uao_mbc_enc_len().
|
static |
Definition at line 186 of file big5.c.
References onigenc_mbn_mbc_to_code().
|
static |
Definition at line 180 of file big5.c.
References big5_mbc_enc_len0(), and EncLen_BIG5_UAO.
OnigEncodingDefine | ( | big5 | , |
BIG5 | |||
) |
OnigEncodingDefine | ( | big5_hkscs | , |
BIG5_HKSCS | |||
) |
OnigEncodingDefine | ( | big5_uao | , |
BIG5_UAO | |||
) |
|
static |
|
static |
Definition at line 32 of file big5.c.
Referenced by big5_mbc_enc_len().
|
static |
Definition at line 50 of file big5.c.
Referenced by big5_hkscs_mbc_enc_len().
|
static |
Definition at line 70 of file big5.c.
Referenced by big5_uao_mbc_enc_len().
|
static |
Definition at line 93 of file big5.c.
Referenced by big5_mbc_enc_len0(), encodes(), and tr_trans().