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 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()
[all …]
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()
Dpcre2grep.c3802 pcre2_jit_stack *jit_stack = NULL; in main() local
4400 jit_stack = pcre2_jit_stack_create(32*1024, 1024*1024, NULL); in main()
4401 if (jit_stack != NULL ) in main()
4402 pcre2_jit_stack_assign(match_context, NULL, jit_stack); in main()
4518 if (jit_stack != NULL) pcre2_jit_stack_free(jit_stack); in main()
Dpcre2test.c911 static PCRE2_JIT_STACK *jit_stack = NULL; variable
7219 PCRE2_JIT_STACK_FREE(jit_stack); in process_data()
7220 PCRE2_JIT_STACK_CREATE(jit_stack, 1, dat_datctl.jitstack * 1024, NULL); in process_data()
7223 PCRE2_JIT_STACK_ASSIGN(dat_context, jit_callback, jit_stack); in process_data()
7228 else if (jit_stack != NULL) in process_data()
7231 PCRE2_JIT_STACK_FREE(jit_stack); in process_data()
7232 jit_stack = NULL; in process_data()
7239 if ((pat_patctl.control & CTL_JITVERIFY) != 0 && jit_stack == NULL) in process_data()
9177 if (jit_stack != NULL) in main()
9179 PCRE2_JIT_STACK_FREE(jit_stack); in main()
/external/pcre/dist2/doc/
Dpcre2.txt376 void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
1975 void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
5428 pcre2_jit_stack *jit_stack;
5434 jit_stack = pcre2_jit_stack_create(32*1024, 512*1024, NULL);
5435 pcre2_jit_stack_assign(mcontext, NULL, jit_stack);
5443 pcre2_jit_stack_free(jit_stack);