Ruby 1.9.3p327(2012-11-10revision37606)
|
#include "regenc.h"
Go to the source code of this file.
Defines | |
#define | ENC_KOI8_U_TO_LOWER_CASE(c) EncKOI8_U_ToLowerCaseTable[c] |
#define | ENC_IS_KOI8_U_CTYPE(code, ctype) ((EncKOI8_U_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) |
Functions | |
static int | koi8_u_mbc_case_fold (OnigCaseFoldType flag ARG_UNUSED, const UChar **pp, const UChar *end ARG_UNUSED, UChar *lower, OnigEncoding enc ARG_UNUSED) |
static int | koi8_u_is_code_ctype (OnigCodePoint code, unsigned int ctype, OnigEncoding enc ARG_UNUSED) |
static int | koi8_u_apply_all_case_fold (OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void *arg, OnigEncoding enc ARG_UNUSED) |
static int | koi8_u_get_case_fold_codes_by_str (OnigCaseFoldType flag, const OnigUChar *p, const OnigUChar *end, OnigCaseFoldCodeItem items[], OnigEncoding enc ARG_UNUSED) |
OnigEncodingDefine (koi8_u, KOI8_U) | |
Variables | |
static const UChar | EncKOI8_U_ToLowerCaseTable [256] |
static const unsigned short | EncKOI8_U_CtypeTable [256] |
static const OnigPairCaseFoldCodes | CaseFoldMap [] |
#define ENC_IS_KOI8_U_CTYPE | ( | code, | |
ctype | |||
) | ((EncKOI8_U_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) |
Definition at line 33 of file koi8_u.c.
Referenced by koi8_u_is_code_ctype().
#define ENC_KOI8_U_TO_LOWER_CASE | ( | c | ) | EncKOI8_U_ToLowerCaseTable[c] |
Definition at line 32 of file koi8_u.c.
Referenced by koi8_u_mbc_case_fold().
static int koi8_u_apply_all_case_fold | ( | OnigCaseFoldType | flag, |
OnigApplyAllCaseFoldFunc | f, | ||
void * | arg, | ||
OnigEncoding enc | ARG_UNUSED | ||
) | [static] |
Definition at line 185 of file koi8_u.c.
References onigenc_apply_all_case_fold_with_map().
static int koi8_u_get_case_fold_codes_by_str | ( | OnigCaseFoldType | flag, |
const OnigUChar * | p, | ||
const OnigUChar * | end, | ||
OnigCaseFoldCodeItem | items[], | ||
OnigEncoding enc | ARG_UNUSED | ||
) | [static] |
Definition at line 195 of file koi8_u.c.
References onigenc_get_case_fold_codes_by_str_with_map().
static int koi8_u_is_code_ctype | ( | OnigCodePoint | code, |
unsigned int | ctype, | ||
OnigEncoding enc | ARG_UNUSED | ||
) | [static] |
Definition at line 133 of file koi8_u.c.
References ENC_IS_KOI8_U_CTYPE, and FALSE.
static int koi8_u_mbc_case_fold | ( | OnigCaseFoldType flag | ARG_UNUSED, |
const UChar ** | pp, | ||
const UChar *end | ARG_UNUSED, | ||
UChar * | lower, | ||
OnigEncoding enc | ARG_UNUSED | ||
) | [static] |
Definition at line 107 of file koi8_u.c.
References ENC_KOI8_U_TO_LOWER_CASE, and UChar.
OnigEncodingDefine | ( | koi8_u | , |
KOI8_U | |||
) |
const OnigPairCaseFoldCodes CaseFoldMap[] [static] |
const unsigned short EncKOI8_U_CtypeTable[256] [static] |
const UChar EncKOI8_U_ToLowerCaseTable[256] [static] |