Lines Matching refs:jit_stack
138 pcre2_jit_stack *jit_stack; in pcre2_jit_stack_create()
147 jit_stack = PRIV(memctl_malloc)(sizeof(pcre2_real_jit_stack), (pcre2_memctl *)gcontext); 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()
196 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_free()