Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dbsdiff.cpp230 off_t lastscan,lastpos,lastoffset; in bsdiff() local
282 lastscan=0;lastpos=0;lastoffset=0; in bsdiff()
305 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in bsdiff()
306 if(old[lastpos+i]==newdata[lastscan+i]) s++; in bsdiff()
314 for(i=1;(scan>=lastscan+i)&&(pos>=i);i++) { in bsdiff()
320 if(lastscan+lenf>scan-lenb) { in bsdiff()
321 overlap=(lastscan+lenf)-(scan-lenb); in bsdiff()
324 if(newdata[lastscan+lenf-overlap+i]== in bsdiff()
336 db[dblen+i]=newdata[lastscan+i]-old[lastpos+i]; in bsdiff()
337 for(i=0;i<(scan-lenb)-(lastscan+lenf);i++) in bsdiff()
[all …]