Lines Matching refs:syntax
448 …r *pattern, int patlen, OnigOptionType options, OnigEncoding enc, OnigSyntaxType *syntax TSRMLS_DC) in php_mbregex_compile_pattern()
457 …if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax)… in php_mbregex_compile_pattern()
458 …al, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, enc, syntax, &err_info)) != ON… in php_mbregex_compile_pattern()
474 …hp_mb_regex_get_option_string(char *str, size_t len, OnigOptionType option, OnigSyntaxType *syntax) in _php_mb_regex_get_option_string() argument
538 if (syntax == ONIG_SYNTAX_JAVA) { in _php_mb_regex_get_option_string()
540 } else if (syntax == ONIG_SYNTAX_GNU_REGEX) { in _php_mb_regex_get_option_string()
542 } else if (syntax == ONIG_SYNTAX_GREP) { in _php_mb_regex_get_option_string()
544 } else if (syntax == ONIG_SYNTAX_EMACS) { in _php_mb_regex_get_option_string()
546 } else if (syntax == ONIG_SYNTAX_RUBY) { in _php_mb_regex_get_option_string()
548 } else if (syntax == ONIG_SYNTAX_PERL) { in _php_mb_regex_get_option_string()
550 } else if (syntax == ONIG_SYNTAX_POSIX_BASIC) { in _php_mb_regex_get_option_string()
552 } else if (syntax == ONIG_SYNTAX_POSIX_EXTENDED) { in _php_mb_regex_get_option_string()
580 …it_options(const char *parg, int narg, OnigOptionType *option, OnigSyntaxType **syntax, int *eval) in _php_mb_regex_init_options() argument
586 *syntax = ONIG_SYNTAX_RUBY; in _php_mb_regex_init_options()
615 *syntax = ONIG_SYNTAX_JAVA; in _php_mb_regex_init_options()
618 *syntax = ONIG_SYNTAX_GNU_REGEX; in _php_mb_regex_init_options()
621 *syntax = ONIG_SYNTAX_GREP; in _php_mb_regex_init_options()
624 *syntax = ONIG_SYNTAX_EMACS; in _php_mb_regex_init_options()
627 *syntax = ONIG_SYNTAX_RUBY; in _php_mb_regex_init_options()
630 *syntax = ONIG_SYNTAX_PERL; in _php_mb_regex_init_options()
633 *syntax = ONIG_SYNTAX_POSIX_BASIC; in _php_mb_regex_init_options()
636 *syntax = ONIG_SYNTAX_POSIX_EXTENDED; in _php_mb_regex_init_options()
805 OnigSyntaxType *syntax; in _php_mb_regex_ereg_replace_exec() local
851 _php_mb_regex_init_options(option_str, option_str_len, &options, &syntax, &eval); in _php_mb_regex_ereg_replace_exec()
854 syntax = MBREX(regex_default_syntax); in _php_mb_regex_ereg_replace_exec()
870 …x_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax TSRMLS_CC); in _php_mb_regex_ereg_replace_exec()
1139 OnigSyntaxType *syntax; in PHP_FUNCTION() local
1154 _php_mb_regex_init_options(option_str, option_str_len, &option, &syntax, NULL); in PHP_FUNCTION()
1157 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1161 …le_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NUL… in PHP_FUNCTION()
1186 OnigSyntaxType *syntax; in _php_mb_regex_ereg_search_exec() local
1196 _php_mb_regex_init_options(arg_options, arg_options_len, &option, &syntax, NULL); in _php_mb_regex_ereg_search_exec()
1314 OnigSyntaxType *syntax = NULL; in PHP_FUNCTION() local
1327 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1331 _php_mb_regex_init_options(arg_options, arg_options_len, &option, &syntax, NULL); in PHP_FUNCTION()
1336 …le_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NUL… in PHP_FUNCTION()
1419 static void _php_mb_regex_set_options(OnigOptionType options, OnigSyntaxType *syntax, OnigOptionTyp… in _php_mb_regex_set_options() argument
1428 MBREX(regex_default_syntax) = syntax; in _php_mb_regex_set_options()
1437 OnigSyntaxType *syntax; in PHP_FUNCTION() local
1448 syntax = NULL; in PHP_FUNCTION()
1449 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL); in PHP_FUNCTION()
1450 _php_mb_regex_set_options(opt, syntax, NULL, NULL TSRMLS_CC); in PHP_FUNCTION()
1453 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1455 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax); in PHP_FUNCTION()