Lines Matching full:pmatch
50 regmatch_t pmatch[nmatch];
51 if (!SimpleScriptExec::checkIfPassed(resultStr, match, nmatch, pmatch)) {
55 LOGV("pmatch 0: %d, %d 1:%d, %d 2:%d, %d",
56 pmatch[0].rm_so, pmatch[0].rm_eo,
57 pmatch[1].rm_so, pmatch[1].rm_eo,
58 pmatch[2].rm_so, pmatch[2].rm_eo);
60 if (pmatch[1].rm_so == -1) {
63 if (pmatch[2].rm_so == -1) {
66 android::String8 product = StringUtil::substr(resultStr, pmatch[1].rm_so,
67 pmatch[1].rm_eo - pmatch[1].rm_so);
69 android::String8 cardNumber = StringUtil::substr(resultStr, pmatch[2].rm_so,
70 pmatch[2].rm_eo - pmatch[2].rm_so);