Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/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.c3766 pcre2_jit_stack *jit_stack = NULL; in main() local
4322 jit_stack = pcre2_jit_stack_create(32*1024, 1024*1024, NULL); in main()
4323 if (jit_stack != NULL ) in main()
4324 pcre2_jit_stack_assign(match_context, NULL, jit_stack); in main()
4445 if (jit_stack != NULL) pcre2_jit_stack_free(jit_stack); in main()
Dpcre2test.c922 static PCRE2_JIT_STACK *jit_stack = NULL; variable
7242 PCRE2_JIT_STACK_FREE(jit_stack); in process_data()
7243 PCRE2_JIT_STACK_CREATE(jit_stack, 1, dat_datctl.jitstack * 1024, NULL); in process_data()
7246 PCRE2_JIT_STACK_ASSIGN(dat_context, jit_callback, jit_stack); in process_data()
7251 else if (jit_stack != NULL) in process_data()
7254 PCRE2_JIT_STACK_FREE(jit_stack); in process_data()
7255 jit_stack = NULL; in process_data()
7262 if ((pat_patctl.control & CTL_JITVERIFY) != 0 && jit_stack == NULL) in process_data()
9408 if (jit_stack != NULL) in main()
9410 PCRE2_JIT_STACK_FREE(jit_stack); in main()
/third_party/pcre2/pcre2/doc/
Dpcre2.txt381 void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
1987 void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
5473 pcre2_jit_stack *jit_stack;
5479 jit_stack = pcre2_jit_stack_create(32*1024, 512*1024, NULL);
5480 pcre2_jit_stack_assign(mcontext, NULL, jit_stack);
5488 pcre2_jit_stack_free(jit_stack);