Home
last modified time | relevance | path

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

/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_jit_misc.c136 pcre2_jit_stack *jit_stack; in pcre2_jit_stack_create()
146 if (jit_stack == NULL) return NULL; in pcre2_jit_stack_create()
147 jit_stack->stack = sljit_allocate_stack(startsize, maxsize, &jit_stack->memctl); in pcre2_jit_stack_create()
148 if (jit_stack->stack == NULL) in pcre2_jit_stack_create()
150 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_create()
153 return jit_stack; in pcre2_jit_stack_create()
186 pcre2_jit_stack_free(pcre2_jit_stack *jit_stack) in pcre2_jit_stack_free() argument
189 (void)jit_stack; in pcre2_jit_stack_free()
191 if (jit_stack != NULL) in pcre2_jit_stack_free()
193 sljit_free_stack((struct sljit_stack *)(jit_stack->stack), &jit_stack->memctl); in pcre2_jit_stack_free()
[all …]
H A Dpcre2_jit_match.c104 pcre2_jit_stack *jit_stack; in pcre2_jit_match()
140 jit_stack = mcontext->jit_callback(mcontext->jit_callback_data); in pcre2_jit_match()
142 jit_stack = (pcre2_jit_stack *)mcontext->jit_callback_data; in pcre2_jit_match()
151 jit_stack = NULL; in pcre2_jit_match()
162 if (jit_stack != NULL) in pcre2_jit_match()
164 arguments.stack = (struct sljit_stack *)(jit_stack->stack); in pcre2_jit_match()
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c60 ZEND_TLS pcre2_jit_stack *jit_stack = NULL;
234 if (jit && !jit_stack) { in php_pcre_init_pcre2()
235 jit_stack = pcre2_jit_stack_create(PCRE_JIT_STACK_MIN_SIZE, PCRE_JIT_STACK_MAX_SIZE, gctx); in php_pcre_init_pcre2()
236 if (!jit_stack) { in php_pcre_init_pcre2()
274 if (jit_stack) { in php_pcre_shutdown_pcre2()
275 pcre2_jit_stack_free(jit_stack); in php_pcre_shutdown_pcre2()
276 jit_stack = NULL; in php_pcre_shutdown_pcre2()
349 if (PCRE_G(jit) && jit_stack) { in PHP_INI_MH()
350 pcre2_jit_stack_assign(mctx, NULL, jit_stack); in PHP_INI_MH()

Completed in 15 milliseconds