Searched refs:lastmatch (Results 1 – 4 of 4) sorted by relevance
89 char *lastmatch, *p; in complete_ambiguous() local110 lastmatch = words->sl_str[0]; in complete_ambiguous()111 matchlen = strlen(lastmatch); in complete_ambiguous()114 if (lastmatch[j] != words->sl_str[i][j]) in complete_ambiguous()121 lastmatch + wordlen, matchlen - wordlen); in complete_ambiguous()
502 regmatch_t pmatch, lastmatch, chkmatch; in procline() local541 lastmatch.rm_so = lastmatch.rm_eo = 0; in procline()598 lastmatch = pmatch; in procline()654 else if (st == nst && lastmatch.rm_so == lastmatch.rm_eo) in procline()
833 const char *lastmatch; /* end of last match */ member845 if ((e = match(&gm->ms, src, gm->p)) != NULL && e != gm->lastmatch) { in gmatch_aux()846 gm->src = gm->lastmatch = e; in gmatch_aux()865 gm->src = s + init; gm->p = p; gm->lastmatch = NULL; in gmatch()946 const char *lastmatch = NULL; /* end of last match */ in str_gsub() local965 if ((e = match(&ms, src, p)) != NULL && e != lastmatch) { /* match? */ in str_gsub()968 src = lastmatch = e; in str_gsub()
2154 struct sctp_nat_assoc *assoc = NULL, *lastmatch = NULL; in FindSctpLocalT() local2170 lastmatch = assoc; in FindSctpLocalT()2176 return (cnt ? lastmatch : NULL); in FindSctpLocalT()