Lines Matching refs:syntax

447 …(const char *pattern, int patlen, OnigOptionType options, OnigEncoding enc, OnigSyntaxType *syntax)  in php_mbregex_compile_pattern()  argument
455 if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) { in php_mbregex_compile_pattern()
456 …al, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, enc, syntax, &err_info)) != ON… in php_mbregex_compile_pattern()
476 …hp_mb_regex_get_option_string(char *str, size_t len, OnigOptionType option, OnigSyntaxType *syntax) in _php_mb_regex_get_option_string() argument
540 if (syntax == ONIG_SYNTAX_JAVA) { in _php_mb_regex_get_option_string()
542 } else if (syntax == ONIG_SYNTAX_GNU_REGEX) { in _php_mb_regex_get_option_string()
544 } else if (syntax == ONIG_SYNTAX_GREP) { in _php_mb_regex_get_option_string()
546 } else if (syntax == ONIG_SYNTAX_EMACS) { in _php_mb_regex_get_option_string()
548 } else if (syntax == ONIG_SYNTAX_RUBY) { in _php_mb_regex_get_option_string()
550 } else if (syntax == ONIG_SYNTAX_PERL) { in _php_mb_regex_get_option_string()
552 } else if (syntax == ONIG_SYNTAX_POSIX_BASIC) { in _php_mb_regex_get_option_string()
554 } else if (syntax == ONIG_SYNTAX_POSIX_EXTENDED) { in _php_mb_regex_get_option_string()
582 …nit_options(const char *parg, int narg, OnigOptionType *option, OnigSyntaxType **syntax, int *eval) in _php_mb_regex_init_options() argument
588 *syntax = ONIG_SYNTAX_RUBY; in _php_mb_regex_init_options()
617 *syntax = ONIG_SYNTAX_JAVA; in _php_mb_regex_init_options()
620 *syntax = ONIG_SYNTAX_GNU_REGEX; in _php_mb_regex_init_options()
623 *syntax = ONIG_SYNTAX_GREP; in _php_mb_regex_init_options()
626 *syntax = ONIG_SYNTAX_EMACS; in _php_mb_regex_init_options()
629 *syntax = ONIG_SYNTAX_RUBY; in _php_mb_regex_init_options()
632 *syntax = ONIG_SYNTAX_PERL; in _php_mb_regex_init_options()
635 *syntax = ONIG_SYNTAX_POSIX_BASIC; in _php_mb_regex_init_options()
638 *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()
874 …php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax); in _php_mb_regex_ereg_replace_exec()
1150 OnigSyntaxType *syntax; in PHP_FUNCTION() local
1165 _php_mb_regex_init_options(option_str, option_str_len, &option, &syntax, NULL); in PHP_FUNCTION()
1168 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1172 …x_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax)) == NULL) { in PHP_FUNCTION()
1196 OnigSyntaxType *syntax; in _php_mb_regex_ereg_search_exec() local
1206 _php_mb_regex_init_options(arg_options, arg_options_len, &option, &syntax, NULL); in _php_mb_regex_ereg_search_exec()
1321 OnigSyntaxType *syntax = NULL; in PHP_FUNCTION() local
1334 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1338 _php_mb_regex_init_options(arg_options, arg_options_len, &option, &syntax, NULL); in PHP_FUNCTION()
1343 …x_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax)) == NULL) { in PHP_FUNCTION()
1423 static void _php_mb_regex_set_options(OnigOptionType options, OnigSyntaxType *syntax, OnigOptionTyp… in _php_mb_regex_set_options() argument
1432 MBREX(regex_default_syntax) = syntax; in _php_mb_regex_set_options()
1441 OnigSyntaxType *syntax; in PHP_FUNCTION() local
1452 syntax = NULL; in PHP_FUNCTION()
1453 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL); in PHP_FUNCTION()
1454 _php_mb_regex_set_options(opt, syntax, NULL, NULL); in PHP_FUNCTION()
1457 syntax = MBREX(regex_default_syntax); in PHP_FUNCTION()
1459 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax); in PHP_FUNCTION()