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

/freebsd-13-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-13-stable/usr.bin/grep/
H A Dutil.c482 regmatch_t pmatch, lastmatch, chkmatch; local
521 lastmatch.rm_so = lastmatch.rm_eo = 0;
578 lastmatch = pmatch;
634 else if (st == nst && lastmatch.rm_so == lastmatch.rm_eo)
/freebsd-13-stable/contrib/lua/src/
H A Dlstrlib.c830 const char *lastmatch; /* end of last match */ member in struct:GMatchState
842 if ((e = match(&gm->ms, src, gm->p)) != NULL && e != gm->lastmatch) {
843 gm->src = gm->lastmatch = e;
862 gm->src = s + init; gm->p = p; gm->lastmatch = NULL;
943 const char *lastmatch = NULL; /* end of last match */ local
962 if ((e = match(&ms, src, p)) != NULL && e != lastmatch) { /* match? */
965 src = lastmatch = e;
/freebsd-13-stable/sys/netinet/libalias/
H A Dalias_sctp.c2158 struct sctp_nat_assoc *assoc = NULL, *lastmatch = NULL; local
2174 lastmatch = assoc;
2180 return (cnt ? lastmatch : NULL);

Completed in 80 milliseconds