Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dbsdiff.cpp232 off_t s,Sf,lenf,Sb,lenb; in bsdiff() local
304 s=0;Sf=0;lenf=0; in bsdiff()
308 if(s*2-i>Sf*2-lenf) { Sf=s; lenf=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()
325 old[lastpos+lenf-overlap+i]) s++; in bsdiff()
331 lenf+=lens-overlap; in bsdiff()
335 for(i=0;i<lenf;i++) in bsdiff()
337 for(i=0;i<(scan-lenb)-(lastscan+lenf);i++) in bsdiff()
[all …]