Lines Matching refs:from_encoding

2034 	zend_string *from_encoding = NULL;
2041 Z_PARAM_STR_OR_NULL(from_encoding)
2044 const mbfl_encoding *enc = php_mb_get_encoding(from_encoding, 4);
2065 zend_string *from_encoding = NULL;
2072 Z_PARAM_STR_OR_NULL(from_encoding)
2075 const mbfl_encoding *enc = php_mb_get_encoding(from_encoding, 4);
2698 MBSTRING_API zend_string* php_mb_convert_encoding_ex(const char *input, size_t length, const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding)
2701 zend_string *result = mb_fast_convert((unsigned char*)input, length, from_encoding, to_encoding, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_illegal_mode), &num_errors);
2708 const mbfl_encoding *from_encoding;
2713 from_encoding = *from_encodings;
2716 from_encoding = mb_guess_encoding((unsigned char*)input, length, from_encodings, num_from_encodings, MBSTRG(strict_detection), true);
2717 if (!from_encoding) {
2723 return php_mb_convert_encoding_ex(input, length, to_encoding, from_encoding);
2901 zend_string *str, *from_encoding = NULL;
2908 Z_PARAM_STR_OR_NULL(from_encoding)
2911 const mbfl_encoding *enc = php_mb_get_encoding(from_encoding, 3);
2926 zend_string *str, *from_encoding = NULL;
2931 Z_PARAM_STR_OR_NULL(from_encoding)
2934 const mbfl_encoding *enc = php_mb_get_encoding(from_encoding, 2);
2944 zend_string *str, *from_encoding = NULL;
2949 Z_PARAM_STR_OR_NULL(from_encoding)
2952 const mbfl_encoding *enc = php_mb_get_encoding(from_encoding, 2);
2962 zend_string *str, *from_encoding = NULL;
2967 Z_PARAM_STR_OR_NULL(from_encoding)
2970 const mbfl_encoding *enc = php_mb_get_encoding(from_encoding, 2);
3749 static bool mb_recursive_convert_variable(zval *var, const mbfl_encoding* from_encoding, const mbfl_encoding* to_encoding)
3757 zend_string *ret = php_mb_convert_encoding_ex(Z_STRVAL_P(var), Z_STRLEN_P(var), to_encoding, from_encoding);
3774 if (mb_recursive_convert_variable(entry, from_encoding, to_encoding)) {
3797 const mbfl_encoding *from_encoding, *to_encoding;
3814 from_encoding = MBSTRG(current_internal_encoding);
3841 from_encoding = *elist;
3862 from_encoding = mb_guess_encoding_for_strings(val_list, len_list, num, elist, elistsz, MBSTRG(strict_detection), order_significant);
3865 if (!from_encoding) {
3879 if (mb_recursive_convert_variable(zv, from_encoding, to_encoding)) {
3885 RETURN_STRING(from_encoding->name);