Lines Matching refs:pmatch
46 regmatch_t pmatch[nmatch];
47 if (!SimpleScriptExec::checkIfPassed(resultStr, match, nmatch, pmatch)) {
51 LOGV("pmatch 0: %d, %d 1:%d, %d 2:%d, %d",
52 pmatch[0].rm_so, pmatch[0].rm_eo,
53 pmatch[1].rm_so, pmatch[1].rm_eo,
54 pmatch[2].rm_so, pmatch[2].rm_eo);
56 if (pmatch[1].rm_so == -1) {
59 if (pmatch[2].rm_so == -1) {
62 android::String8 product = StringUtil::substr(resultStr, pmatch[1].rm_so,
63 pmatch[1].rm_eo - pmatch[1].rm_so);
65 android::String8 cardNumber = StringUtil::substr(resultStr, pmatch[2].rm_so,
66 pmatch[2].rm_eo - pmatch[2].rm_so);