Lines Matching refs:encoding_name

215 static const mbfl_encoding *php_mb_get_encoding(zend_string *encoding_name, uint32_t arg_num) {  in php_mb_get_encoding()  argument
216 if (encoding_name) { in php_mb_get_encoding()
219 if (last_encoding_name && (last_encoding_name == encoding_name in php_mb_get_encoding()
220 || zend_string_equals_ci(encoding_name, last_encoding_name))) { in php_mb_get_encoding()
224 encoding = mbfl_name2encoding(ZSTR_VAL(encoding_name)); in php_mb_get_encoding()
226 …d_argument_value_error(arg_num, "must be a valid encoding, \"%s\" given", ZSTR_VAL(encoding_name)); in php_mb_get_encoding()
233 MBSTRG(last_used_encoding_name) = zend_string_copy(encoding_name); in php_mb_get_encoding()
241 static const mbfl_encoding *php_mb_get_encoding_or_pass(const char *encoding_name) { in php_mb_get_encoding_or_pass() argument
242 if (strcmp(encoding_name, "pass") == 0) { in php_mb_get_encoding_or_pass()
246 return mbfl_name2encoding(encoding_name); in php_mb_get_encoding_or_pass()
402 static const zend_encoding* php_mb_zend_encoding_fetcher(const char *encoding_name) in php_mb_zend_encoding_fetcher() argument
404 return (const zend_encoding*)mbfl_name2encoding(encoding_name); in php_mb_zend_encoding_fetcher()
2005 zend_string *encoding_name = NULL; in php_mb_strstr_variants() local
2013 Z_PARAM_STR_OR_NULL(encoding_name) in php_mb_strstr_variants()
2018 haystack.encoding = needle.encoding = php_mb_get_encoding(encoding_name, 4); in php_mb_strstr_variants()
2800 zend_string *encoding_name = NULL; in PHP_FUNCTION() local
2803 Z_PARAM_STR(encoding_name) in PHP_FUNCTION()
2806 encoding = php_mb_get_encoding(encoding_name, 1); in PHP_FUNCTION()