Home | History | Annotate | Download | only in lib

Lines Matching full:reg_idx

909       Idx reg_idx;
912 for (reg_idx = 1; reg_idx < nmatch; ++reg_idx)
913 pmatch[reg_idx].rm_so = pmatch[reg_idx].rm_eo = -1;
933 for (reg_idx = 0; reg_idx < nmatch; ++reg_idx)
934 if (pmatch[reg_idx].rm_so != -1)
939 pmatch[reg_idx].rm_so =
940 (pmatch[reg_idx].rm_so == mctx.input.valid_len
942 : mctx.input.offsets[pmatch[reg_idx].rm_so]);
943 pmatch[reg_idx].rm_eo =
944 (pmatch[reg_idx].rm_eo == mctx.input.valid_len
946 : mctx.input.offsets[pmatch[reg_idx].rm_eo]);
951 pmatch[reg_idx].rm_so += match_first;
952 pmatch[reg_idx].rm_eo += match_first;
954 for (reg_idx = 0; reg_idx < extra_nmatch; ++reg_idx)
956 pmatch[nmatch + reg_idx].rm_so = -1;
957 pmatch[nmatch + reg_idx].rm_eo = -1;
961 for (reg_idx = 0; reg_idx + 1 < nmatch; reg_idx++)
962 if (dfa->subexp_map[reg_idx] != reg_idx)
964 pmatch[reg_idx + 1].rm_so
965 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so;
966 pmatch[reg_idx + 1].rm_eo
967 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo;
1489 Idx reg_idx;
1492 for (reg_idx = 0; reg_idx < nmatch; ++reg_idx)
1493 if (pmatch[reg_idx].rm_so > -1 && pmatch[reg_idx].rm_eo == -1)
1495 if (reg_idx == nmatch)