Home
last modified time | relevance | path

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

/PHP-8.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.c246 PCRE2_SIZE *ovector; in pcre2_substitute() local
328 scb.ovector = ovector; in pcre2_substitute()
447 if (ovector[1] < ovector[0] || ovector[0] < start_offset) in pcre2_substitute()
461 if (ovecsave[0] == ovector[0] && ovecsave[1] == ovector[1]) in pcre2_substitute()
463 if (ovector[0] == ovector[1] && ovecsave[2] != start_offset) in pcre2_substitute()
487 fraglength = ovector[0] - start_offset; in pcre2_substitute()
931 PCRE2_SIZE oldlength = ovector[1] - ovector[0]; in pcre2_substitute()
948 ovecsave[0] = ovector[0]; in pcre2_substitute()
949 ovecsave[1] = ovector[1]; in pcre2_substitute()
952 goptions = (ovector[0] != ovector[1] || ovector[0] > start_offset)? 0 : in pcre2_substitute()
[all …]
H A Dpcre2_match_data.c64 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create()
133 return match_data->ovector; in pcre2_get_ovector_pointer()
169 return offsetof(pcre2_match_data, ovector) + in pcre2_get_match_data_size()
H A Dpcre2_pattern_info.c168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
H A Dpcre2_match.c187 #define Fovector F->ovector
880 match_data->ovector[0] = Fstart_match - mb->start_subject; in match()
881 match_data->ovector[1] = Feptr - mb->start_subject; in match()
888 while (--i >= Foffset_top + 2) match_data->ovector[i] = PCRE2_UNSET; in match()
5421 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match()
5764 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5849 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6811 frame_size = (offsetof(heapframe, ovector) + in pcre2_match()
6862 frame_size - offsetof(heapframe, ovector)); in pcre2_match()
7523 match_data->ovector[0] = match_partial - subject; in pcre2_match()
[all …]
H A Dpcre2_intmodedep.h668 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
836 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_jit() local
9704 ovector = (PCRE2_SIZE*)(callout_block + 1); in do_callout_jit()
9720 callout_block->offset_vector = ovector; in do_callout_jit()
9722 ovector[0] = PCRE2_UNSET; in do_callout_jit()
9723 ovector[1] = PCRE2_UNSET; in do_callout_jit()
9724 ovector += 2; in do_callout_jit()
9733 ovector[0] = (PCRE2_SIZE)(jit_ovector[0] - begin); in do_callout_jit()
9734 ovector[1] = (PCRE2_SIZE)(jit_ovector[1] - begin); in do_callout_jit()
9736 if (ovector[0] != PCRE2_UNSET) in do_callout_jit()
[all …]

Completed in 96 milliseconds