Home
last modified time | relevance | path

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

/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_jit_misc.c136 pcre2_jit_stack *jit_stack; in pcre2_jit_stack_create()
145 jit_stack = PRIV(memctl_malloc)(sizeof(pcre2_real_jit_stack), (pcre2_memctl *)gcontext); 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 return jit_stack; in pcre2_jit_stack_create()
181 pcre2_jit_stack_free(pcre2_jit_stack *jit_stack) in pcre2_jit_stack_free() argument
184 (void)jit_stack; in pcre2_jit_stack_free()
186 if (jit_stack != NULL) in pcre2_jit_stack_free()
188 sljit_free_stack((struct sljit_stack *)(jit_stack->stack), &jit_stack->memctl); in pcre2_jit_stack_free()
189 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_free()
H A Dpcre2_jit_match.c105 pcre2_jit_stack *jit_stack; in pcre2_jit_match()
141 jit_stack = mcontext->jit_callback(mcontext->jit_callback_data); in pcre2_jit_match()
143 jit_stack = (pcre2_jit_stack *)mcontext->jit_callback_data; in pcre2_jit_match()
152 jit_stack = NULL; in pcre2_jit_match()
165 if (jit_stack != NULL) in pcre2_jit_match()
167 arguments.stack = (struct sljit_stack *)(jit_stack->stack); in pcre2_jit_match()
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c74 ZEND_TLS pcre2_jit_stack *jit_stack = NULL;
202 if (jit && !jit_stack) { in php_pcre_init_pcre2()
203 jit_stack = pcre2_jit_stack_create(PCRE_JIT_STACK_MIN_SIZE, PCRE_JIT_STACK_MAX_SIZE, gctx); in php_pcre_init_pcre2()
204 if (!jit_stack) { in php_pcre_init_pcre2()
242 if (jit_stack) { in php_pcre_shutdown_pcre2()
243 pcre2_jit_stack_free(jit_stack); in php_pcre_shutdown_pcre2()
244 jit_stack = NULL; in php_pcre_shutdown_pcre2()
312 if (PCRE_G(jit) && jit_stack) { in PHP_INI_MH()
313 pcre2_jit_stack_assign(mctx, NULL, jit_stack); in PHP_INI_MH()

Completed in 26 milliseconds