Home
last modified time | relevance | path

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

/external/pcre/dist2/src/
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()
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()
Dpcre2grep.c2944 pcre2_jit_stack *jit_stack = NULL; in main() local
3474 jit_stack = pcre2_jit_stack_create(32*1024, 1024*1024, NULL); in main()
3480 if (jit_stack != NULL && cp->compiled != NULL) in main()
3481 pcre2_jit_stack_assign(match_context, NULL, jit_stack); in main()
3573 if (jit_stack != NULL) pcre2_jit_stack_free(jit_stack); in main()
Dpcre2test.c782 static PCRE2_JIT_STACK *jit_stack = NULL; variable
6047 PCRE2_JIT_STACK_FREE(jit_stack); in process_data()
6048 PCRE2_JIT_STACK_CREATE(jit_stack, 1, dat_datctl.jitstack * 1024, NULL); in process_data()
6051 PCRE2_JIT_STACK_ASSIGN(dat_context, jit_callback, jit_stack); in process_data()
6056 else if (jit_stack != NULL) in process_data()
6059 PCRE2_JIT_STACK_FREE(jit_stack); in process_data()
6060 jit_stack = NULL; in process_data()
6067 if ((pat_patctl.control & CTL_JITVERIFY) != 0 && jit_stack == NULL) in process_data()
7676 if (jit_stack != NULL)
7678 PCRE2_JIT_STACK_FREE(jit_stack);
/external/pcre/dist2/doc/
Dpcre2.txt360 void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
1548 void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
4532 pcre2_jit_stack *jit_stack;
4538 jit_stack = pcre2_jit_stack_create(32*1024, 512*1024, NULL);
4539 pcre2_jit_stack_assign(mcontext, NULL, jit_stack);
4547 pcre2_jit_stack_free(jit_stack);