Lines Matching refs:encoding_name

236 static const mbfl_encoding *php_mb_get_encoding(zend_string *encoding_name, uint32_t arg_num) {  in php_mb_get_encoding()  argument
237 if (encoding_name) { in php_mb_get_encoding()
240 if (last_encoding_name && (last_encoding_name == encoding_name in php_mb_get_encoding()
241 || zend_string_equals_ci(encoding_name, last_encoding_name))) { in php_mb_get_encoding()
245 encoding = mbfl_name2encoding(ZSTR_VAL(encoding_name)); in php_mb_get_encoding()
247 …d_argument_value_error(arg_num, "must be a valid encoding, \"%s\" given", ZSTR_VAL(encoding_name)); in php_mb_get_encoding()
264 MBSTRG(last_used_encoding_name) = zend_string_copy(encoding_name); in php_mb_get_encoding()
272 static const mbfl_encoding *php_mb_get_encoding_or_pass(const char *encoding_name) { in php_mb_get_encoding_or_pass() argument
273 if (strcmp(encoding_name, "pass") == 0) { in php_mb_get_encoding_or_pass()
277 return mbfl_name2encoding(encoding_name); in php_mb_get_encoding_or_pass()
431 static const zend_encoding* php_mb_zend_encoding_fetcher(const char *encoding_name) in php_mb_zend_encoding_fetcher() argument
433 return (const zend_encoding*)mbfl_name2encoding(encoding_name); in php_mb_zend_encoding_fetcher()
2154 zend_string *encoding_name = NULL; in php_mb_strstr_variants() local
2161 Z_PARAM_STR_OR_NULL(encoding_name) in php_mb_strstr_variants()
2164 const mbfl_encoding *enc = php_mb_get_encoding(encoding_name, 4); in php_mb_strstr_variants()
3250 zend_string *encoding_name = NULL; in PHP_FUNCTION() local
3253 Z_PARAM_STR(encoding_name) in PHP_FUNCTION()
3256 encoding = php_mb_get_encoding(encoding_name, 1); in PHP_FUNCTION()