|
Ruby
1.9.3p448(2013-06-27revision41675)
|
#include "regenc.h"Go to the source code of this file.
| #define euctw_islead | ( | c | ) | ((UChar )((c) - 0xa1) > 0xfe - 0xa1) |
Definition at line 178 of file euc_tw.c.
Referenced by euctw_left_adjust_char_head().
| #define RETURN | ( | n | ) |
return s == ACCEPT ? ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND(n) : \ ONIGENC_CONSTRUCT_MBCLEN_INVALID()
| enum state_t |
| static int euctw_code_to_mbc | ( | OnigCodePoint | code, |
| UChar * | buf, | ||
| OnigEncoding | enc | ||
| ) | [static] |
Definition at line 159 of file euc_tw.c.
References onigenc_mb4_code_to_mbc().
| static int euctw_is_allowed_reverse_match | ( | const UChar * | s, |
| const UChar *end | ARG_UNUSED, | ||
| OnigEncoding enc | ARG_UNUSED | ||
| ) | [static] |
| static int euctw_is_code_ctype | ( | OnigCodePoint | code, |
| unsigned int | ctype, | ||
| OnigEncoding | enc | ||
| ) | [static] |
Definition at line 173 of file euc_tw.c.
References onigenc_mb4_is_code_ctype().
| static UChar* euctw_left_adjust_char_head | ( | const UChar * | start, |
| const UChar * | s, | ||
| const UChar * | end, | ||
| OnigEncoding | enc | ||
| ) | [static] |
| static int euctw_mbc_case_fold | ( | OnigCaseFoldType | flag, |
| const UChar ** | pp, | ||
| const UChar * | end, | ||
| UChar * | lower, | ||
| OnigEncoding | enc | ||
| ) | [static] |
Definition at line 165 of file euc_tw.c.
References onigenc_mbn_mbc_case_fold().
| static int euctw_mbc_enc_len | ( | const UChar * | p, |
| const UChar * | e, | ||
| OnigEncoding enc | ARG_UNUSED | ||
| ) | [static] |
Definition at line 132 of file euc_tw.c.
References EncLen_EUCTW, ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE, RETURN, and trans.
| static OnigCodePoint euctw_mbc_to_code | ( | const UChar * | p, |
| const UChar * | end, | ||
| OnigEncoding enc | ARG_UNUSED | ||
| ) | [static] |
Definition at line 153 of file euc_tw.c.
References onigenc_mbn_mbc_to_code().
| OnigEncodingDefine | ( | euc_tw | , |
| EUC_TW | |||
| ) |
const int EncLen_EUCTW[] [static] |
{
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1
}
Definition at line 32 of file euc_tw.c.
Referenced by euctw_mbc_enc_len().
Definition at line 54 of file euc_tw.c.
Referenced by euctw_mbc_enc_len().
1.7.6.1