Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/src/
Dpcre2_fuzzsupport.c62 pcre2_match_context *match_context = NULL; in LLVMFuzzerTestOneInput() local
174 if (match_context == NULL) in LLVMFuzzerTestOneInput()
176 match_context = pcre2_match_context_create(NULL); in LLVMFuzzerTestOneInput()
177 if (match_context == NULL) in LLVMFuzzerTestOneInput()
184 (void)pcre2_set_match_limit(match_context, 100); in LLVMFuzzerTestOneInput()
185 (void)pcre2_set_depth_limit(match_context, 100); in LLVMFuzzerTestOneInput()
186 (void)pcre2_set_callout(match_context, callout_function, &callout_count); in LLVMFuzzerTestOneInput()
210 match_options, match_data, match_context); in LLVMFuzzerTestOneInput()
246 (PCRE2_SIZE)match_size, 0, match_options, match_data, match_context, in LLVMFuzzerTestOneInput()
282 if (match_context != NULL) pcre2_match_context_free(match_context); in LLVMFuzzerTestOneInput()
Dpcre2grep.c261 static pcre2_match_context *match_context; variable
1835 startoffset, options, match_data, match_context); in match_patterns()
4120 match_context = pcre2_match_context_create(NULL); in main()
4128 pcre2_set_callout(match_context, pcre2grep_callout, NULL); in main()
4133 if (heap_limit != PCRE2_UNSET) pcre2_set_heap_limit(match_context, heap_limit); in main()
4134 if (match_limit > 0) pcre2_set_match_limit(match_context, match_limit); in main()
4135 if (depth_limit > 0) pcre2_set_depth_limit(match_context, depth_limit); in main()
4324 pcre2_jit_stack_assign(match_context, NULL, jit_stack); in main()
4452 pcre2_match_context_free(match_context); in main()
/third_party/rust/crates/regex/bench/src/ffi/
Dpcre2.rs159 type match_context = c_void; // unused typedef
192 match_context: *mut match_context, in pcre2_jit_match_8() argument
/third_party/python/Modules/
Dsre_lib.h423 DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
443 DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
513 DATA_ALLOC(SRE(match_context), nextctx); \
543 } SRE(match_context);
556 SRE(match_context)* ctx; in SRE()
557 SRE(match_context)* nextctx; in SRE()
561 DATA_ALLOC(SRE(match_context), ctx); in SRE()
847 DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos); in SRE()
937 DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos); in SRE()
970 DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos); in SRE()
[all …]