Searched refs:ocode (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/codexlib/compress/
H A Dcompress.c223 output(State_t* zs, Sfio_t* f, code_int ocode, Sfdisc_t* dp) argument
231 if (ocode >= 0) {
236 * Since ocode is always >= 8 bits, only need to mask the first
239 *bp = (*bp & rmask[r_off]) | ((ocode << r_off) & lmask[r_off]);
242 ocode >>= 8 - r_off;
245 *bp++ = ocode;
246 ocode >>= 8;
251 *bp = ocode;
264 * If the next entry is going to be too big for the ocode size,
/ast/src/lib/libz/
H A Dsfdclzw.c216 output(LZW_t* zs, Sfio_t* f, code_int ocode, Sfdisc_t* dp) argument
224 if (ocode >= 0) {
229 * Since ocode is always >= 8 bits, only need to mask the first
232 *bp = (*bp & rmask[r_off]) | ((ocode << r_off) & lmask[r_off]);
235 ocode >>= 8 - r_off;
238 *bp++ = ocode;
239 ocode >>= 8;
244 *bp = ocode;
257 * If the next entry is going to be too big for the ocode size,

Completed in 14 milliseconds