Debian Codegraph @

vendor/onigmo-source/regenc.h

raw symbols SCIP
1 #cxx . . $ `<file>/vendor/onigmo-source/regenc.h`/ifndef ONIGMO_REGENC_H
2 #define ONIGMO_REGENC_Hcxx . . $ `vendor/onigmo-source/regenc.h:2:9`!
3 /**********************************************************************
4 regenc.h - Onigmo (Oniguruma-mod) (regular expression library)
5 **********************************************************************/
6 /*-
7 * Copyright (c) 2002-2008 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
8 * Copyright (c) 2011-2016 K.Takata <kentkt AT csc DOT jp>
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in the
18 * documentation and/or other materials provided with the distribution.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33 #if !defined(RUBY) && (defined(RUBY_EXPORT) || defined(ONIG_ENC_REGISTER))
34 # define RUBY
35 #endif
36 #ifdef RUBY
37 # ifndef ONIGMO_REGINT_H
38 # ifndef RUBY_EXTERN
39 # include "ruby/config.h"
40 # include "ruby/defines.h"
41 # endif
42 # endif
43 #else /* RUBY */
44 # ifndef PACKAGE
45 /* PACKAGE is defined in config.h */
46 # include "config.h"cxx . . $ `<file>/build/vendor/onigmo-source/config.h`/
47 # endif
48 #endif /* RUBY */
49
50 #ifdef ONIG_ESCAPE_UCHAR_COLLISION
51 # undef ONIG_ESCAPE_UCHAR_COLLISION
52 #endif
53
54 #ifdef RUBY
55 # include "ruby/onigmo.h"
56 #else
57 # include "onigmo.h"cxx . . $ `<file>/vendor/onigmo-source/onigmo.h`/
58 #endif
59
60 RUBY_SYMBOL_EXPORT_BEGINcxx . . $ `vendor/onigmo-source/onigmo.h:64:11`!
61
62 typedef structcxx . . $ $anonymous_type_6bfc92d54f7eb8fa_0# {
63 OnigCodePointcxx . . $ OnigCodePoint# fromcxx . . $ $anonymous_type_6bfc92d54f7eb8fa_0#from.;
64 OnigCodePointcxx . . $ OnigCodePoint# tocxx . . $ $anonymous_type_6bfc92d54f7eb8fa_0#to.;
65 } OnigPairCaseFoldCodescxx . . $ OnigPairCaseFoldCodes#;
66
67
68 #ifndef NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!
69 # define NULL ((void* )0)
70 #endif
71
72 #ifndef TRUE
73 # define TRUEcxx . . $ `vendor/onigmo-source/regenc.h:73:10`! 1
74 #endif
75
76 #ifndef FALSE
77 # define FALSEcxx . . $ `vendor/onigmo-source/regenc.h:77:10`! 0
78 #endif
79
80 #ifndef ARG_UNUSEDcxx . . $ `vendor/onigmo-source/regint.h:100:10`!
81 # if defined(__GNUC__)
82 # define ARG_UNUSED __attribute__ ((unused))
83 # else
84 # define ARG_UNUSED
85 # endif
86 #endif
87
88 #define ONIG_IS_NULLcxx . . $ `vendor/onigmo-source/regenc.h:88:9`!(p) (((void*)(p)) == (void*)0)
89 #define ONIG_IS_NOT_NULLcxx . . $ `vendor/onigmo-source/regenc.h:89:9`!(p) (((void*)(p)) != (void*)0)
90 #define ONIG_CHECK_NULL_RETURNcxx . . $ `vendor/onigmo-source/regenc.h:90:9`!(p) if (ONIG_IS_NULL(p)) return NULL
91 #define ONIG_CHECK_NULL_RETURN_VALcxx . . $ `vendor/onigmo-source/regenc.h:91:9`!(p,val) if (ONIG_IS_NULL(p)) return (val)
92
93 #define enclencxx . . $ `vendor/onigmo-source/regenc.h:93:9`!(enc,p,e) ((enc->max_enc_len == enc->min_enc_len) ? enc->min_enc_len : ONIGENC_MBC_ENC_LENcxx . . $ `vendor/onigmo-source/onigmo.h:361:9`!(enc,p,e))
94
95 /* character types bit flag */
96 #define BIT_CTYPE_NEWLINEcxx . . $ `vendor/onigmo-source/regenc.h:96:9`! (1<< ONIGENC_CTYPE_NEWLINE)
97 #define BIT_CTYPE_ALPHAcxx . . $ `vendor/onigmo-source/regenc.h:97:9`! (1<< ONIGENC_CTYPE_ALPHA)
98 #define BIT_CTYPE_BLANKcxx . . $ `vendor/onigmo-source/regenc.h:98:9`! (1<< ONIGENC_CTYPE_BLANK)
99 #define BIT_CTYPE_CNTRLcxx . . $ `vendor/onigmo-source/regenc.h:99:9`! (1<< ONIGENC_CTYPE_CNTRL)
100 #define BIT_CTYPE_DIGITcxx . . $ `vendor/onigmo-source/regenc.h:100:9`! (1<< ONIGENC_CTYPE_DIGIT)
101 #define BIT_CTYPE_GRAPHcxx . . $ `vendor/onigmo-source/regenc.h:101:9`! (1<< ONIGENC_CTYPE_GRAPH)
102 #define BIT_CTYPE_LOWERcxx . . $ `vendor/onigmo-source/regenc.h:102:9`! (1<< ONIGENC_CTYPE_LOWER)
103 #define BIT_CTYPE_PRINTcxx . . $ `vendor/onigmo-source/regenc.h:103:9`! (1<< ONIGENC_CTYPE_PRINT)
104 #define BIT_CTYPE_PUNCTcxx . . $ `vendor/onigmo-source/regenc.h:104:9`! (1<< ONIGENC_CTYPE_PUNCT)
105 #define BIT_CTYPE_SPACEcxx . . $ `vendor/onigmo-source/regenc.h:105:9`! (1<< ONIGENC_CTYPE_SPACE)
106 #define BIT_CTYPE_UPPERcxx . . $ `vendor/onigmo-source/regenc.h:106:9`! (1<< ONIGENC_CTYPE_UPPER)
107 #define BIT_CTYPE_XDIGITcxx . . $ `vendor/onigmo-source/regenc.h:107:9`! (1<< ONIGENC_CTYPE_XDIGIT)
108 #define BIT_CTYPE_WORDcxx . . $ `vendor/onigmo-source/regenc.h:108:9`! (1<< ONIGENC_CTYPE_WORD)
109 #define BIT_CTYPE_ALNUMcxx . . $ `vendor/onigmo-source/regenc.h:109:9`! (1<< ONIGENC_CTYPE_ALNUM)
110 #define BIT_CTYPE_ASCIIcxx . . $ `vendor/onigmo-source/regenc.h:110:9`! (1<< ONIGENC_CTYPE_ASCII)
111
112 #define CTYPE_TO_BITcxx . . $ `vendor/onigmo-source/regenc.h:112:9`!(ctype) (1<<(ctype))
113 #define CTYPE_IS_WORD_GRAPH_PRINTcxx . . $ `vendor/onigmo-source/regenc.h:113:9`!(ctype) \
114 ((ctype) == ONIGENC_CTYPE_WORD || (ctype) == ONIGENC_CTYPE_GRAPH ||\
115 (ctype) == ONIGENC_CTYPE_PRINT)
116
117
118 typedef structcxx . . $ $anonymous_type_6bfc92d54f7eb8fa_1# {
119 short int lencxx . . $ $anonymous_type_6bfc92d54f7eb8fa_1#len.;
120 const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! namecxx . . $ $anonymous_type_6bfc92d54f7eb8fa_1#name.[6];
121 int ctypecxx . . $ $anonymous_type_6bfc92d54f7eb8fa_1#ctype.;
122 } PosixBracketEntryTypecxx . . $ PosixBracketEntryType#;
123
124 #define POSIX_BRACKET_ENTRY_INITcxx . . $ `vendor/onigmo-source/regenc.h:124:9`!(name, ctype) \
125 {(short int )(sizeof(name) - 1), (name), (ctype)}
126
127 #ifndef numberof
128 # define numberofcxx . . $ `vendor/onigmo-source/regenc.h:128:10`!(array) (int )(sizeof(array) / sizeof((array)[0]))
129 #endif
130
131
132 #define USE_CRNL_AS_LINE_TERMINATORcxx . . $ `vendor/onigmo-source/regenc.h:132:9`!
133 #define USE_UNICODE_PROPERTIEScxx . . $ `vendor/onigmo-source/regenc.h:133:9`!
134 #define USE_UNICODE_AGE_PROPERTIEScxx . . $ `vendor/onigmo-source/regenc.h:134:9`!
135 /* #define USE_UNICODE_CASE_FOLD_TURKISH_AZERI */
136 /* #define USE_UNICODE_ALL_LINE_TERMINATORS */ /* see Unicode.org UTS #18 */
137
138
139 #define ONIG_ENCODING_INIT_DEFAULTcxx . . $ `vendor/onigmo-source/regenc.h:139:9`! ONIG_ENCODING_ASCII
140
141 /* for encoding system implementation (internal) */
142 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_ascii_apply_all_case_foldcxx . . $ onigenc_ascii_apply_all_case_fold(52943f35c546f971).(OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, OnigApplyAllCaseFoldFunccxx . . $ OnigApplyAllCaseFoldFunc# f, void* arg, OnigEncodingcxx . . $ OnigEncoding# enc);
143 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_ascii_get_case_fold_codes_by_strcxx . . $ onigenc_ascii_get_case_fold_codes_by_str(915325dbff6e96ee).(OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, const OnigUCharcxx . . $ OnigUChar#* p, const OnigUCharcxx . . $ OnigUChar#* end, OnigCaseFoldCodeItemcxx . . $ OnigCaseFoldCodeItem# items[], OnigEncodingcxx . . $ OnigEncoding# enc);
144 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_apply_all_case_fold_with_mapcxx . . $ onigenc_apply_all_case_fold_with_map(32419d965c6747dc).(int map_size, const OnigPairCaseFoldCodescxx . . $ OnigPairCaseFoldCodes# map[], int ess_tsett_flag, OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, OnigApplyAllCaseFoldFunccxx . . $ OnigApplyAllCaseFoldFunc# f, void* arg);
145 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_get_case_fold_codes_by_str_with_mapcxx . . $ onigenc_get_case_fold_codes_by_str_with_map(e3dd3a97eb2ffc4f).(int map_size, const OnigPairCaseFoldCodescxx . . $ OnigPairCaseFoldCodes# map[], int ess_tsett_flag, OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, const OnigUCharcxx . . $ OnigUChar#* p, const OnigUCharcxx . . $ OnigUChar#* end, OnigCaseFoldCodeItemcxx . . $ OnigCaseFoldCodeItem# items[]);
146 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_not_support_get_ctype_code_rangecxx . . $ onigenc_not_support_get_ctype_code_range(f3da0df4ba860021).(OnigCtypecxx . . $ OnigCtype# ctype, OnigCodePointcxx . . $ OnigCodePoint#* sb_out, const OnigCodePointcxx . . $ OnigCodePoint#* ranges[], OnigEncodingcxx . . $ OnigEncoding# enc);
147 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_is_mbc_newline_0x0acxx . . $ onigenc_is_mbc_newline_0x0a(d6816dd497b890ca).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, OnigEncodingcxx . . $ OnigEncoding# enc);
148 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_single_byte_ascii_only_case_mapcxx . . $ onigenc_single_byte_ascii_only_case_map(963ee2b6f1418456).(OnigCaseFoldTypecxx . . $ OnigCaseFoldType#* flagP, const OnigUCharcxx . . $ OnigUChar#** pp, const OnigUCharcxx . . $ OnigUChar#* end, OnigUCharcxx . . $ OnigUChar#* to, OnigUCharcxx . . $ OnigUChar#* to_end, const struct OnigEncodingTypeSTcxx . . $ OnigEncodingTypeST#* enc);
149
150
151 /* methods for single byte encoding */
152 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_ascii_mbc_case_foldcxx . . $ onigenc_ascii_mbc_case_fold(c1ec0ee5809b8ef8).(OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!** p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* lower, OnigEncodingcxx . . $ OnigEncoding# enc);
153 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_single_byte_mbc_enc_lencxx . . $ onigenc_single_byte_mbc_enc_len(d6816dd497b890ca).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* e, OnigEncodingcxx . . $ OnigEncoding# enc);
154 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! OnigCodePointcxx . . $ OnigCodePoint# onigenc_single_byte_mbc_to_codecxx . . $ onigenc_single_byte_mbc_to_code(542d90b8bf35e660).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, OnigEncodingcxx . . $ OnigEncoding# enc);
155 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_single_byte_code_to_mbclencxx . . $ onigenc_single_byte_code_to_mbclen(ed1ebf883eff915d).(OnigCodePointcxx . . $ OnigCodePoint# code, OnigEncodingcxx . . $ OnigEncoding# enc);
156 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_single_byte_code_to_mbccxx . . $ onigenc_single_byte_code_to_mbc(cc36a00e84837546).(OnigCodePointcxx . . $ OnigCodePoint# code, UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! *buf, OnigEncodingcxx . . $ OnigEncoding# enc);
157 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* onigenc_single_byte_left_adjust_char_headcxx . . $ onigenc_single_byte_left_adjust_char_head(e837d4bf7cdd11f9).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* start, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* s, const OnigUCharcxx . . $ OnigUChar#* end, OnigEncodingcxx . . $ OnigEncoding# enc);
158 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_always_true_is_allowed_reverse_matchcxx . . $ onigenc_always_true_is_allowed_reverse_match(d6816dd497b890ca).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* s, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, OnigEncodingcxx . . $ OnigEncoding# enc);
159 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_always_false_is_allowed_reverse_matchcxx . . $ onigenc_always_false_is_allowed_reverse_match(d6816dd497b890ca).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* s, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, OnigEncodingcxx . . $ OnigEncoding# enc);
160 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_ascii_is_code_ctypecxx . . $ onigenc_ascii_is_code_ctype(7f36058cb237933f).(OnigCodePointcxx . . $ OnigCodePoint# code, unsigned int ctype, OnigEncodingcxx . . $ OnigEncoding# enc);
161
162 /* methods for multi byte encoding */
163 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! OnigCodePointcxx . . $ OnigCodePoint# onigenc_mbn_mbc_to_codecxx . . $ onigenc_mbn_mbc_to_code(dfe5f68fa2f9fa88).(OnigEncodingcxx . . $ OnigEncoding# enc, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end);
164 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mbn_mbc_case_foldcxx . . $ onigenc_mbn_mbc_case_fold(971301441d819429).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!** p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* lower);
165 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mb2_code_to_mbclencxx . . $ onigenc_mb2_code_to_mbclen(ed1ebf883eff915d).(OnigCodePointcxx . . $ OnigCodePoint# code, OnigEncodingcxx . . $ OnigEncoding# enc);
166 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mb2_code_to_mbccxx . . $ onigenc_mb2_code_to_mbc(4d6cf9f9f4096f77).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCodePointcxx . . $ OnigCodePoint# code, UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! *buf);
167 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_minimum_property_name_to_ctypecxx . . $ onigenc_minimum_property_name_to_ctype(fb2245aa60ebfd32).(OnigEncodingcxx . . $ OnigEncoding# enc, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end);
168 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_property_name_to_ctypecxx . . $ onigenc_unicode_property_name_to_ctype(fb2245aa60ebfd32).(OnigEncodingcxx . . $ OnigEncoding# enc, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end);
169 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mb2_is_code_ctypecxx . . $ onigenc_mb2_is_code_ctype(deb683be2a538f8a).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCodePointcxx . . $ OnigCodePoint# code, unsigned int ctype);
170 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mb4_code_to_mbclencxx . . $ onigenc_mb4_code_to_mbclen(ed1ebf883eff915d).(OnigCodePointcxx . . $ OnigCodePoint# code, OnigEncodingcxx . . $ OnigEncoding# enc);
171 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mb4_code_to_mbccxx . . $ onigenc_mb4_code_to_mbc(4d6cf9f9f4096f77).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCodePointcxx . . $ OnigCodePoint# code, UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! *buf);
172 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_mb4_is_code_ctypecxx . . $ onigenc_mb4_is_code_ctype(deb683be2a538f8a).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCodePointcxx . . $ OnigCodePoint# code, unsigned int ctype);
173
174 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_case_mapcxx . . $ onigenc_unicode_case_map(963ee2b6f1418456).(OnigCaseFoldTypecxx . . $ OnigCaseFoldType#* flagP, const OnigUCharcxx . . $ OnigUChar#** pp, const OnigUCharcxx . . $ OnigUChar#* end, OnigUCharcxx . . $ OnigUChar#* to, OnigUCharcxx . . $ OnigUChar#* to_end, const struct OnigEncodingTypeSTcxx . . $ OnigEncodingTypeST#* enc);
175
176
177 /* in enc/unicode.c */
178 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_is_code_ctypecxx . . $ onigenc_unicode_is_code_ctype(7f36058cb237933f).(OnigCodePointcxx . . $ OnigCodePoint# code, unsigned int ctype, OnigEncodingcxx . . $ OnigEncoding# enc);
179 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_utf16_32_get_ctype_code_rangecxx . . $ onigenc_utf16_32_get_ctype_code_range(f3da0df4ba860021).(OnigCtypecxx . . $ OnigCtype# ctype, OnigCodePointcxx . . $ OnigCodePoint# *sb_out, const OnigCodePointcxx . . $ OnigCodePoint#* ranges[], OnigEncodingcxx . . $ OnigEncoding# enc);
180 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_ctype_code_rangecxx . . $ onigenc_unicode_ctype_code_range(5e6be6284877c10).(int ctype, const OnigCodePointcxx . . $ OnigCodePoint#* ranges[]);
181 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_get_case_fold_codes_by_strcxx . . $ onigenc_unicode_get_case_fold_codes_by_str(1749d66e1d069997).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, const OnigUCharcxx . . $ OnigUChar#* p, const OnigUCharcxx . . $ OnigUChar#* end, OnigCaseFoldCodeItemcxx . . $ OnigCaseFoldCodeItem# items[]);
182 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_mbc_case_foldcxx . . $ onigenc_unicode_mbc_case_fold(971301441d819429).(OnigEncodingcxx . . $ OnigEncoding# enc, OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!** pp, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* fold);
183 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int onigenc_unicode_apply_all_case_foldcxx . . $ onigenc_unicode_apply_all_case_fold(52943f35c546f971).(OnigCaseFoldTypecxx . . $ OnigCaseFoldType# flag, OnigApplyAllCaseFoldFunccxx . . $ OnigApplyAllCaseFoldFunc# f, void* arg, OnigEncodingcxx . . $ OnigEncoding# enc);
184
185
186 #define UTF16_IS_SURROGATE_FIRSTcxx . . $ `vendor/onigmo-source/regenc.h:186:9`!(c) (((c) & 0xfc) == 0xd8)
187 #define UTF16_IS_SURROGATE_SECONDcxx . . $ `vendor/onigmo-source/regenc.h:187:9`!(c) (((c) & 0xfc) == 0xdc)
188 #define UTF16_IS_SURROGATEcxx . . $ `vendor/onigmo-source/regenc.h:188:9`!(c) (((c) & 0xf8) == 0xd8)
189
190 #define ONIGENC_ISO_8859_1_TO_LOWER_CASEcxx . . $ `vendor/onigmo-source/regenc.h:190:9`!(c) \
191 OnigEncISO_8859_1_ToLowerCaseTable[c]
192 #define ONIGENC_ISO_8859_1_TO_UPPER_CASEcxx . . $ `vendor/onigmo-source/regenc.h:192:9`!(c) \
193 OnigEncISO_8859_1_ToUpperCaseTable[c]
194
195 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! OnigEncISO_8859_1_ToLowerCaseTablecxx . . $ OnigEncISO_8859_1_ToLowerCaseTable.[];
196 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! OnigEncISO_8859_1_ToUpperCaseTablecxx . . $ OnigEncISO_8859_1_ToUpperCaseTable.[];
197
198 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int
199 onigenc_with_ascii_strncmpcxx . . $ onigenc_with_ascii_strncmp(85c57096c253fb5a).(OnigEncodingcxx . . $ OnigEncoding# enc, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* sascii /* ascii */, int n);
200 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! int
201 onigenc_with_ascii_strnicmpcxx . . $ onigenc_with_ascii_strnicmp(85c57096c253fb5a).(OnigEncodingcxx . . $ OnigEncoding# enc, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* sascii /* ascii */, int n);
202 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!*
203 onigenc_stepcxx . . $ onigenc_step(d83499827e84afc2).(OnigEncodingcxx . . $ OnigEncoding# enc, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* end, int n);
204
205 /* defined in regexec.c, but used in enc/xxx.c */
206 extern int onig_is_in_code_rangecxx . . $ onig_is_in_code_range(f360f2bcf3cfccb1).(const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`!* p, OnigCodePointcxx . . $ OnigCodePoint# code);
207
208 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! OnigEncodingcxx . . $ OnigEncoding# OnigEncDefaultCharEncodingcxx . . $ OnigEncDefaultCharEncoding.;
209 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! OnigEncAsciiToLowerCaseTablecxx . . $ OnigEncAsciiToLowerCaseTable.[];
210 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! const UCharcxx . . $ `vendor/onigmo-source/onigmo.h:76:10`! OnigEncAsciiToUpperCaseTablecxx . . $ OnigEncAsciiToUpperCaseTable.[];
211 ONIG_EXTERNcxx . . $ `<built-in>:416:9`! const unsigned short OnigEncAsciiCtypeTablecxx . . $ OnigEncAsciiCtypeTable.[];
212
213 #define ONIGENC_IS_ASCII_CODEcxx . . $ `vendor/onigmo-source/regenc.h:213:9`!(code) ((code) < 0x80)
214 #define ONIGENC_ASCII_CODE_TO_LOWER_CASEcxx . . $ `vendor/onigmo-source/regenc.h:214:9`!(c) OnigEncAsciiToLowerCaseTable[c]
215 #define ONIGENC_ASCII_CODE_TO_UPPER_CASEcxx . . $ `vendor/onigmo-source/regenc.h:215:9`!(c) OnigEncAsciiToUpperCaseTable[c]
216 #define ONIGENC_IS_ASCII_CODE_CTYPEcxx . . $ `vendor/onigmo-source/regenc.h:216:9`!(code,ctype) \
217 ((OnigEncAsciiCtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
218 #define ONIGENC_IS_ASCII_CODE_CASE_AMBIGcxx . . $ `vendor/onigmo-source/regenc.h:218:9`!(code) \
219 (ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_UPPER) ||\
220 ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_LOWER))
221
222 /* Check if the code is in the range. (from <= code && code <= to) */
223 #define ONIGENC_IS_IN_RANGEcxx . . $ `vendor/onigmo-source/regenc.h:223:9`!(code, from, to) \
224 ((OnigCodePoint )((code) - (from)) <= (OnigCodePoint )((to) - (from)))
225
226
227 #ifdef ONIG_ENC_REGISTER
228 extern int ONIG_ENC_REGISTER(const char *, OnigEncoding);
229 # define OnigEncodingName(n) encoding_##n
230 # define OnigEncodingDeclare(n) static const OnigEncodingType OnigEncodingName(n)
231 # define OnigEncodingDefine(f,n) \
232 OnigEncodingDeclare(n); \
233 void Init_##f(void) { \
234 ONIG_ENC_REGISTER(OnigEncodingName(n).name, \
235 &OnigEncodingName(n)); \
236 } \
237 OnigEncodingDeclare(n)
238 #else
239 # define OnigEncodingNamecxx . . $ `vendor/onigmo-source/regenc.h:239:10`!(n) OnigEncoding##n
240 # define OnigEncodingDeclarecxx . . $ `vendor/onigmo-source/regenc.h:240:10`!(n) const OnigEncodingType OnigEncodingName(n)
241 # define OnigEncodingDefinecxx . . $ `vendor/onigmo-source/regenc.h:241:10`!(f,n) OnigEncodingDeclare(n)
242 #endif
243
244 /* macros for define replica encoding and encoding alias */
245 #define ENC_REPLICATEcxx . . $ `vendor/onigmo-source/regenc.h:245:9`!(name, orig)
246 #define ENC_ALIAScxx . . $ `vendor/onigmo-source/regenc.h:246:9`!(name, orig)
247 #define ENC_DUMMYcxx . . $ `vendor/onigmo-source/regenc.h:247:9`!(name)
248
249 RUBY_SYMBOL_EXPORT_ENDcxx . . $ `vendor/onigmo-source/onigmo.h:65:11`!
250
251 #endif /* ONIGMO_REGENC_H */