Searched refs:lastmatch (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/tnftp/src/
H A Dcomplete.c89 char *lastmatch, *p; local
110 lastmatch = words->sl_str[0];
111 matchlen = strlen(lastmatch);
114 if (lastmatch[j] != words->sl_str[i][j])
121 lastmatch + wordlen, matchlen - wordlen);
/freebsd-11-stable/usr.bin/grep/
H A Dutil.c464 regmatch_t pmatch, lastmatch, chkmatch; local
506 lastmatch.rm_so = lastmatch.rm_eo = 0;
573 lastmatch = pmatch;
629 else if (st == nst && lastmatch.rm_so == lastmatch.rm_eo)
/freebsd-11-stable/contrib/lua/src/
H A Dlstrlib.c668 const char *lastmatch; /* end of last match */ member in struct:GMatchState
680 if ((e = match(&gm->ms, src, gm->p)) != NULL && e != gm->lastmatch) {
681 gm->src = gm->lastmatch = e;
697 gm->src = s; gm->p = p; gm->lastmatch = NULL;
766 const char *lastmatch = NULL; /* end of last match */ local
784 if ((e = match(&ms, src, p)) != NULL && e != lastmatch) { /* match? */
787 src = lastmatch = e;
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_sctp.c2123 struct sctp_nat_assoc *assoc = NULL, *lastmatch = NULL; local
2138 lastmatch = assoc;
2144 return (cnt ? lastmatch : NULL);

Completed in 79 milliseconds