Searched refs:vch (Results 1 - 3 of 3) sorted by relevance
/ast/src/cmd/vczip/tests/ |
H A D | tvchuffgroup.c | 25 Vcodex_t *vch, *vcu; local 40 if(!(vch = vcopen(0, Vchuffgroup, 0, 0, VC_ENCODE)) ) 44 if((k = vcapply(vch, data, sizeof(data), &d)) <= 0) 53 if(!(vch = vcopen(0, Vchuffpart, 0, 0, VC_ENCODE)) ) 57 if((k = vcapply(vch, data, sizeof(data), &d)) <= 0)
|
H A D | tvchuff.c | 46 Vcodex_t *vch, *vcu; local 50 if(!(vch = vcopen(0, Vchuffman, 0, 0, VC_ENCODE)) ) 58 if((n = vcapply(vch, tar, 0, &cmp)) < 0) 63 if((n = vcapply(vch, tar, 1, &cmp)) < 0) 70 if((n = vcapply(vch, tar, 16, &cmp)) < 0) /* the string of all zeros */ 79 if((n = vcapply(vch, tar, ntar, &cmp)) <= 0) 93 if((n = vcapply(vch, buf, b-buf, &cmp)) < 0) 109 if(!(vch = vcopen(0, Vchuffgroup, 0, 0, VC_ENCODE)) ) 113 if((n = vcapply(vch, buf, b-buf, &cmp)) < 0) 122 if(!(vch [all...] |
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchuffpart.c | 34 { Vcodex_t* vch; /* Huffman coder handle */ member in struct:_part_s 100 vchcopy(pt->vch, freq, NIL(ssize_t*), 0); 101 if((sz = vcapply(pt->vch, data, size, &buf)) <= 0) 212 vcbuffer(pt->vch, NIL(Vcchar_t*), -1, -1); 261 if((s = vcapply(pt->vch, dt, n, &dt)) <= 0) 273 vcbuffer(pt->vch, NIL(Vcchar_t*), -1, -1); 299 if(!(pt->vch = vcopen(NIL(Vcdisc_t*), Vchuffman, 0, 0, vc->flags)) ) 312 { if(pt->vch) 313 vcclose(pt->vch); 320 { if((pt = vcgetmtdata(vc, Part_t*)) && pt->vch) [all...] |
Completed in 19 milliseconds