Home | History | Annotate | Download | only in puff

Lines Matching defs:val

121     long val;           /* bit accumulator (can use up to 20 bits) */
123 /* load at least need bits into val */
124 val = s->bitbuf;
127 val |= (long)(s->in[s->incnt++]) << s->bitcnt; /* load eight bits */
132 s->bitbuf = (int)(val >> need);
136 return (int)(val & ((1L << need) - 1));