Lines Matching defs:src
25 ** Compute delta commands to transform the source string 'src'
299 delta(char* src, long n_src, char* tar, long n_tar, int delfd)
318 Bsrc = src;
320 esrc = src + n_src - 1;
328 if(!(tree = n_tar > 0 ? bldsuftree(src,n_src) : (Suftree*)0))
331 for(; src <= esrc && tar <= etar; ++src, ++tar)
332 if(*src != *tar)
334 if((size = src-Bsrc) > 0)
345 n_src -= src-Bsrc;
350 src = Bsrc;
355 for(sp = esrc, tp = etar; sp >= src && tp >= tar; --sp, --tp)
369 n_src = esrc-src+1;
374 tree = n_tar > 0 ? bldsuftree(src,n_src) : (Suftree*)0;
385 else size = mtchstring(src,n_src,tar,n_tar,&match);