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

/freebsd-current/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-current/usr.bin/grep/
H A Dutil.c479 regmatch_t pmatch, lastmatch, chkmatch; local
518 lastmatch.rm_so = lastmatch.rm_eo = 0;
575 lastmatch = pmatch;
631 else if (st == nst && lastmatch.rm_so == lastmatch.rm_eo)
/freebsd-current/contrib/lua/src/
H A Dlstrlib.c833 const char *lastmatch; /* end of last match */ member in struct:GMatchState
845 if ((e = match(&gm->ms, src, gm->p)) != NULL && e != gm->lastmatch) {
846 gm->src = gm->lastmatch = e;
865 gm->src = s + init; gm->p = p; gm->lastmatch = NULL;
946 const char *lastmatch = NULL; /* end of last match */ local
965 if ((e = match(&ms, src, p)) != NULL && e != lastmatch) { /* match? */
968 src = lastmatch = e;
/freebsd-current/sys/netinet/libalias/
H A Dalias_sctp.c2154 struct sctp_nat_assoc *assoc = NULL, *lastmatch = NULL; local
2170 lastmatch = assoc;
2176 return (cnt ? lastmatch : NULL);

Completed in 98 milliseconds