Lines Matching refs:arg_pattern

697 	zval *arg_pattern, *array = NULL;  in _php_mb_regex_ereg_exec()  local
706 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs|z/", &arg_pattern, &string, &string_len, &array) ==… in _php_mb_regex_ereg_exec()
733 if (Z_TYPE_P(arg_pattern) != IS_STRING) { in _php_mb_regex_ereg_exec()
735 if (Z_TYPE_P(arg_pattern) == IS_DOUBLE) { in _php_mb_regex_ereg_exec()
736 convert_to_long_ex(arg_pattern); /* get rid of decimal places */ in _php_mb_regex_ereg_exec()
738 convert_to_string_ex(arg_pattern); in _php_mb_regex_ereg_exec()
742 if (Z_STRLEN_P(arg_pattern) == 0) { in _php_mb_regex_ereg_exec()
748 …re = php_mbregex_compile_pattern(Z_STRVAL_P(arg_pattern), Z_STRLEN_P(arg_pattern), options, MBREX(… in _php_mb_regex_ereg_exec()
810 char *arg_pattern; in _php_mb_regex_ereg_replace_exec() local
889 arg_pattern = Z_STRVAL_P(arg_pattern_zval); in _php_mb_regex_ereg_replace_exec()
901 arg_pattern = pat_buf; in _php_mb_regex_ereg_replace_exec()
905 …re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), sy… in _php_mb_regex_ereg_replace_exec()
1098 char *arg_pattern; in PHP_FUNCTION() local
1109 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|l", &arg_pattern, &arg_pattern_len, &string, &strin… in PHP_FUNCTION()
1123 …if ((re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, MBREX(regex_default_options), … in PHP_FUNCTION()
1182 char *arg_pattern; in PHP_FUNCTION() local
1198 &arg_pattern, &arg_pattern_len, &string, &string_len, in PHP_FUNCTION()
1216 …if ((re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype)… in PHP_FUNCTION()
1235 char *arg_pattern = NULL, *arg_options = NULL; in _php_mb_regex_ereg_search_exec() local
1242 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ss", &arg_pattern, &arg_pattern_len, &arg_options, &a… in _php_mb_regex_ereg_search_exec()
1253 if (arg_pattern) { in _php_mb_regex_ereg_search_exec()
1255 …if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(cu… in _php_mb_regex_ereg_search_exec()
1363 char *arg_pattern = NULL, *arg_options = NULL; in PHP_FUNCTION() local
1368 …if (zend_parse_parameters(argc, "S|ss", &arg_str, &arg_pattern, &arg_pattern_len, &arg_options, &a… in PHP_FUNCTION()
1387 …if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(cu… in PHP_FUNCTION()