Lines Matching defs:dcca
77 Dccache_t *dcca;
93 dcca = (Dccache_t*)disc;
94 if((sz = dcca->endb - dcca->data) > (ssize_t)size)
96 memcpy(buf, dcca->data, sz);
98 if((dcca->data += sz) >= dcca->endb) /* free empty cache */
119 Dccache_t *dcca = NIL(Dccache_t*);
172 { if(!(dcca = (Dccache_t*)malloc(sizeof(Dccache_t)+n)) )
174 memclear(dcca, sizeof(Dccache_t));
176 dcca->disc.readf = _dccaread;
177 dcca->disc.exceptf = _dccaexcept;
180 dcca->data = ((uchar*)dcca) + sizeof(Dccache_t);
181 dcca->endb = dcca->data + n;
182 memcpy(dcca->data, f->next, n);
229 if(dcca) /* insert the discipline with cached data */
230 { dcca->disc.disc = f->disc;
231 disc->disc = &dcca->disc;