Searched refs:n_tar (Results 1 - 9 of 9) sorted by relevance

/ast/src/lib/libvdelta/
H A Dvdexpand.c30 int n_tar; member in struct:_table_s
44 reg int t, c_addr, n_tar; local
46 n_tar = tab->n_tar;
49 for(t = 0, c_addr = 0; t < n_tar; )
62 if((t+size) > n_tar) /* out of sync */
84 if((t+size) > n_tar) /* out of sync */
102 if(copy >= t || (copy+size) > n_tar) /* out-of-sync */
138 tab.n_tar = t;
H A Dvdupdate.c43 long n_tar; member in struct:_utable_s
63 reg long t, c_addr, n_tar, n_src; local
66 n_tar = tab->n_tar;
73 for(t = 0, c_addr = n_src; t < n_tar; )
91 if((t+size) > n_tar) /* out of sync */
135 if((t+size) > n_tar) /* out of sync */
215 if(copy >= t || (copy+size) > n_tar) /* out-of-sync */
270 reg long t, p, window, n_src, n_tar; local
309 n_tar
[all...]
H A Dvddelta.c44 int n_tar; member in struct:_table_s
292 { if((len = (tab->tar+tab->n_tar) - endfold) > 0 ) /* match at end */
310 reg int hn, tn, n_src, n_tar; local
315 if((n_tar = tab->n_tar) <= 0)
318 return vdfold(tab,tar,tar+n_tar,1);
322 endtar = tar + (n_tar < n_src ? n_tar : n_src);
334 if(hn == n_tar)
339 endtar = tab->tar + n_tar
377 reg long p, n_src, n_tar, window; local
[all...]
H A Dvdsqueeze.c42 int n_tar; member in struct:_table_s
155 endfold = (s = tar) + tab->n_tar;
157 if(tab->n_tar < M_MIN)
286 tab.n_tar = size;
310 STRPUTU(&tab,tab.n_tar,buf);
/ast/src/lib/libvdelta/vd01/
H A Dvdupdate01.c41 long n_tar; member in struct:_table_s
61 reg long t, c_addr, n_tar, n_src; local
64 n_tar = tab->n_tar;
71 for(t = 0, c_addr = n_src; t < n_tar; )
89 if((t+size) > n_tar) /* out of sync */
133 if((t+size) > n_tar) /* out of sync */
213 if(copy >= t || (copy+size) > n_tar) /* out-of-sync */
268 reg long t, p, window, n_src, n_tar; local
297 n_tar
[all...]
H A Dvddelta01.c48 int n_tar; member in struct:_table_s
181 { endfold = (s = tar) + tab->n_tar;
183 if(tab->n_tar < M_MIN)
322 reg long p, n_src, n_tar; local
325 if(!target || (n_tar = target->size) < 0)
327 if(n_tar > 0 && !target->data && !target->readf)
338 tab.n_src = tab.n_tar = tab.size = 0;
348 if(window > n_tar)
349 window = n_tar;
356 size = (n_tar
[all...]
/ast/src/lib/libodelta/
H A Ddelta.c299 delta(char* src, long n_src, char* tar, long n_tar, int delfd) argument
311 inst = DELTA_TYPE | ((NBYTE(n_src)&07) << 3) | (NBYTE(n_tar)&07);
314 if(delputl(NBYTE(n_src),n_src) < 0 || delputl(NBYTE(n_tar),n_tar) < 0)
321 etar = tar + n_tar - 1;
328 if(!(tree = n_tar > 0 ? bldsuftree(src,n_src) : (Suftree*)0))
346 n_tar -= tar-Btar;
368 n_tar = etar-tar+1;
374 tree = n_tar > 0 ? bldsuftree(src,n_src) : (Suftree*)0;
379 while(n_tar >
[all...]
H A Dmtchstring.c66 long mtchstring(char* src, long n_src, char* tar, long n_tar, char** match) argument
87 if(!src || n_src <= 0 || !tar || n_tar <= 0)
91 endtar = tar + n_tar;
H A Dupdate.c134 register long n_src, n_tar; local
144 if((n_src = delgetl((i>>3)&07)) < 0 || (n_tar = delgetl(i&07)) < 0)
148 if(tar = (unsigned char*)malloc(n_tar)) /* assignment = */
149 tarinit(tar,n_tar,tarfd);

Completed in 56 milliseconds