Lines Matching refs:match_data

3350   PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data,  in pcre2_dfa_match()  argument
3404 if (re == NULL || subject == NULL || workspace == NULL || match_data == NULL) in pcre2_dfa_match()
3621 match_data->rc = PRIV(valid_utf)(check_subject, in pcre2_dfa_match()
3622 length - (PCRE2_SIZE)(check_subject - subject), &(match_data->startchar)); in pcre2_dfa_match()
3623 if (match_data->rc != 0) in pcre2_dfa_match()
3625 match_data->startchar += (PCRE2_SIZE)(check_subject - subject); in pcre2_dfa_match()
3626 return match_data->rc; in pcre2_dfa_match()
3680 if ((match_data->flags & PCRE2_MD_COPIED_SUBJECT) != 0) in pcre2_dfa_match()
3682 match_data->memctl.free((void *)match_data->subject, in pcre2_dfa_match()
3683 match_data->memctl.memory_data); in pcre2_dfa_match()
3684 match_data->flags &= ~PCRE2_MD_COPIED_SUBJECT; in pcre2_dfa_match()
3689 match_data->code = re; in pcre2_dfa_match()
3690 match_data->subject = NULL; /* Default for no match */ in pcre2_dfa_match()
3691 match_data->mark = NULL; in pcre2_dfa_match()
3692 match_data->matchedby = PCRE2_MATCHEDBY_DFA_INTERPRETER; in pcre2_dfa_match()
4032 match_data->ovector, /* offset vector */ in pcre2_dfa_match()
4033 (uint32_t)match_data->oveccount * 2, /* actual size of same */ in pcre2_dfa_match()
4044 if (rc == PCRE2_ERROR_PARTIAL && match_data->oveccount > 0) 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()
4049 match_data->subject_length = length; in pcre2_dfa_match()
4050 match_data->leftchar = (PCRE2_SIZE)(mb->start_used_ptr - subject); in pcre2_dfa_match()
4051 match_data->rightchar = (PCRE2_SIZE)(mb->last_used_ptr - subject); in pcre2_dfa_match()
4052 match_data->startchar = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
4053 match_data->rc = rc; in pcre2_dfa_match()
4058 match_data->subject = match_data->memctl.malloc(length, in pcre2_dfa_match()
4059 match_data->memctl.memory_data); in pcre2_dfa_match()
4060 if (match_data->subject == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_dfa_match()
4061 memcpy((void *)match_data->subject, subject, length); in pcre2_dfa_match()
4062 match_data->flags |= PCRE2_MD_COPIED_SUBJECT; in pcre2_dfa_match()
4066 if (rc >= 0 || rc == PCRE2_ERROR_PARTIAL) match_data->subject = subject; in pcre2_dfa_match()