Home
last modified time | relevance | path

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

/PHP-7.4/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
313 scb.ovector = ovector; in pcre2_substitute()
425 if (ovector[1] < ovector[0] || ovector[0] < start_offset) in pcre2_substitute()
439 if (ovecsave[0] == ovector[0] && ovecsave[1] == ovector[1]) in pcre2_substitute()
441 if (ovector[0] == ovector[1] && ovecsave[2] != start_offset) in pcre2_substitute()
465 fraglength = ovector[0] - start_offset; in pcre2_substitute()
909 PCRE2_SIZE oldlength = ovector[1] - ovector[0]; in pcre2_substitute()
926 ovecsave[0] = ovector[0]; in pcre2_substitute()
927 ovecsave[1] = ovector[1]; in pcre2_substitute()
930 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.c186 #define Fovector F->ovector
864 ovector[0] = Fstart_match - mb->start_subject; in match()
865 ovector[1] = Feptr - mb->start_subject; in match()
870 memcpy(ovector + 2, Fovector, (i - 2) * sizeof(PCRE2_SIZE)); in match()
871 while (--i >= Foffset_top + 2) ovector[i] = PCRE2_UNSET; in match()
5555 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5640 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6604 frame_size = offsetof(heapframe, ovector) + in pcre2_match()
7052 rc = match(start_match, mb->start_code, match_data->ovector, in pcre2_match()
7290 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.h555 PCRE2_SIZE *ovector; /* Pointer to current ovector */ \
H A Dpcre2_dfa_match.c3902 match_data->ovector, /* offset vector */ in pcre2_dfa_match()
3916 match_data->ovector[0] = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
3917 match_data->ovector[1] = (PCRE2_SIZE)(end_subject - subject); in pcre2_dfa_match()
H A Dpcre2_jit_compile.c3304 SLJIT_IMM, SLJIT_OFFSETOF(pcre2_match_data, ovector) - sizeof(PCRE2_SIZE)); in copy_ovector()
9387 PCRE2_SIZE *ovector; in do_callout() local
9396 ovector = (PCRE2_SIZE*)(callout_block + 1); in do_callout()
9412 callout_block->offset_vector = ovector; in do_callout()
9414 ovector[0] = PCRE2_UNSET; in do_callout()
9415 ovector[1] = PCRE2_UNSET; in do_callout()
9416 ovector += 2; in do_callout()
9425 ovector[0] = (PCRE2_SIZE)(jit_ovector[0] - begin); in do_callout()
9426 ovector[1] = (PCRE2_SIZE)(jit_ovector[1] - begin); in do_callout()
9428 if (ovector[0] != PCRE2_UNSET) in do_callout()
[all …]

Completed in 128 milliseconds