Lines Matching refs:scan
202 off_t scan,pos,len; in main() local
272 scan=0;len=0; in main()
274 while(scan<newsize) { in main()
277 for(scsc=scan+=len;scan<newsize;scan++) { in main()
278 len=search(I,old,oldsize,new+scan,newsize-scan, in main()
281 for(;scsc<scan+len;scsc++) in main()
289 if((scan+lastoffset<oldsize) && in main()
290 (old[scan+lastoffset] == new[scan])) in main()
294 if((len!=oldscore) || (scan==newsize)) { in main()
296 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in main()
303 if(scan<newsize) { in main()
305 for(i=1;(scan>=lastscan+i)&&(pos>=i);i++) { in main()
306 if(old[pos-i]==new[scan-i]) s++; in main()
311 if(lastscan+lenf>scan-lenb) { in main()
312 overlap=(lastscan+lenf)-(scan-lenb); in main()
317 if(new[scan-lenb+i]== in main()
328 for(i=0;i<(scan-lenb)-(lastscan+lenf);i++) in main()
332 eblen+=(scan-lenb)-(lastscan+lenf); in main()
339 offtout((scan-lenb)-(lastscan+lenf),buf); in main()
349 lastscan=scan-lenb; in main()
351 lastoffset=pos-scan; in main()