Home
last modified time | relevance | path

Searched refs:matchidx (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/grep/
H A Dutil.c222 while (pc->matchidx >= MAX_MATCHES) { in procmatch_match()
224 pc->matchidx = 0; in procmatch_match()
369 pc.matchidx = 0; in procfile()
507 size_t startm = 0, matchidx; in procline() local
511 matchidx = pc->matchidx; in procline()
546 startm = matchidx; in procline()
600 if (matchidx == 0) in procline()
609 if (matchidx > startm) { in procline()
610 chkmatch = pc->matches[matchidx - 1]; in procline()
615 pc->matches[matchidx - 1] = pmatch; in procline()
[all …]
H A Dgrep.h108 size_t matchidx; /* Latest match index */ member