Lines Matching refs:stringnumber
122 uint32_t stringnumber, PCRE2_UCHAR *buffer, PCRE2_SIZE *sizeptr) in pcre2_substring_copy_bynumber() argument
126 rc = pcre2_substring_length_bynumber(match_data, stringnumber, &size); in pcre2_substring_copy_bynumber()
129 memcpy(buffer, match_data->subject + match_data->ovector[stringnumber*2], in pcre2_substring_copy_bynumber()
210 uint32_t stringnumber, PCRE2_UCHAR **stringptr, PCRE2_SIZE *sizeptr) in pcre2_substring_get_bynumber() argument
215 rc = pcre2_substring_length_bynumber(match_data, stringnumber, &size); in pcre2_substring_get_bynumber()
221 memcpy(yield, match_data->subject + match_data->ovector[stringnumber*2], in pcre2_substring_get_bynumber()
317 uint32_t stringnumber, PCRE2_SIZE *sizeptr) in pcre2_substring_length_bynumber() argument
323 if (stringnumber > 0) return PCRE2_ERROR_PARTIAL; in pcre2_substring_length_bynumber()
330 if (stringnumber > match_data->code->top_bracket) in pcre2_substring_length_bynumber()
332 if (stringnumber >= match_data->oveccount) in pcre2_substring_length_bynumber()
334 if (match_data->ovector[stringnumber*2] == PCRE2_UNSET) in pcre2_substring_length_bynumber()
339 if (stringnumber >= match_data->oveccount) return PCRE2_ERROR_UNAVAILABLE; in pcre2_substring_length_bynumber()
340 if (count != 0 && stringnumber >= (uint32_t)count) return PCRE2_ERROR_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()