Home
last modified time | relevance | path

Searched refs:ovector (Results 1 – 8 of 8) sorted by relevance

/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_substring.c89 if (match_data->ovector[n*2] != PCRE2_UNSET) in pcre2_substring_copy_byname()
129 memcpy(buffer, match_data->subject + match_data->ovector[stringnumber*2], in pcre2_substring_copy_bynumber()
177 if (match_data->ovector[n*2] != PCRE2_UNSET) in pcre2_substring_get_byname()
284 if (match_data->ovector[n*2] != PCRE2_UNSET) in pcre2_substring_length_byname()
333 if (match_data->ovector[stringnumber*2] == PCRE2_UNSET) in pcre2_substring_length_bynumber()
342 left = match_data->ovector[stringnumber*2]; in pcre2_substring_length_bynumber()
343 right = match_data->ovector[stringnumber*2+1]; in pcre2_substring_length_bynumber()
381 PCRE2_SIZE *ovector; in pcre2_substring_list_get() local
387 ovector = match_data->ovector; in pcre2_substring_list_get()
394 if (ovector[i+1] > ovector[i]) size += CU2BYTES(ovector[i+1] - ovector[i]); in pcre2_substring_list_get()
[all …]
H A Dpcre2_substitute.c240 PCRE2_SIZE *ovector; in pcre2_substitute() local
264 ovector = pcre2_get_ovector_pointer(match_data); in pcre2_substitute()
368 if (ovector[1] < ovector[0] || ovector[0] < start_offset) in pcre2_substitute()
382 if (ovecsave[0] == ovector[0] && ovecsave[1] == ovector[1]) in pcre2_substitute()
384 if (ovector[0] == ovector[1] && ovecsave[2] != start_offset) in pcre2_substitute()
407 fraglength = ovector[0] - start_offset; in pcre2_substitute()
614 if (ovector[ng*2] != PCRE2_UNSET) in pcre2_substitute()
682 subptr = subject + ovector[group*2]; in pcre2_substitute()
683 subptrend = subject + ovector[group*2 + 1]; in pcre2_substitute()
833 goptions = (ovector[0] != ovector[1] || ovector[0] > start_offset)? 0 : in pcre2_substitute()
[all …]
H A Dpcre2_match_data.c62 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create()
120 return match_data->ovector; in pcre2_get_ovector_pointer()
H A Dpcre2_match.c185 #define Fovector F->ovector
844 ovector[0] = Fstart_match - mb->start_subject; in match()
845 ovector[1] = Feptr - mb->start_subject; in match()
850 memcpy(ovector + 2, Fovector, (i - 2) * sizeof(PCRE2_SIZE)); in match()
851 while (--i >= Foffset_top + 2) ovector[i] = PCRE2_UNSET; in match()
5479 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5545 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6276 frame_size = offsetof(heapframe, ovector) + in pcre2_match()
6683 rc = match(start_match, mb->start_code, match_data->ovector, in pcre2_match()
6845 match_data->ovector[0] = match_partial - subject; in pcre2_match()
[all …]
H A Dpcre2_pattern_info.c168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
H A Dpcre2_intmodedep.h662 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
830 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
H A Dpcre2_dfa_match.c3798 match_data->ovector, /* offset vector */ in pcre2_dfa_match()
3812 match_data->ovector[0] = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
3813 match_data->ovector[1] = (PCRE2_SIZE)(end_subject - subject); in pcre2_dfa_match()
H A Dpcre2_jit_compile.c2843 SLJIT_IMM, SLJIT_OFFSETOF(pcre2_match_data, ovector) - sizeof(PCRE2_SIZE)); in copy_ovector()
8205 PCRE2_SIZE *ovector; in do_callout() local
8214 ovector = (PCRE2_SIZE*)(callout_block + 1); in do_callout()
8230 callout_block->offset_vector = ovector; in do_callout()
8232 ovector[0] = PCRE2_UNSET; in do_callout()
8233 ovector[1] = PCRE2_UNSET; in do_callout()
8234 ovector += 2; in do_callout()
8243 ovector[0] = (PCRE2_SIZE)(jit_ovector[0] - begin); in do_callout()
8244 ovector[1] = (PCRE2_SIZE)(jit_ovector[1] - begin); in do_callout()
8246 if (ovector[0] != PCRE2_UNSET) in do_callout()
[all …]

Completed in 68 milliseconds