Ruby
1.9.3p551(2014-11-13revision48407)
|
#include "regint.h"
Go to the source code of this file.
Macros | |
#define | SJIS_ISMB_FIRST(byte) (EncLen_SJIS[byte] > 1) |
#define | SJIS_ISMB_TRAIL(byte) SJIS_CAN_BE_TRAIL_TABLE[(byte)] |
#define | A ACCEPT |
#define | F FAILURE |
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_SJIS [] |
static const char | SJIS_CAN_BE_TRAIL_TABLE [256] |
static const signed char | trans [][0x100] |
static int | PropertyInited = 0 |
static const OnigCodePoint ** | PropertyList |
static int | PropertyListNum |
static int | PropertyListSize |
static hash_table_type * | PropertyNameTable |
static const OnigCodePoint | CR_Hiragana [] |
static const OnigCodePoint | CR_Katakana [] |
#define A ACCEPT |
Definition at line 74 of file shift_jis.c.
#define F FAILURE |
Definition at line 75 of file shift_jis.c.
#define SJIS_ISMB_FIRST | ( | byte | ) | (EncLen_SJIS[byte] > 1) |
Definition at line 70 of file shift_jis.c.
Referenced by left_adjust_char_head().
#define SJIS_ISMB_TRAIL | ( | byte | ) | SJIS_CAN_BE_TRAIL_TABLE[(byte)] |
Definition at line 71 of file shift_jis.c.
Referenced by is_allowed_reverse_match(), and left_adjust_char_head().
enum state_t |
Definition at line 73 of file shift_jis.c.
|
static |
|
static |
Definition at line 132 of file shift_jis.c.
References EncLen_SJIS, ONIGERR_INVALID_CODE_POINT_VALUE, and ONIGERR_TOO_BIG_WIDE_CHAR_VALUE.
|
static |
Definition at line 340 of file shift_jis.c.
References ONIG_NO_SUPPORT_CONFIG, ONIGENC_MAX_STD_CTYPE, ONIGERR_TYPE_BUG, PROPERTY_LIST_INIT_CHECK, and PropertyListNum.
Definition at line 282 of file shift_jis.c.
References end, PROPERTY_LIST_ADD_PROP, and r.
|
static |
Definition at line 255 of file shift_jis.c.
|
static |
Definition at line 315 of file shift_jis.c.
References CTYPE_IS_WORD_GRAPH_PRINT, FALSE, onig_is_in_code_range(), ONIGENC_IS_ASCII_CODE_CTYPE, ONIGENC_MAX_STD_CTYPE, ONIGERR_TYPE_BUG, PROPERTY_LIST_INIT_CHECK, PropertyListNum, TRUE, and UChar.
|
static |
Definition at line 232 of file shift_jis.c.
References enclen, len, p, s, SJIS_ISMB_FIRST, SJIS_ISMB_TRAIL, and UChar.
|
static |
Definition at line 182 of file shift_jis.c.
References enclen, i, len, ONIGENC_ASCII_CODE_TO_LOWER_CASE, ONIGENC_IS_MBC_ASCII, p, and UChar.
Definition at line 118 of file shift_jis.c.
References ACCEPT, EncLen_SJIS, ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND, ONIGENC_CONSTRUCT_MBCLEN_INVALID, ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE, s, and trans.
|
static |
OnigEncodingDefine | ( | shift_jis | , |
Shift_JIS | |||
) |
|
static |
Definition at line 295 of file shift_jis.c.
References ALLOCA_N, e, end, onig_st_lookup_strend(), ONIGENC_ASCII_CODE_TO_LOWER_CASE, onigenc_minimum_property_name_to_ctype(), PROPERTY_LIST_INIT_CHECK, s, and UChar.
|
static |
Definition at line 268 of file shift_jis.c.
|
static |
Definition at line 273 of file shift_jis.c.
Definition at line 32 of file shift_jis.c.
Referenced by code_to_mbclen(), and mbc_enc_len().
|
static |
Definition at line 262 of file shift_jis.c.
|
static |
Definition at line 263 of file shift_jis.c.
|
static |
Definition at line 264 of file shift_jis.c.
Referenced by get_ctype_code_range(), and is_code_ctype().
|
static |
Definition at line 265 of file shift_jis.c.
|
static |
Definition at line 266 of file shift_jis.c.
|
static |
Definition at line 51 of file shift_jis.c.
|
static |
Definition at line 76 of file shift_jis.c.
Referenced by mbc_enc_len().