Home
last modified time | relevance | path

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

/PHP-8.3/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.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.3/ext/pcre/
H A Dphp_pcre.c69 ZEND_TLS pcre2_jit_stack *jit_stack = NULL;
243 if (jit && !jit_stack) { 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()
245 if (!jit_stack) { in php_pcre_init_pcre2()
283 if (jit_stack) { in php_pcre_shutdown_pcre2()
284 pcre2_jit_stack_free(jit_stack); in php_pcre_shutdown_pcre2()
285 jit_stack = NULL; in php_pcre_shutdown_pcre2()
358 if (PCRE_G(jit) && jit_stack) { in PHP_INI_MH()
359 pcre2_jit_stack_assign(mctx, NULL, jit_stack); in PHP_INI_MH()

Completed in 13 milliseconds