Lines Matching refs:_from_encodings
2948 …st char *input, size_t length, const char *_to_encoding, const char *_from_encodings, size_t *outp… in php_mb_convert_encoding() argument
2984 if (_from_encodings) { in php_mb_convert_encoding()
2987 php_mb_parse_encoding_list(_from_encodings, strlen(_from_encodings), &list, &size, 0 TSRMLS_CC); in php_mb_convert_encoding()
3043 char *_from_encodings = NULL, *ret, *s_free = NULL; in PHP_FUNCTION() local
3058 _from_encodings = NULL; in PHP_FUNCTION()
3067 if ( _from_encodings) { in PHP_FUNCTION()
3068 l = strlen(_from_encodings); in PHP_FUNCTION()
3070 _from_encodings = erealloc(_from_encodings, l+n+2); in PHP_FUNCTION()
3071 strcpy(_from_encodings+l, ","); in PHP_FUNCTION()
3072 strcpy(_from_encodings+l+1, Z_STRVAL_PP(hash_entry)); in PHP_FUNCTION()
3074 _from_encodings = estrdup(Z_STRVAL_PP(hash_entry)); in PHP_FUNCTION()
3081 if (_from_encodings != NULL && !strlen(_from_encodings)) { in PHP_FUNCTION()
3082 efree(_from_encodings); in PHP_FUNCTION()
3083 _from_encodings = NULL; in PHP_FUNCTION()
3085 s_free = _from_encodings; in PHP_FUNCTION()
3089 _from_encodings = Z_STRVAL_P(arg_old); in PHP_FUNCTION()
3095 ret = php_mb_convert_encoding(arg_str, str_len, arg_new, _from_encodings, &size TSRMLS_CC); in PHP_FUNCTION()