Home
last modified time | relevance | path

Searched refs:match_context (Results 1 – 3 of 3) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_fuzzsupport.c62 pcre2_match_context *match_context = NULL; in LLVMFuzzerTestOneInput() local
170 if (match_context == NULL) in LLVMFuzzerTestOneInput()
172 match_context = pcre2_match_context_create(NULL); in LLVMFuzzerTestOneInput()
173 if (match_context == NULL) in LLVMFuzzerTestOneInput()
180 (void)pcre2_set_match_limit(match_context, 100); in LLVMFuzzerTestOneInput()
181 (void)pcre2_set_depth_limit(match_context, 100); in LLVMFuzzerTestOneInput()
182 (void)pcre2_set_callout(match_context, callout_function, &callout_count); in LLVMFuzzerTestOneInput()
206 match_options, match_data, match_context); in LLVMFuzzerTestOneInput()
242 (PCRE2_SIZE)match_size, 0, match_options, match_data, match_context, in LLVMFuzzerTestOneInput()
278 if (match_context != NULL) pcre2_match_context_free(match_context); in LLVMFuzzerTestOneInput()
Dpcre2grep.c268 static pcre2_match_context *match_context; variable
1843 startoffset, options, match_data, match_context); in match_patterns()
4185 match_context = pcre2_match_context_create(NULL); in main()
4193 pcre2_set_callout(match_context, pcre2grep_callout, NULL); in main()
4198 if (heap_limit != PCRE2_UNSET) pcre2_set_heap_limit(match_context, heap_limit); in main()
4199 if (match_limit > 0) pcre2_set_match_limit(match_context, match_limit); in main()
4200 if (depth_limit > 0) pcre2_set_depth_limit(match_context, depth_limit); in main()
4402 pcre2_jit_stack_assign(match_context, NULL, jit_stack); in main()
4525 pcre2_match_context_free(match_context); in main()
/external/python/cpython3/Modules/
Dsre_lib.h424 DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
445 DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
514 DATA_ALLOC(SRE(match_context), nextctx); \
544 } SRE(match_context);
557 SRE(match_context)* ctx; in SRE()
558 SRE(match_context)* nextctx; in SRE()
562 DATA_ALLOC(SRE(match_context), ctx); in SRE()
849 DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos); in SRE()
939 DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos); in SRE()
972 DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos); in SRE()
[all …]