Lines Matching refs:pm
100 SmallVector<llvm_regmatch_t, 8> pm;
101 pm.resize(nmatch > 0 ? nmatch : 1);
102 pm[0].rm_so = 0;
103 pm[0].rm_eo = String.size();
105 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);
123 if (pm[i].rm_so == -1) {
128 assert(pm[i].rm_eo >= pm[i].rm_so);
129 Matches->push_back(StringRef(String.data()+pm[i].rm_so,
130 pm[i].rm_eo-pm[i].rm_so));