Home
last modified time | relevance | path

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

/php-src/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()
334 if (match_data->ovector[stringnumber*2] == PCRE2_UNSET) in pcre2_substring_length_bynumber()
343 left = match_data->ovector[stringnumber*2]; in pcre2_substring_length_bynumber()
344 right = match_data->ovector[stringnumber*2+1]; in pcre2_substring_length_bynumber()
384 PCRE2_SIZE *ovector; in pcre2_substring_list_get() local
390 ovector = match_data->ovector; in pcre2_substring_list_get()
397 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_jit_match.c191 __msan_unpoison(match_data->ovector, 2 * rc * sizeof(match_data->ovector[0])); in pcre2_jit_match()
H A Dpcre2_pattern_info.c168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
H A Dpcre2_match.c192 #define Fovector F->ovector
931 match_data->ovector[0] = Fstart_match - mb->start_subject; in match()
932 match_data->ovector[1] = Feptr - mb->start_subject; in match()
939 while (--i >= Foffset_top + 2) match_data->ovector[i] = PCRE2_UNSET; in match()
5942 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5978 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6068 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
7032 frame_size = (offsetof(heapframe, ovector) + in pcre2_match()
7083 frame_size - offsetof(heapframe, ovector)); in pcre2_match()
7756 match_data->ovector[0] = match_partial - subject; in pcre2_match()
[all …]
H A Dpcre2_intmodedep.h671 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
841 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member
H A Dpcre2.h565 PCRE2_SIZE *ovector; /* Pointer to current ovector */ \
H A Dpcre2_dfa_match.c4032 match_data->ovector, /* offset vector */ in pcre2_dfa_match()
4046 match_data->ovector[0] = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
4047 match_data->ovector[1] = (PCRE2_SIZE)(end_subject - subject); in pcre2_dfa_match()
H A Dpcre2_jit_compile.c3494 SLJIT_IMM, SLJIT_OFFSETOF(pcre2_match_data, ovector) - sizeof(PCRE2_SIZE)); in copy_ovector()
9899 PCRE2_SIZE *ovector; in do_callout_jit() local
9908 ovector = (PCRE2_SIZE*)(callout_block + 1); in do_callout_jit()
9924 callout_block->offset_vector = ovector; in do_callout_jit()
9926 ovector[0] = PCRE2_UNSET; in do_callout_jit()
9927 ovector[1] = PCRE2_UNSET; in do_callout_jit()
9928 ovector += 2; in do_callout_jit()
9937 ovector[0] = (PCRE2_SIZE)(jit_ovector[0] - begin); in do_callout_jit()
9938 ovector[1] = (PCRE2_SIZE)(jit_ovector[1] - begin); in do_callout_jit()
9940 if (ovector[0] != PCRE2_UNSET) in do_callout_jit()
[all …]

Completed in 76 milliseconds