Home
last modified time | relevance | path

Searched refs:convd (Results 1 – 7 of 7) sorted by relevance

/PHP-7.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h138 MBFLAPI extern void mbfl_buffer_converter_delete(mbfl_buffer_converter *convd);
139 MBFLAPI extern void mbfl_buffer_converter_reset(mbfl_buffer_converter *convd);
140 MBFLAPI extern int mbfl_buffer_converter_illegal_mode(mbfl_buffer_converter *convd, int mode);
141 MBFLAPI extern int mbfl_buffer_converter_illegal_substchar(mbfl_buffer_converter *convd, int substc…
142 MBFLAPI extern int mbfl_buffer_converter_strncat(mbfl_buffer_converter *convd, const unsigned char …
143 MBFLAPI extern int mbfl_buffer_converter_feed(mbfl_buffer_converter *convd, mbfl_string *string);
144 MBFLAPI extern int mbfl_buffer_converter_feed2(mbfl_buffer_converter *convd, mbfl_string *string, i…
145 MBFLAPI extern int mbfl_buffer_converter_flush(mbfl_buffer_converter *convd);
146 MBFLAPI extern mbfl_string * mbfl_buffer_converter_getbuffer(mbfl_buffer_converter *convd, mbfl_str…
147 MBFLAPI extern mbfl_string * mbfl_buffer_converter_result(mbfl_buffer_converter *convd, mbfl_string…
[all …]
H A Dmbfilter.c147 if (convd == NULL) { in mbfl_buffer_converter_new2()
152 convd->from = from; in mbfl_buffer_converter_new2()
153 convd->to = to; in mbfl_buffer_converter_new2()
159convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding, convd->to->no_encoding, mbfl_me… in mbfl_buffer_converter_new2()
163 convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding, in mbfl_buffer_converter_new2()
167 convd->filter2); in mbfl_buffer_converter_new2()
179 return convd; in mbfl_buffer_converter_new2()
186 if (convd != NULL) { in mbfl_buffer_converter_delete()
207 if (convd != NULL) { in mbfl_buffer_converter_illegal_mode()
223 if (convd != NULL) { in mbfl_buffer_converter_illegal_substchar()
[all …]
/PHP-7.2/ext/mbstring/libmbfl/tests/
H A Dsample.c15 mbfl_buffer_converter *convd = NULL; in main() local
32 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); in main()
33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result); in main()
34 mbfl_buffer_converter_delete(convd); in main()
H A Dconv_encoding.c28 mbfl_buffer_converter *convd = NULL; in main() local
57 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); in main()
95 ret = mbfl_buffer_converter_feed_result(convd, &string, &result); in main()
101 mbfl_buffer_converter_delete(convd); in main()
H A Demoji.c32 mbfl_buffer_converter *convd = NULL, *convd2 = NULL; in main() local
68 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); in main()
79 ret = mbfl_buffer_converter_feed_result(convd, &string, &result); in main()
115 mbfl_buffer_converter_delete(convd); in main()
/PHP-7.2/ext/mbstring/
H A Dmb_gpc.c204 mbfl_buffer_converter *convd = NULL; in _php_mb_encoding_handler_ex() local
293 convd = NULL; in _php_mb_encoding_handler_ex()
295 convd = mbfl_buffer_converter_new2(from_encoding, info->to_encoding, 0); in _php_mb_encoding_handler_ex()
296 if (convd != NULL) { in _php_mb_encoding_handler_ex()
297 mbfl_buffer_converter_illegal_mode(convd, MBSTRG(current_filter_illegal_mode)); in _php_mb_encoding_handler_ex()
314 if (convd != NULL && mbfl_buffer_converter_feed_result(convd, &string, &resvar) != NULL) { in _php_mb_encoding_handler_ex()
322 if (convd != NULL && mbfl_buffer_converter_feed_result(convd, &string, &resval) != NULL) { in _php_mb_encoding_handler_ex()
338 if (convd != NULL){ in _php_mb_encoding_handler_ex()
345 if (convd != NULL) { in _php_mb_encoding_handler_ex()
346 MBSTRG(illegalchars) += mbfl_buffer_illegalchars(convd); in _php_mb_encoding_handler_ex()
[all …]
H A Dmbstring.c922 mbfl_buffer_converter *convd; in php_mb_zend_encoding_converter() local
936 if (convd == NULL) { in php_mb_zend_encoding_converter()
3186 mbfl_buffer_converter *convd; in php_mb_convert_encoding() local
3246 if (convd == NULL) { in php_mb_convert_encoding()
3995 convd = NULL; in PHP_FUNCTION()
3998 if (convd == NULL) { in PHP_FUNCTION()
4007 if (convd != NULL) { in PHP_FUNCTION()
4875 if (convd == NULL) { in php_mb_init_convd()
4880 return convd; in php_mb_init_convd()
4927 if (convd == NULL) { in php_mb_check_encoding()
[all …]

Completed in 39 milliseconds