Home
last modified time | relevance | path

Searched refs:lastscan (Results 1 – 1 of 1) sorted by relevance

/external/bsdiff/
Dbsdiff.cc70 size_t lastscan,lastpos,lastoffset; in bsdiff() local
99 lastscan=0;lastpos=0;lastoffset=0; in bsdiff()
142 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in bsdiff()
143 if(old_buf[lastpos+i]==new_buf[lastscan+i]) s++; in bsdiff()
151 for(i=1;(scan>=lastscan+i)&&(pos>=static_cast<uint64_t>(i));i++) { in bsdiff()
157 if(lastscan+lenf>scan-lenb) { in bsdiff()
158 overlap=(lastscan+lenf)-(scan-lenb); in bsdiff()
161 if(new_buf[lastscan+lenf-overlap+i]== in bsdiff()
174 (scan - lenb) - (lastscan + lenf), in bsdiff()
178 lastscan=scan-lenb; in bsdiff()