Lines Matching defs:mn
205 static ssize_t pfsegment(Pffile_t* pf, ssize_t ld, ssize_t lm, ssize_t mn, ssize_t blksz)
207 static ssize_t pfsegment(pf, ld, lm, mn, blksz)
211 ssize_t mn;
218 ldt = ld + pf->dtpos; rdt = ldt + mn;
219 lmt = ((Sfoff_t)lm)*blksz; rmt = lmt + mn;
229 seg->mtch += mn;
230 return mn;
233 if(PFSMALL(mn,blksz)) /* too small to make a segment */
246 seg->mtch = mn;
247 return mn;
262 ssize_t i, k, d, dd, mm, mn, total, ucnt;
270 for(d = 0, n -= (blksz-1); d < n; d = dd+mn)
271 { for(mn = 0, mm = -1, dd = d; dd < n; ++dd)
284 if((k = (k-dd) - ucnt*blksz) > mn)
285 { mn = k; /* current best match length */
289 if(mn > 0)
293 if(mn <= 0) /* done with search for windows */
295 else if((k = pfsegment(pf, dd, mm, mn, blksz)) < 0)