• Home
  • Raw
  • Download

Lines Matching refs:match_data

3241   PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data,  in pcre2_dfa_match()  argument
3300 if (re == NULL || subject == NULL || workspace == NULL || match_data == NULL) in pcre2_dfa_match()
3510 match_data->rc = PRIV(valid_utf)(check_subject, in pcre2_dfa_match()
3511 length - (PCRE2_SIZE)(check_subject - subject), &(match_data->startchar)); in pcre2_dfa_match()
3512 if (match_data->rc != 0) in pcre2_dfa_match()
3514 match_data->startchar += (PCRE2_SIZE)(check_subject - subject); in pcre2_dfa_match()
3515 return match_data->rc; in pcre2_dfa_match()
3569 if ((match_data->flags & PCRE2_MD_COPIED_SUBJECT) != 0) in pcre2_dfa_match()
3571 match_data->memctl.free((void *)match_data->subject, in pcre2_dfa_match()
3572 match_data->memctl.memory_data); in pcre2_dfa_match()
3573 match_data->flags &= ~PCRE2_MD_COPIED_SUBJECT; in pcre2_dfa_match()
3578 match_data->code = re; in pcre2_dfa_match()
3579 match_data->subject = NULL; /* Default for no match */ in pcre2_dfa_match()
3580 match_data->mark = NULL; in pcre2_dfa_match()
3581 match_data->matchedby = PCRE2_MATCHEDBY_DFA_INTERPRETER; in pcre2_dfa_match()
3902 match_data->ovector, /* offset vector */ in pcre2_dfa_match()
3903 (uint32_t)match_data->oveccount * 2, /* actual size of same */ in pcre2_dfa_match()
3914 if (rc == PCRE2_ERROR_PARTIAL && match_data->oveccount > 0) 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()
3919 match_data->leftchar = (PCRE2_SIZE)(mb->start_used_ptr - subject); in pcre2_dfa_match()
3920 match_data->rightchar = (PCRE2_SIZE)( mb->last_used_ptr - subject); in pcre2_dfa_match()
3921 match_data->startchar = (PCRE2_SIZE)(start_match - subject); in pcre2_dfa_match()
3922 match_data->rc = rc; in pcre2_dfa_match()
3927 match_data->subject = match_data->memctl.malloc(length, in pcre2_dfa_match()
3928 match_data->memctl.memory_data); in pcre2_dfa_match()
3929 if (match_data->subject == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_dfa_match()
3930 memcpy((void *)match_data->subject, subject, length); in pcre2_dfa_match()
3931 match_data->flags |= PCRE2_MD_COPIED_SUBJECT; in pcre2_dfa_match()
3935 if (rc >= 0 || rc == PCRE2_ERROR_PARTIAL) match_data->subject = subject; in pcre2_dfa_match()