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()
802 OnigSyntaxType *syntax; in _php_mb_regex_ereg_replace_exec() local
838 _php_mb_regex_init_options(option_str, option_str_len, &options, &syntax, &eval); in _php_mb_regex_ereg_replace_exec()
841 syntax = MBREX(regex_default_syntax); in _php_mb_regex_ereg_replace_exec()
857 …x_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax TSRMLS_CC); in _php_mb_regex_ereg_replace_exec()
1075 OnigSyntaxType *syntax; in PHP_FUNCTION() local
1090 _php_mb_regex_init_options(option_str, option_str_len, &option, &syntax, NULL); in PHP_FUNCTION()
1093 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1097 …le_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NUL… in PHP_FUNCTION()
1122 OnigSyntaxType *syntax; in _php_mb_regex_ereg_search_exec() local
1132 _php_mb_regex_init_options(arg_options, arg_options_len, &option, &syntax, NULL); in _php_mb_regex_ereg_search_exec()
1250 OnigSyntaxType *syntax = NULL; in PHP_FUNCTION() local
1263 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1267 _php_mb_regex_init_options(arg_options, arg_options_len, &option, &syntax, NULL); in PHP_FUNCTION()
1272 …le_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NUL… in PHP_FUNCTION()
1355 static void _php_mb_regex_set_options(OnigOptionType options, OnigSyntaxType *syntax, OnigOptionTyp… in _php_mb_regex_set_options() argument
1364 MBREX(regex_default_syntax) = syntax; in _php_mb_regex_set_options()
1373 OnigSyntaxType *syntax; in PHP_FUNCTION() local
1384 syntax = NULL; in PHP_FUNCTION()
1385 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL); in PHP_FUNCTION()
1386 _php_mb_regex_set_options(opt, syntax, NULL, NULL TSRMLS_CC); in PHP_FUNCTION()
1389 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1391 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax); in PHP_FUNCTION()