Lines Matching defs:lookup
50 int lookup;
154 static int cb_lookup_vals(int lookup, int dimensions, int entries)
156 if (lookup == 1)
158 else if (lookup == 2)
169 if (!cb->lookup) {
172 int vals = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries);
183 if (cb->lookup == 1)
184 off = (i / div) % vals; // lookup type 1
186 off = i * cb->ndimensions + j; // lookup type 2
217 assert(cb->lookup);
266 cb->lookup = cvectors[book].lookup;
276 if (cb->lookup) {
277 vals = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries);
500 put_bits(pb, 4, cb->lookup);
501 if (cb->lookup) {
502 int tmp = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries);