Home
last modified time | relevance | path

Searched refs:jit_stack (Results 1 – 3 of 3) sorted by relevance

/PHP-8.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_misc.c138 pcre2_jit_stack *jit_stack; in pcre2_jit_stack_create()
148 if (jit_stack == NULL) return NULL; in pcre2_jit_stack_create()
149 jit_stack->stack = sljit_allocate_stack(startsize, maxsize, &jit_stack->memctl); in pcre2_jit_stack_create()
150 if (jit_stack->stack == NULL) in pcre2_jit_stack_create()
152 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_create()
155 return jit_stack; in pcre2_jit_stack_create()
188 pcre2_jit_stack_free(pcre2_jit_stack *jit_stack) in pcre2_jit_stack_free() argument
191 (void)jit_stack; in pcre2_jit_stack_free()
193 if (jit_stack != NULL) in pcre2_jit_stack_free()
195 sljit_free_stack((struct sljit_stack *)(jit_stack->stack), &jit_stack->memctl); in pcre2_jit_stack_free()
[all …]
H A Dpcre2_jit_match.c110 pcre2_jit_stack *jit_stack; in pcre2_jit_match()
146 jit_stack = mcontext->jit_callback(mcontext->jit_callback_data); in pcre2_jit_match()
148 jit_stack = (pcre2_jit_stack *)mcontext->jit_callback_data; in pcre2_jit_match()
157 jit_stack = NULL; in pcre2_jit_match()
168 if (jit_stack != NULL) in pcre2_jit_match()
170 arguments.stack = (struct sljit_stack *)(jit_stack->stack); in pcre2_jit_match()
/PHP-8.4/ext/pcre/
H A Dphp_pcre.c66 ZEND_TLS pcre2_jit_stack *jit_stack = NULL;
236 if (jit && !jit_stack) { in php_pcre_init_pcre2()
237 jit_stack = pcre2_jit_stack_create(PCRE_JIT_STACK_MIN_SIZE, PCRE_JIT_STACK_MAX_SIZE, gctx); in php_pcre_init_pcre2()
238 if (!jit_stack) { in php_pcre_init_pcre2()
276 if (jit_stack) { in php_pcre_shutdown_pcre2()
277 pcre2_jit_stack_free(jit_stack); in php_pcre_shutdown_pcre2()
278 jit_stack = NULL; in php_pcre_shutdown_pcre2()
344 if (PCRE_G(jit) && jit_stack) { in PHP_INI_MH()
345 pcre2_jit_stack_assign(mctx, NULL, jit_stack); in PHP_INI_MH()

Completed in 22 milliseconds