Home
last modified time | relevance | path

Searched refs:to_encoding (Results 1 – 8 of 8) sorted by relevance

/PHP-7.1/ext/mbstring/libmbfl/tests/
H A Demoji.c30 enum mbfl_no_encoding from_encoding, to_encoding; in main() local
66 to_encoding = mbfl_name2no_encoding("UTF-8"); in main()
68 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); in main()
78 mbfl_string_init_set(&result, no_language, to_encoding); in main()
98 convd2 = mbfl_buffer_converter_new(to_encoding, from_encoding, 0); in main()
100 mbfl_string_init_set(&string, no_language, to_encoding); in main()
H A Dsample.c13 enum mbfl_no_encoding from_encoding, to_encoding; in main() local
22 to_encoding = mbfl_name2no_encoding("SJIS"); in main()
32 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); in main()
H A Dconv_encoding.c26 enum mbfl_no_encoding from_encoding, to_encoding; in main() local
45 if ((to_encoding = mbfl_name2no_encoding(argv[2])) == in main()
57 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); in main()
94 mbfl_string_init_set(&result, no_language, to_encoding); in main()
/PHP-7.1/ext/mbstring/
H A Dmb_gpc.c154 info.to_encoding = MBSTRG(internal_encoding); in ZEND_EXTERN_MODULE_GLOBALS()
206 mbfl_string_init_set(&string, info->to_language, info->to_encoding->no_encoding); in _php_mb_encoding_handler_ex()
207 mbfl_string_init_set(&resvar, info->to_language, info->to_encoding->no_encoding); in _php_mb_encoding_handler_ex()
208 mbfl_string_init_set(&resval, info->to_language, info->to_encoding->no_encoding); in _php_mb_encoding_handler_ex()
295 convd = mbfl_buffer_converter_new2(from_encoding, info->to_encoding, 0); in _php_mb_encoding_handler_ex()
372 info.to_encoding = MBSTRG(internal_encoding); in SAPI_POST_HANDLER_FUNC()
H A Dmb_gpc.h34 const mbfl_encoding *to_encoding; member
H A Dmbstring.c2093 info.to_encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
3145 const mbfl_encoding *from_encoding, *to_encoding; in php_mb_convert_encoding() local
3159 to_encoding = mbfl_name2encoding(_to_encoding); in php_mb_convert_encoding()
3160 if (!to_encoding) { in php_mb_convert_encoding()
3165 to_encoding = MBSTRG(current_internal_encoding); in php_mb_convert_encoding()
3193 to_encoding = from_encoding; in php_mb_convert_encoding()
3205 convd = mbfl_buffer_converter_new2(from_encoding, to_encoding, string.len); in php_mb_convert_encoding()
3723 const mbfl_encoding *from_encoding, *to_encoding; in PHP_FUNCTION() local
3739 to_encoding = mbfl_name2encoding(to_enc); in PHP_FUNCTION()
3740 if (!to_encoding) { in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/mbstring/tests/
H A Dmb_convert_encoding_variation1.phpt2 Test mb_convert_encoding() function : usage variations - pass different data types as $to_encoding
10 /* Prototype : string mb_convert_encoding(string $str, string $to_encoding [, mixed $from_encoding…
17 * Pass different data types to $to_encoding arg to test behaviour of mb_convert_encoding
46 // unexpected values to be passed to $to_encoding argument
H A Dmb_convert_encoding_basic.phpt10 /* Prototype : string mb_convert_encoding(string $str, string $to_encoding [, mixed $from_encoding…

Completed in 39 milliseconds