Home
last modified time | relevance | path

Searched refs:oveccount (Results 1 – 12 of 12) sorted by relevance

/third_party/pcre2/pcre2/src/
Dpcre2_match_data.c57 pcre2_match_data_create(uint32_t oveccount, pcre2_general_context *gcontext) in pcre2_match_data_create() argument
60 if (oveccount < 1) oveccount = 1; in pcre2_match_data_create()
62 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create()
65 yield->oveccount = oveccount; in pcre2_match_data_create()
138 return match_data->oveccount; in pcre2_get_ovector_count()
163 2 * (match_data->oveccount) * sizeof(PCRE2_SIZE); in pcre2_get_match_data_size()
Dpcre2_jit_match.c105 uint32_t oveccount = match_data->oveccount; in pcre2_jit_match()
156 if (oveccount > max_oveccount) in pcre2_jit_match()
157 oveccount = max_oveccount; in pcre2_jit_match()
158 arguments.oveccount = oveccount << 1; in pcre2_jit_match()
170 if (rc > (int)oveccount) in pcre2_jit_match()
Dpcre2_substring.c87 if (n < match_data->oveccount) in pcre2_substring_copy_byname()
175 if (n < match_data->oveccount) in pcre2_substring_get_byname()
282 if (n < match_data->oveccount) in pcre2_substring_length_byname()
331 if (stringnumber >= match_data->oveccount) in pcre2_substring_length_bynumber()
338 if (stringnumber >= match_data->oveccount) return PCRE2_ERROR_UNAVAILABLE; in pcre2_substring_length_bynumber()
384 if (count == 0) count = match_data->oveccount; /* Ovector too small */ in pcre2_substring_list_get()
Dpcre2_substitute.c305 int pairs = (code->top_bracket + 1 < match_data->oveccount)? in pcre2_substitute()
306 code->top_bracket + 1 : match_data->oveccount; in pcre2_substitute()
307 internal_match_data = pcre2_match_data_create(match_data->oveccount, in pcre2_substitute()
487 scb.oveccount = rc; in pcre2_substitute()
Dpcre2test.c595 uint32_t oveccount; member
719 { "ovector", MOD_DAT, MOD_INT, 0, DO(oveccount) },
6127 scb->subscount, scb->oveccount, in substitute_callout_function()
6605 show_ovector(PCRE2_SIZE *ovector, uint32_t oveccount) in show_ovector() argument
6608 for (i = 0; i < 2*oveccount; i += 2) in show_ovector()
6653 uint32_t oveccount; in process_data() local
7126 if (dat_datctl.oveccount > 0) in process_data()
7128 pmatch = (regmatch_t *)malloc(sizeof(regmatch_t) * dat_datctl.oveccount); in process_data()
7132 "information (size set = %du)\n", dat_datctl.oveccount); in process_data()
7149 rc = regexec(&preg, (const char *)pp, dat_datctl.oveccount, pmatch, eflags); in process_data()
[all …]
Dpcre2_intmodedep.h662 uint16_t oveccount; /* Number of pairs */ member
Dpcre2_match.c584 uint16_t oveccount, uint16_t top_bracket, PCRE2_SIZE frame_size, in match() argument
872 i = 2 * ((top_bracket + 1 > oveccount)? oveccount : top_bracket + 1); in match()
7283 match_data->oveccount, re->top_bracket, frame_size, mb); in pcre2_match()
7484 match_data->rc = ((int)mb->end_offset_top >= 2 * match_data->oveccount)? in pcre2_match()
Dpcre2_dfa_match.c3981 (uint32_t)match_data->oveccount * 2, /* actual size of same */ in pcre2_dfa_match()
3992 if (rc == PCRE2_ERROR_PARTIAL && match_data->oveccount > 0) in pcre2_dfa_match()
Dpcre2.h.in558 uint32_t oveccount; /* Count of pairs set in ovector */ \
Dpcre2.h.generic558 uint32_t oveccount; /* Count of pairs set in ovector */ \
Dpcre2_jit_compile.c191 sljit_u32 oveccount; member
3369 OP1(SLJIT_MOV_U32, SLJIT_R1, 0, SLJIT_MEM1(SLJIT_R0), SLJIT_OFFSETOF(jit_arguments, oveccount)); in copy_ovector()
3382 OP1(SLJIT_MOV_U32, SLJIT_R1, 0, SLJIT_MEM1(ARGUMENTS), SLJIT_OFFSETOF(jit_arguments, oveccount)); in copy_ovector()
9696 sljit_u32 oveccount, capture_top; in do_callout() local
9705 oveccount = callout_block->capture_top; in do_callout()
9707 SLJIT_ASSERT(oveccount >= 1); in do_callout()
9729 while (--oveccount != 0) in do_callout()
/third_party/pcre2/pcre2/doc/
Dpcre2.txt3573 uint32_t oveccount;
3586 the most recent match. The oveccount field contains the number of pairs