Home
last modified time | relevance | path

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

/PHP-8.2/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.c246 PCRE2_SIZE *ovector; in pcre2_substitute() local
325 scb.ovector = ovector; in pcre2_substitute()
444 if (ovector[1] < ovector[0] || ovector[0] < start_offset) in pcre2_substitute()
458 if (ovecsave[0] == ovector[0] && ovecsave[1] == ovector[1]) in pcre2_substitute()
460 if (ovector[0] == ovector[1] && ovecsave[2] != start_offset) in pcre2_substitute()
484 fraglength = ovector[0] - start_offset; in pcre2_substitute()
928 PCRE2_SIZE oldlength = ovector[1] - ovector[0]; in pcre2_substitute()
945 ovecsave[0] = ovector[0]; in pcre2_substitute()
946 ovecsave[1] = ovector[1]; in pcre2_substitute()
949 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()
126 return match_data->ovector; in pcre2_get_ovector_pointer()
162 return offsetof(pcre2_match_data, ovector) + in pcre2_get_match_data_size()
H A Dpcre2_match.c187 #define Fovector F->ovector
867 ovector[0] = Fstart_match - mb->start_subject; in match()
868 ovector[1] = Feptr - mb->start_subject; in match()
873 memcpy(ovector + 2, Fovector, (i - 2) * sizeof(PCRE2_SIZE)); in match()
874 while (--i >= Foffset_top + 2) ovector[i] = PCRE2_UNSET; in match()
5835 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6809 frame_size = (offsetof(heapframe, ovector) + in pcre2_match()
6855 frame_size - offsetof(heapframe, ovector)); in pcre2_match()
7282 rc = match(start_match, mb->start_code, match_data->ovector, in pcre2_match()
7521 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.h664 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
832 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
H A Dpcre2.h557 PCRE2_SIZE *ovector; /* Pointer to current ovector */ \
H A Dpcre2_dfa_match.c3980 match_data->ovector, /* offset vector */ in pcre2_dfa_match()
3994 match_data->ovector[0] = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
3995 match_data->ovector[1] = (PCRE2_SIZE)(end_subject - subject); in pcre2_dfa_match()
H A Dpcre2_jit_compile.c3374 SLJIT_IMM, SLJIT_OFFSETOF(pcre2_match_data, ovector) - sizeof(PCRE2_SIZE)); in copy_ovector()
9695 PCRE2_SIZE *ovector; in do_callout() local
9704 ovector = (PCRE2_SIZE*)(callout_block + 1); in do_callout()
9720 callout_block->offset_vector = ovector; in do_callout()
9722 ovector[0] = PCRE2_UNSET; in do_callout()
9723 ovector[1] = PCRE2_UNSET; in do_callout()
9724 ovector += 2; in do_callout()
9733 ovector[0] = (PCRE2_SIZE)(jit_ovector[0] - begin); in do_callout()
9734 ovector[1] = (PCRE2_SIZE)(jit_ovector[1] - begin); in do_callout()
9736 if (ovector[0] != PCRE2_UNSET) in do_callout()
[all …]

Completed in 87 milliseconds