Home
last modified time | relevance | path

Searched refs:output_function (Results 1 – 20 of 20) sorted by relevance

/PHP-8.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c171 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()
237 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
246 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
268 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
277 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
344 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap()
363 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap()
382 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap()
[all …]
H A Dmbfilter_utf7.c124 CK((*filter->output_function)(c, filter->data)); 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()
309 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7()
327 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7()
345 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7()
[all …]
H A Dmbfilter_qprint.c94 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc()
100 CK((*filter->output_function)('\r', filter->data)); in mbfl_filt_conv_qprintenc()
109 CK((*filter->output_function)('=', filter->data)); in mbfl_filt_conv_qprintenc()
117 CK((*filter->output_function)('=', filter->data)); in mbfl_filt_conv_qprintenc()
124 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc()
131 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc()
134 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc()
194 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
207 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintdec()
212 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec()
[all …]
H A Dmbfilter_base64.c105 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc()
106 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc()
132 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush()
133 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()
176 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_base64dec()
197 CK((*filter->output_function)((n >> 16) & 0xff, filter->data)); in mbfl_filt_conv_base64dec()
198 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec()
[all …]
H A Dmbfilter_cjk.c136 CK((*filter->output_function)(0xa5, 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()
332 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis()
415 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp()
1260 (*filter->output_function)('(', filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush()
1261 (*filter->output_function)('B', filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush()
1266 (*filter->output_function)(c1, filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush()
2784 (*filter->output_function)(0, filter->data); in mbfl_filt_conv_wchar_cp50220()
2789 (*filter->output_function)(0, filter->data); in mbfl_filt_conv_wchar_cp50220()
[all …]
H A Dmbfilter_utf8.c96 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()
128 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_wchar()
183 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf8_wchar_flush()
198 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8()
200 CK((*filter->output_function)(((c >> 6) & 0x1f) | 0xc0, filter->data)); in mbfl_filt_conv_wchar_utf8()
201 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8()
204 CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8()
205 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8()
209 CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8()
[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()
116 CK((*filter->output_function)((int)*p, 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()
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()
241 CK((*filter->output_function)(buffer[pos], filter->data)); in mbfl_filt_conv_html_dec()
243 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec()
[all …]
H A Dmbfilter_utf32.c149 CK((*filter->output_function)(n, filter->data)); in emit_char_if_valid()
151 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in emit_char_if_valid()
195 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
196 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
197 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
198 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be()
222 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le()
223 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le()
224 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le()
225 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le()
[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()
292 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le()
[all …]
H A Dmbfilter_singlebyte.c28 CK((*filter->output_function)(c, filter->data)); in mbfl_conv_singlebyte_table()
30 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_conv_singlebyte_table()
40 CK((*filter->output_function)(c, filter->data)); in mbfl_conv_reverselookup_table()
46 CK((*filter->output_function)(i + tbl_min, filter->data)); in mbfl_conv_reverselookup_table()
151 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_ascii()
199 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_8859_1_wchar()
205 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_8859_1()
503 CK((*filter->output_function)(0x80 + n, filter->data)); in mbfl_filt_conv_wchar_cp1252()
509 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_cp1252()
524 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_cp1252_wchar()
[all …]
H A Dmbfilter_utf16.c308 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar()
337 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
356 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
360 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar()
373 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be()
377 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be()
380 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be()
429 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar()
435 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar()
448 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16le()
[all …]
H A Dmbfilter_ucs2.c167 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()
H A Dmbfilter_utf8_mobile.c264 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar()
298 CK((*filter->output_function)(snd, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar()
300 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar()
372 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
374 CK((*filter->output_function)(((c >> 6) & 0x1f) | 0xc0, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
375 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
377 CK((*filter->output_function)(((c >> 12) & 0x0f) | 0xe0, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
378 CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
379 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
383 CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile()
[all …]
H A Dmbfilter_7bit.c75 return (*filter->output_function)(c < 0x80 ? c : MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_7bit_any()
81 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_any_7bit()
H A Dmbfilter_uuencode.c143 CK((*filter->output_function)( (A << 2) | (B >> 4), filter->data)); in mbfl_filt_conv_uudec()
145 CK((*filter->output_function)( (B << 4) | (C >> 2), filter->data)); in mbfl_filt_conv_uudec()
147 CK((*filter->output_function)( (C << 6) | D, filter->data)); in mbfl_filt_conv_uudec()
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c71 …const struct mbfl_convert_vtbl *vtbl, output_function_t output_function, flush_function_t flush_fu… in mbfl_convert_filter_init() argument
77 if (output_function != NULL) { in mbfl_convert_filter_init()
78 filter->output_function = output_function; in mbfl_convert_filter_init()
80 filter->output_function = mbfl_filter_output_null; in mbfl_convert_filter_init()
96 …t_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, output_function_t output_function, in mbfl_convert_filter_new() argument
105 mbfl_convert_filter_init(filter, from, to, vtbl, output_function, flush_function, data); in mbfl_convert_filter_new()
109 …* mbfl_convert_filter_new2(const struct mbfl_convert_vtbl *vtbl, output_function_t output_function, in mbfl_convert_filter_new2() argument
116 …mbfl_convert_filter_init(filter, from_encoding, to_encoding, vtbl, output_function, flush_function… in mbfl_convert_filter_new2()
163 …mbfl_convert_filter_init(filter, from, to, vtbl, filter->output_function, filter->flush_function, … in mbfl_convert_filter_reset()
H A Dmbfl_convert.h52 output_function_t output_function; member
65 …t_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, output_function_t output_function,
67 … *mbfl_convert_filter_new2(const struct mbfl_convert_vtbl *vtbl, output_function_t output_function,
H A Dmbfilter_pass.c63 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_pass()
H A Dmbfilter_8bit.c82 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_8bit_wchar()
88 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_8bit()
H A Dmbfilter.c229 encoder->output_function = (output_function_t)decoder->filter_function; in mbfl_strcut()

Completed in 66 milliseconds