Lines Matching refs:gctx
72 ZEND_TLS pcre2_general_context *gctx = NULL; variable
216 if (!gctx) { in php_pcre_init_pcre2()
217 gctx = pcre2_general_context_create(php_pcre_malloc, php_pcre_free, NULL); in php_pcre_init_pcre2()
218 if (!gctx) { in php_pcre_init_pcre2()
225 cctx = pcre2_compile_context_create(gctx); in php_pcre_init_pcre2()
235 mctx = pcre2_match_context_create(gctx); in php_pcre_init_pcre2()
244 jit_stack = pcre2_jit_stack_create(PCRE_JIT_STACK_MIN_SIZE, PCRE_JIT_STACK_MAX_SIZE, gctx); in php_pcre_init_pcre2()
253 mdata = pcre2_match_data_create(PHP_PCRE_PREALLOC_MDATA_SIZE, gctx); in php_pcre_init_pcre2()
265 if (gctx) { in php_pcre_shutdown_pcre2()
266 pcre2_general_context_free(gctx); in php_pcre_shutdown_pcre2()
267 gctx = NULL; in php_pcre_shutdown_pcre2()
777 tables = pcre2_maketables(gctx); in pcre_get_compiled_regex_cache_ex()
934 return pcre2_match_data_create_from_pattern(re, gctx); in php_pcre_create_match_data()
3003 return gctx; in php_pcre_gctx()