Lines Matching defs:tar
43 uchar* tar; /* target string */
67 c_addr = (here-tab->tar)+tab->n_src; /* current address */
164 reg uchar *src = tab->src, *tar = tab->tar;
173 curm = (fold - tab->tar) + n_src;
201 sm = tar + n;
249 curm = n_src + (ss-tar);
292 { if((len = (tab->tar+tab->n_tar) - endfold) > 0 ) /* match at end */
309 reg uchar *tar, *src, *endsrc, *endtar, *endt;
314 tar = tab->tar;
318 return vdfold(tab,tar,tar+n_tar,1);
322 endtar = tar + (n_tar < n_src ? n_tar : n_src);
323 for(; tar < endtar; ++tar, ++src)
324 if(*tar != *src)
326 if((hn = tar - tab->tar) < LARGE_MATCH )
327 { tar = tab->tar;
332 { if(vdputinst(tab,NIL(uchar*),tab->tar,0,hn) < 0)
339 endtar = tab->tar + n_tar - 1;
342 if(endt < tar-1)
343 endt = tar-1;
349 if((tn = (tab->tar+n_tar) - endtar) < LARGE_MATCH)
350 { endtar = tab->tar+n_tar;
356 if((endtar-tar) >= (n_tar/4))
363 return vdfold(tab,tar,endtar,1);
394 tab.tar = tab.src = NIL(uchar*);
405 if(!target->data && !(tab.tar = (uchar*)malloc(size*sizeof(uchar))) )
446 if(tab.tar)
447 { free((Void_t*)tab.tar);
448 tab.tar = NIL(uchar*);
478 tab.src = tab.tar + tab.n_tar - size;
480 (Void_t*)(tab.tar + tab.n_tar - size),
508 tab.tar = (uchar*)target->data + n;
510 { size = (*target->readf)(tab.tar, size, (long)n, target);
529 if(!target->data && tab.tar)
530 free((Void_t*)tab.tar);