Home
last modified time | relevance | path

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

/PHP-7.3/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.3/ext/mbstring/
H A Dmb_gpc.c152 info.to_encoding = MBSTRG(internal_encoding); in ZEND_EXTERN_MODULE_GLOBALS()
204 mbfl_string_init_set(&string, info->to_language, info->to_encoding); in _php_mb_encoding_handler_ex()
205 mbfl_string_init_set(&resvar, info->to_language, info->to_encoding); in _php_mb_encoding_handler_ex()
206 mbfl_string_init_set(&resval, info->to_language, info->to_encoding); in _php_mb_encoding_handler_ex()
293 convd = mbfl_buffer_converter_new(from_encoding, info->to_encoding, 0); in _php_mb_encoding_handler_ex()
370 info.to_encoding = MBSTRG(internal_encoding); in SAPI_POST_HANDLER_FUNC()
H A Dmb_gpc.h32 const mbfl_encoding *to_encoding; member
H A Dmbstring.h120 const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding, size_t *output_len);
H A Dmbstring.c2173 info.to_encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
3057 convd = mbfl_buffer_converter_new(from_encoding, to_encoding, string.len); in php_mb_convert_encoding_ex()
3084 const mbfl_encoding *from_encoding, *to_encoding; in php_mb_convert_encoding() local
3094 to_encoding = mbfl_name2encoding(_to_encoding); in php_mb_convert_encoding()
3095 if (!to_encoding) { in php_mb_convert_encoding()
3100 to_encoding = MBSTRG(current_internal_encoding); in php_mb_convert_encoding()
3130 return php_mb_convert_encoding_ex(input, length, to_encoding, from_encoding, output_len); in php_mb_convert_encoding()
3810 const mbfl_encoding *from_encoding, *to_encoding; in PHP_FUNCTION() local
3825 to_encoding = mbfl_name2encoding(to_enc); in PHP_FUNCTION()
3826 if (!to_encoding) { in PHP_FUNCTION()
[all …]
/PHP-7.3/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…
H A Dmb_convert_encoding_array.phpt10 /* Prototype : string mb_convert_encoding(string $str, string $to_encoding [, mixed $from_encoding…
H A Dmb_convert_encoding_array2.phpt10 /* Prototype : string mb_convert_encoding(string $str, string $to_encoding [, mixed $from_encoding…
/PHP-7.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c201 const mbfl_encoding *from_encoding, *to_encoding; in mbfl_convert_filter_new2() local
208 to_encoding = mbfl_no2encoding(vtbl->to); in mbfl_convert_filter_new2()
216 if (mbfl_convert_filter_common_init(filter, from_encoding, to_encoding, vtbl, in mbfl_convert_filter_new2()

Completed in 33 milliseconds