Lines Matching refs:jit_stack
136 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 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()
194 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_free()