Home
last modified time | relevance | path

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

12345678910>>...14

/PHP-8.2/ext/mbstring/libmbfl/filters/
H A Dmbfilter_qprint.c95 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc()
128 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc()
135 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc()
140 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc()
154 (*filter->filter_function)('\0', filter); in mbfl_filt_conv_qprintenc_flush()
159 (*filter->flush_function)(filter->data); in mbfl_filt_conv_qprintenc_flush()
202 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
210 CK((*filter->output_function)(filter->cache, filter->data)); in mbfl_filt_conv_qprintdec()
215 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintdec()
220 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
[all …]
H A Dmbfilter_utf7imap.c146 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7imap_wchar()
151 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7imap_wchar()
155 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7imap_wchar()
158 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7imap_wchar()
171 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
201 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
210 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
300 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf7imap_wchar_flush()
332 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap()
334 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap()
[all …]
H A Dmbfilter_base64.c106 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc()
107 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc()
135 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush()
136 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc_flush()
142 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush()
143 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush()
151 (*filter->flush_function)(filter->data); in mbfl_filt_conv_base64enc_flush()
180 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_base64dec()
202 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec()
203 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_base64dec()
[all …]
H A Dmbfilter_utf7.c124 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar()
128 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7_wchar()
139 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar()
173 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
184 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
213 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
224 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
258 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar()
278 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf7_wchar_flush()
380 filter->status = filter->cache = 0; in mbfl_filt_conv_wchar_utf7_flush()
[all …]
H A Dmbfilter_utf16.c155 filter->cache = filter->status = 0; in mbfl_filt_conv_utf16_wchar()
169 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar()
198 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
203 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16be_wchar()
217 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
221 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
270 CK((*filter->output_function)(filter->cache + ((c & 0xff) << 8), filter->data)); in mbfl_filt_conv_utf16le_wchar()
275 filter->cache = (filter->cache << 10) + (c & 0xff); in mbfl_filt_conv_utf16le_wchar()
290 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar()
296 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar()
[all …]
H A Dmbfilter_jis.c136 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar()
138 CK((*filter->output_function)(0x203e, filter->data)); in mbfl_filt_conv_jis_wchar()
145 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar()
181 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar()
219 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_jis_wchar()
238 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_jis_wchar()
239 CK((*filter->output_function)(0x28, filter->data)); in mbfl_filt_conv_jis_wchar()
281 (*filter->flush_function)(filter->data); in mbfl_filt_conv_jis_wchar_flush()
336 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis()
424 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp()
[all …]
H A Dmbfilter_iso2022_jp_ms.c106 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
160 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar()
226 (*filter->flush_function)(filter->data); in mbfl_filt_conv_2022jpms_wchar_flush()
311 CK((*filter->output_function)('(', filter->data)); in mbfl_filt_conv_wchar_2022jpms()
312 CK((*filter->output_function)('B', filter->data)); in mbfl_filt_conv_wchar_2022jpms()
314 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jpms()
319 CK((*filter->output_function)('(', filter->data)); in mbfl_filt_conv_wchar_2022jpms()
320 CK((*filter->output_function)('I', filter->data)); in mbfl_filt_conv_wchar_2022jpms()
356 CK((*filter->output_function)('(', filter->data)); in mbfl_filt_conv_any_2022jpms_flush()
357 CK((*filter->output_function)('B', filter->data)); in mbfl_filt_conv_any_2022jpms_flush()
[all …]
H A Dmbfilter_utf8.c95 filter->status = filter->cache = 0; in mbfl_filt_put_invalid_char()
96 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_put_invalid_char()
108 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_wchar()
127 filter->status = filter->cache = 0; in mbfl_filt_conv_utf8_wchar()
128 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_wchar()
166 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_wchar()
183 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf8_wchar_flush()
188 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf8_wchar_flush()
198 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8()
201 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8()
[all …]
H A Dmbfilter_iso2022jp_mobile.c204 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
242 (*filter->output_function)(snd, filter->data); in mbfl_filt_conv_2022jp_mobile_wchar()
257 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar()
320 (*filter->flush_function)(filter->data); in mbfl_filt_conv_2022jp_mobile_wchar_flush()
347 CK((*filter->output_function)(c1, filter->data)); in mbfilter_unicode2sjis_emoji_kddi()
448 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jp_mobile()
480 (*filter->output_function)('(', filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush()
481 (*filter->output_function)('B', filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush()
486 (*filter->output_function)(c1, filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush()
488 filter->status = filter->cache = 0; in mbfl_filt_conv_wchar_2022jp_mobile_flush()
[all …]
H A Dmbfilter_htmlent.c108 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_enc()
110 CK((*filter->output_function)('&', filter->data)); in mbfl_filt_conv_html_enc()
125 CK((*filter->output_function)('#', filter->data)); in mbfl_filt_conv_html_enc()
136 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc()
140 CK((*filter->output_function)(';', filter->data)); in mbfl_filt_conv_html_enc()
151 (*filter->flush_function)(filter->data); in mbfl_filt_conv_html_enc_flush()
191 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec()
238 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec()
243 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec()
259 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec()
[all …]
H A Dmbfilter_cp5022x.c177 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_cp5022x_wchar()
186 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp5022x_wchar()
231 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp5022x_wchar()
269 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_cp5022x_wchar()
288 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_cp5022x_wchar()
331 (*filter->flush_function)(filter->data); in mbfl_filt_conv_cp5022x_wchar_flush()
543 (*filter->output_function)(0, filter->data); in mbfl_filt_conv_wchar_cp50220()
548 (*filter->output_function)(0, filter->data); in mbfl_filt_conv_wchar_cp50220()
659 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50221()
779 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50222()
[all …]
H A Dmbfilter_iso2022_kr.c103 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar()
139 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
185 (*filter->flush_function)(filter->data); in mbfl_filt_conv_2022kr_wchar_flush()
197 CK((*filter->output_function)('$', filter->data)); in mbfl_filt_conv_wchar_2022kr()
198 CK((*filter->output_function)(')', filter->data)); in mbfl_filt_conv_wchar_2022kr()
199 CK((*filter->output_function)('C', filter->data)); in mbfl_filt_conv_wchar_2022kr()
244 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr()
251 CK((*filter->output_function)(s & 0xff, filter->data)); in mbfl_filt_conv_wchar_2022kr()
264 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_any_2022kr_flush()
271 filter->status = filter->cache = 0; in mbfl_filt_conv_any_2022kr_flush()
[all …]
H A Dmbfilter_euc_tw.c104 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar()
130 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
132 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar()
142 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar()
155 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar()
185 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar()
187 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar()
226 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_euctw()
234 CK((*filter->output_function)(0x8e , filter->data)); in mbfl_filt_conv_wchar_euctw()
237 CK((*filter->output_function)(s & 0xFF, filter->data)); in mbfl_filt_conv_wchar_euctw()
[all …]
H A Dmbfilter_ucs4.c205 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar()
235 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar()
246 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
247 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
248 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
249 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be()
279 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4le_wchar()
290 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le()
291 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le()
305 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs4_wchar_flush()
[all …]
H A Dmbfilter_euc_jp.c108 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
117 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_eucjp_wchar()
134 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
144 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
168 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
183 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_eucjp_wchar_flush()
188 (*filter->flush_function)(filter->data); in mbfl_filt_conv_eucjp_wchar_flush()
234 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_eucjp()
236 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_eucjp()
237 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_eucjp()
[all …]
H A Dmbfilter_utf32.c149 CK((*filter->output_function)(n, filter->data)); in emit_char_if_valid()
159 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32_wchar()
163 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar()
182 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32be_wchar()
186 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32be_wchar()
198 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
209 filter->cache |= ((c & 0xFFU) << (8 * filter->status)); in mbfl_filt_conv_utf32le_wchar()
213 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32le_wchar()
222 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le()
239 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar_flush()
[all …]
H A Dmbfilter_sjis_2004.c216 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
223 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
228 } else if ((filter->status == 0x80 || filter->status == 0x90 || filter->status == 0xa0) in mbfl_filt_conv_jis2004_wchar()
239 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar()
307 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
332 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
339 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
400 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
420 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar()
506 return (*filter->flush_function)(filter->data); in mbfl_filt_conv_jis2004_wchar_flush()
[all …]
H A Dmbfilter_hz.c91 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar()
120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
133 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_hz_wchar()
161 (*filter->flush_function)(filter->data); in mbfl_filt_conv_hz_wchar_flush()
225 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_wchar_hz()
226 CK((*filter->output_function)('}', filter->data)); in mbfl_filt_conv_wchar_hz()
230 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_wchar_hz()
232 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz()
235 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_wchar_hz()
253 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_any_hz_flush()
[all …]
H A Dmbfilter_sjis_mac.c155 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
162 CK((*filter->output_function)(0x00a5, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
272 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
292 (*filter->flush_function)(filter->data); in mbfl_filt_conv_sjis_mac_wchar_flush()
310 filter->cache = filter->status = 0; in mbfl_filt_conv_wchar_sjis_mac()
370 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
484 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
539 filter->cache = filter->status = 0; in mbfl_filt_conv_wchar_sjis_mac()
628 filter->cache = filter->status = 0; in mbfl_filt_conv_wchar_sjis_mac()
669 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_wchar_sjis_mac_flush()
[all …]
H A Dmbfilter_ucs2.c156 filter->status = 1; in mbfl_filt_conv_ucs2_wchar()
159 filter->status = 0; in mbfl_filt_conv_ucs2_wchar()
167 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar()
181 CK((*filter->output_function)((c & 0xFF) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2be_wchar()
189 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be()
190 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be()
204 CK((*filter->output_function)(((c & 0xFF) << 8) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2le_wchar()
212 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le()
213 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le()
225 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs2_wchar_flush()
[all …]
H A Dmbfilter_euc_jp_win.c105 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar()
114 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_eucjpwin_wchar()
155 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar()
165 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar()
214 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar()
229 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_eucjpwin_wchar_flush()
234 (*filter->flush_function)(filter->data); in mbfl_filt_conv_eucjpwin_wchar_flush()
326 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_eucjpwin()
328 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_eucjpwin()
329 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_eucjpwin()
[all …]
H A Dmbfilter_cp51932.c109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar()
116 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp51932_wchar()
155 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
157 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp51932_wchar()
165 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar()
167 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp51932_wchar()
181 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_cp51932_wchar_flush()
186 (*filter->flush_function)(filter->data); in mbfl_filt_conv_cp51932_wchar_flush()
258 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932()
260 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_cp51932()
[all …]
/PHP-8.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c128 return filter; in mbfl_convert_filter_new()
145 (*filter->filter_dtor)(filter); in mbfl_convert_filter_delete()
153 return (*filter->filter_function)(c, filter); in mbfl_convert_filter_feed()
160 if ((*filter->filter_function)(*p++, filter) < 0) { in mbfl_convert_filter_feed_string()
169 (*filter->filter_flush)(filter); in mbfl_convert_filter_flush()
176 (*filter->filter_dtor)(filter); in mbfl_convert_filter_reset()
185 …mbfl_convert_filter_init(filter, from, to, vtbl, filter->output_function, filter->flush_function, in mbfl_convert_filter_reset()
207 if ((*filter->filter_function)(c, filter) < 0) { in mbfl_convert_filter_strcat()
234 ret = (*filter->filter_function)('0', filter); in mbfl_filt_conv_output_hex()
336 filter->status = filter->cache = 0; in mbfl_filt_conv_common_ctor()
[all …]
/PHP-8.2/ext/standard/tests/filters/
H A Dbasic.phpt2 basic stream filter tests
15 echo "filter: $name\n";
22 foreach ($filters as $filter) {
23 filter_test(array($filter));
30 filter: string.rot13
31 resource(%d) of type (stream filter)
33 filter: string.toupper
34 resource(%d) of type (stream filter)
36 filter: string.tolower
39 filter: string.rot13
[all …]
/PHP-8.2/main/streams/
H A Dfilter.c261 return filter; in php_stream_filter_create()
275 return filter; in _php_stream_filter_alloc()
281 filter->fops->dtor(filter); in php_stream_filter_free()
282 pefree(filter, filter->is_persistent); in php_stream_filter_free()
330 status = filter->fops->filter(stream, filter, brig_inp, brig_outp, &consumed, PSFS_FLAG_NORMAL); in php_stream_filter_append_ex()
408 if (!filter->chain || !filter->chain->stream) { in _php_stream_filter_flush()
486 filter->prev->next = filter->next; in php_stream_filter_remove()
488 filter->chain->head = filter->next; in php_stream_filter_remove()
491 filter->next->prev = filter->prev; in php_stream_filter_remove()
493 filter->chain->tail = filter->prev; in php_stream_filter_remove()
[all …]

Completed in 56 milliseconds

12345678910>>...14