|
Ruby
1.9.3p551(2014-11-13revision48407)
|
#include "regenc.h"Go to the source code of this file.
Macros | |
| #define | numberof(array) (int)(sizeof(array) / sizeof((array)[0])) |
| #define | ENC_IS_ISO_8859_1_CTYPE(code, ctype) ((EncISO_8859_1_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) |
Functions | |
| static int | apply_all_case_fold (OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void *arg, OnigEncoding enc ARG_UNUSED) |
| static int | get_case_fold_codes_by_str (OnigCaseFoldType flag, const OnigUChar *p, const OnigUChar *end, OnigCaseFoldCodeItem items[], OnigEncoding enc ARG_UNUSED) |
| static int | mbc_case_fold (OnigCaseFoldType flag, const UChar **pp, const UChar *end ARG_UNUSED, UChar *lower, OnigEncoding enc ARG_UNUSED) |
| static int | is_code_ctype (OnigCodePoint code, unsigned int ctype, OnigEncoding enc ARG_UNUSED) |
| OnigEncodingDefine (iso_8859_1, ISO_8859_1) | |
Variables | |
| static const unsigned short | EncISO_8859_1_CtypeTable [256] |
| static const OnigPairCaseFoldCodes | CaseFoldMap [] |
| #define ENC_IS_ISO_8859_1_CTYPE | ( | code, | |
| ctype | |||
| ) | ((EncISO_8859_1_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) |
Definition at line 34 of file iso_8859_1.c.
Referenced by is_code_ctype().
Definition at line 32 of file iso_8859_1.c.
Referenced by apply_all_case_fold().
|
static |
Definition at line 107 of file iso_8859_1.c.
References CaseFoldMap, numberof, and onigenc_apply_all_case_fold_with_map().
|
static |
Definition at line 117 of file iso_8859_1.c.
References OnigCaseFoldCodeItem::byte_len, OnigCaseFoldCodeItem::code, OnigCaseFoldCodeItem::code_len, and p.
|
static |
Definition at line 251 of file iso_8859_1.c.
References ENC_IS_ISO_8859_1_CTYPE, and FALSE.
|
static |
Definition at line 206 of file iso_8859_1.c.
References INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR, ONIGENC_ISO_8859_1_TO_LOWER_CASE, p, and UChar.
| OnigEncodingDefine | ( | iso_8859_1 | , |
| ISO_8859_1 | |||
| ) |
|
static |
Definition at line 72 of file iso_8859_1.c.
Referenced by apply_all_case_fold().
|
static |
Definition at line 37 of file iso_8859_1.c.
1.8.14