Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/PHP-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c92 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
96 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
110 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
114 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
140 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
144 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
148 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
180 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
207 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
249 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap()
[all …]
H A Dmbfilter_jis.c140 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar()
149 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar()
155 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar()
189 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar()
193 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar()
198 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar()
215 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar()
233 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar()
346 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis()
445 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp()
[all …]
H A Dmbfilter_utf7.c119 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar()
123 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
137 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar()
141 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
167 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
175 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
207 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
234 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
294 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7()
296 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7()
[all …]
H A Dmbfilter_utf8.c104 filter->cache = 0; in mbfl_filt_put_invalid_char()
105 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_put_invalid_char()
121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_wchar()
142 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_wchar()
144 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar()
159 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar()
174 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar()
180 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_wchar()
183 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar()
210 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf8_wchar_flush()
[all …]
H A Dmbfilter_qprint.c89 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc()
123 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc()
130 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc()
135 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc()
149 (*filter->filter_function)('\0', filter); in mbfl_filt_conv_qprintenc_flush()
192 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
200 CK((*filter->output_function)(filter->cache, filter->data)); in mbfl_filt_conv_qprintdec()
205 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintdec()
210 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
218 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
[all …]
H A Dmbfilter_base64.c92 filter->status++; in mbfl_filt_conv_base64enc()
102 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc()
103 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc()
131 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush()
132 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc_flush()
138 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush()
139 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush()
142 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush()
189 CK((*filter->output_function)((n >> 16) & 0xff, filter->data)); in mbfl_filt_conv_base64dec()
190 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec()
[all …]
H A Dmbfilter_cp5022x.c258 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
267 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
273 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
316 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
320 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
325 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
342 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_ms_wchar()
528 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis_ms()
758 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50221()
904 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50222()
[all …]
H A Dmbfilter_iso2022_jp_ms.c114 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
166 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
176 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
181 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
186 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
203 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
221 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
222 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
380 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jpms()
[all …]
H A Dmbfilter_sjis_2004.c144 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
151 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
156 } else if ((filter->status == 0x80 || filter->status == 0x90 || filter->status == 0xa0) in mbfl_filt_conv_jis2004_wchar()
198 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
263 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
265 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
270 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
278 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
280 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
285 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
[all …]
H A Dmbfilter_iso2022_kr.c103 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar()
107 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
142 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
146 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar()
151 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
160 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar()
169 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar()
170 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022kr_wchar()
180 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar()
249 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr()
[all …]
H A Dmbfilter_ucs4.c178 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs4_wchar()
181 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar()
211 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar()
222 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
223 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
224 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
225 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
255 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4le_wchar()
266 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le()
267 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le()
[all …]
H A Dmbfilter_utf16.c161 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar()
165 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar()
183 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar()
214 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
218 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
222 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
239 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be()
243 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be()
277 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar()
281 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar()
[all …]
H A Dmbfilter_hz.c97 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar()
101 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
121 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
123 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar()
128 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
140 CK((*filter->output_function)(0x007e, filter->data)); in mbfl_filt_conv_hz_wchar()
201 CK((*filter->output_function)(0x7e, filter->data)); in mbfl_filt_conv_wchar_hz()
203 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz()
211 CK((*filter->output_function)(s & 0x7f, filter->data)); in mbfl_filt_conv_wchar_hz()
225 CK((*filter->output_function)(0x7e, filter->data)); /* ~ */ in mbfl_filt_conv_any_hz_flush()
[all …]
H A Dmbfilter_utf32.c177 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_utf32_wchar()
181 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar()
184 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar()
216 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar()
219 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar()
233 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
234 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
265 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar()
268 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar()
280 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le()
[all …]
H A Dmbfilter_byte4.c104 filter->cache = n; in mbfl_filt_conv_byte4be_wchar()
116 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4be_wchar()
123 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
124 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
125 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
126 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be()
149 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4le_wchar()
156 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
157 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
158 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le()
[all …]
H A Dmbfilter_htmlent.c104 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_enc()
106 CK((*filter->output_function)('&', filter->data)); in mbfl_filt_conv_html_enc()
121 CK((*filter->output_function)('#', filter->data)); in mbfl_filt_conv_html_enc()
132 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc()
136 CK((*filter->output_function)(';', filter->data)); in mbfl_filt_conv_html_enc()
147 (*filter->flush_function)(filter->data); in mbfl_filt_conv_html_enc_flush()
186 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec()
229 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec()
234 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec()
251 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec()
[all …]
H A Dmbfilter_iso2022jp_mobile.c164 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
170 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
225 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
229 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
234 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
250 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
267 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
268 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
283 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
397 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_wchar_2022jp_mobile()
[all …]
H A Dmbfilter_euc_tw.c112 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
122 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
141 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
143 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
148 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
155 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
172 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
181 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
205 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
[all …]
H A Dmbfilter_euc_jp.c112 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
123 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
142 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
144 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
149 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
157 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
159 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
170 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
192 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
[all …]
H A Dmbfilter_utf8_mobile.c207 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar()
244 CK((*filter->output_function)(snd, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar()
246 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar()
248 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar()
263 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar()
278 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar()
284 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_mobile_wchar()
287 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar()
322 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_wchar_utf8_mobile()
327 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
[all …]
H A Dmbfilter_uuencode.c71 switch(filter->status) { in mbfl_filt_conv_uudec()
80 filter->cache = 0; in mbfl_filt_conv_uudec()
82 filter->cache++; in mbfl_filt_conv_uudec()
90 if (filter->cache == 5) in mbfl_filt_conv_uudec()
94 filter->cache = 0; in mbfl_filt_conv_uudec()
104 filter->cache = n << 24; in mbfl_filt_conv_uudec()
122 filter->cache |= n; in mbfl_filt_conv_uudec()
134 CK((*filter->output_function)( (A << 2) | (B >> 4), filter->data)); in mbfl_filt_conv_uudec()
136 CK((*filter->output_function)( (B << 4) | (C >> 2), filter->data)); in mbfl_filt_conv_uudec()
138 CK((*filter->output_function)( (C << 6) | D, filter->data)); in mbfl_filt_conv_uudec()
[all …]
H A Dmbfilter_iso2022jp_2004.c89 filter->status += 2; in mbfl_filt_ident_2022jp_2004()
91 filter->status += 1; in mbfl_filt_ident_2022jp_2004()
102 filter->status++; in mbfl_filt_ident_2022jp_2004()
106 filter->flag = 1; in mbfl_filt_ident_2022jp_2004()
114 filter->status++; in mbfl_filt_ident_2022jp_2004()
116 filter->status += 3; in mbfl_filt_ident_2022jp_2004()
127 filter->status = 0x80; in mbfl_filt_ident_2022jp_2004()
129 filter->status++; in mbfl_filt_ident_2022jp_2004()
140 filter->status = 0x90; in mbfl_filt_ident_2022jp_2004()
153 filter->status = 0; in mbfl_filt_ident_2022jp_2004()
[all …]
H A Dmbfilter_ucs2.c143 filter->cache = n; in mbfl_filt_conv_ucs2_wchar()
144 filter->status++; in mbfl_filt_conv_ucs2_wchar()
159 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs2_wchar()
162 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar()
180 filter->cache = n; in mbfl_filt_conv_ucs2be_wchar()
184 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2be_wchar()
195 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be()
196 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be()
218 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2le_wchar()
230 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le()
[all …]
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c154 (*filter->filter_ctor)(filter); in mbfl_convert_filter_common_init()
227 (*filter->filter_dtor)(filter); in mbfl_convert_filter_delete()
235 return (*filter->filter_function)(c, filter); in mbfl_convert_filter_feed()
241 if ((*filter->filter_function)(*p++, filter) < 0) { in mbfl_convert_filter_feed_string()
252 (*filter->filter_flush)(filter); in mbfl_convert_filter_flush()
253 return (filter->flush_function ? (*filter->flush_function)(filter->data) : 0); in mbfl_convert_filter_flush()
262 (*filter->filter_dtor)(filter); in mbfl_convert_filter_reset()
271 filter->output_function, filter->flush_function, filter->data); in mbfl_convert_filter_reset()
295 if ((*filter->filter_function)(*p++, filter) < 0) { in mbfl_convert_filter_devcat()
309 if ((*filter->filter_function)(c, filter) < 0) { in mbfl_convert_filter_strcat()
[all …]
H A Dmbfl_ident.c203 mbfl_free(filter); in mbfl_identify_filter_new()
207 return filter; in mbfl_identify_filter_new()
221 mbfl_free(filter); in mbfl_identify_filter_new2()
225 return filter; in mbfl_identify_filter_new2()
242 filter->status = 0; in mbfl_identify_filter_init2()
243 filter->flag = 0; in mbfl_identify_filter_init2()
244 filter->score = 0; in mbfl_identify_filter_init2()
256 (*filter->filter_ctor)(filter); in mbfl_identify_filter_init2()
273 (*filter->filter_dtor)(filter); in mbfl_identify_filter_cleanup()
279 filter->flag = 0; in mbfl_filt_ident_common_ctor()
[all …]

Completed in 82 milliseconds

12345678910>>...15