#include "regenc.h"Go to the source code of this file.
Defines | |
| #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) |
| #define numberof | ( | array | ) | (int)(sizeof(array) / sizeof((array)[0])) |
Definition at line 32 of file iso_8859_1.c.
Referenced by absint_numwords_generic(), apply_all_case_fold(), big_shift2(), compile_massign_opt(), constat_parse(), dupfd(), etc_systmpdir(), features_index_add_single(), get_case_fold_codes_by_str(), init_case_fold_table(), init_env(), Init_ossl_ssl(), Init_RandomSeed(), inject_op_i(), int_pair_to_real_inclusive(), mark_current_machine_context(), math_gamma(), mt_state(), new_size(), numeric_getaddrinfo(), onigenc_unicode_apply_all_case_fold(), ossl_pkcs7_sym2typeid(), ossl_sslctx_initialize(), ossl_sslctx_set_ssl_version(), poll_child_status(), rand_init(), random_copy(), random_load(), rb_absint_singlebit_p(), rb_absint_size(), rb_ary_sample(), rb_big_bit_length(), rb_binding_add_dynavars(), rb_builtin_type_name(), rb_exec_fillarg(), rb_f_select(), rb_feature_p(), rb_gc_mark_symbols(), rb_insns_name_array(), rb_integer_pack(), rb_integer_unpack(), rb_iseq_defined_string(), rb_str_upto(), rb_struct_new(), rb_w32_system_tmpdir(), ruby_cleanup(), select_end(), and usage().
| static int apply_all_case_fold | ( | OnigCaseFoldType | flag, | |
| OnigApplyAllCaseFoldFunc | f, | |||
| void * | arg, | |||
| OnigEncoding enc | ARG_UNUSED | |||
| ) | [static] |
Definition at line 107 of file iso_8859_1.c.
References CaseFoldMap, numberof, and onigenc_apply_all_case_fold_with_map().
| static int get_case_fold_codes_by_str | ( | OnigCaseFoldType | flag, | |
| const OnigUChar * | p, | |||
| const OnigUChar * | end, | |||
| OnigCaseFoldCodeItem | items[], | |||
| OnigEncoding enc | ARG_UNUSED | |||
| ) | [static] |
Definition at line 117 of file iso_8859_1.c.
References OnigCaseFoldCodeItem::byte_len, OnigCaseFoldCodeItem::code, and OnigCaseFoldCodeItem::code_len.
| static int is_code_ctype | ( | OnigCodePoint | code, | |
| unsigned int | ctype, | |||
| OnigEncoding enc | ARG_UNUSED | |||
| ) | [static] |
| static int mbc_case_fold | ( | OnigCaseFoldType | flag, | |
| const UChar ** | pp, | |||
| const UChar *end | ARG_UNUSED, | |||
| UChar * | lower, | |||
| OnigEncoding enc | ARG_UNUSED | |||
| ) | [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, and UChar.
| OnigEncodingDefine | ( | iso_8859_1 | , | |
| ISO_8859_1 | ||||
| ) |
const OnigPairCaseFoldCodes CaseFoldMap[] [static] |
Definition at line 72 of file iso_8859_1.c.
const unsigned short EncISO_8859_1_CtypeTable[256] [static] |
Definition at line 37 of file iso_8859_1.c.
1.4.7