Searched defs:Dnext (Results 1 - 2 of 2) sorted by relevance
| /ast/src/lib/libodelta/ |
| H A D | update.c | 31 static unsigned char *Ddata, *Dnext, *Dend, variable 35 #define delinit(buf,size,fd) (Ddata=Dnext=Dend=buf, Dfd=fd) 42 if(Dnext >= Dend) 47 Dnext = Ddata, Dend = Ddata+n; 49 return (int)(*Dnext++); 112 if((d = Dend-Dnext) > 0) 121 memcpy(Tnext,Dnext,w); 122 Dnext += w; 172 if((addr = Dend-Dnext) > 0)
|
| H A D | delta.c | 54 static char *Ddata, *Dend, *Dnext; variable 57 #define delinit(buf,fd) (Ddata=Dnext=buf, Dend=buf+BUFSIZE, Dfd=fd) 58 #define delflush() (write(Dfd,Ddata,Dnext-Ddata) >= 0 ? (Dnext=Ddata,0) : -1) 62 if(Dnext == Dend) 65 *Dnext++ = byte; 87 if(n < (Dend-Dnext)) 89 memcpy(Dnext,Btar+addr,n); 90 Dnext += n;
|
Completed in 8 milliseconds