Lines Matching defs:bin
150 /* WOFA Hash table bin. */
152 wofa_sym_t bin[WOFA_DICT_BIN_MAX];
246 int bin, bkt, port;
271 dict->cached[port].sym = &dict->table.bkt[0].bin[0];
276 for (bin = 0; bin < WOFA_DICT_BIN_MAX; bin++) {
277 dict->table.bkt[bkt].bin[bin].wofa = FWDER_WOFA_INVALID;
320 wofa_sym_t * end; /* last bin in the bucket collision list */
325 /* Fetch the first bin in the hashed bucket */
326 sym = &dict->table.bkt[hash8].bin[0];
327 end = sym + WOFA_DICT_BIN_MAX; /* after last bin in collision list */
349 } else if (added == 0) { /* found an empty bin, insert here */
364 sym++; /* next bin; for duplicates/overwrite */
398 cached->sym = &dict->table.bkt[0].bin[0];
407 wofa_sym_t * end; /* last bin in the bucket collision list */
412 sym = &dict->table.bkt[hash8].bin[0];
413 end = sym + WOFA_DICT_BIN_MAX; /* after last bin in collision list */
429 sym++; /* next bin in bkt collision list */
438 int bkt, bin;
442 for (bin = 0; bin < WOFA_DICT_BIN_MAX; bin++) {
443 const wofa_sym_t * sym = &dict->table.bkt[bkt].bin[bin];
478 dict->cached[port].sym = &dict->table.bkt[0].bin[0];
487 int bkt, bin;
489 for (bin = 0; bin < WOFA_DICT_BIN_MAX; bin++) {
490 if (dict->table.bkt[bkt].bin[bin].wofa == wofa) {
491 hash16 = dict->table.bkt[bkt].bin[bin].hash16;
535 wofa_sym_t * end; /* last bin in the bucket collision list */
541 sym = &dict->table.bkt[hash8].bin[0];
542 end = sym + WOFA_DICT_BIN_MAX; /* after last bin in collision list */
559 sym++; /* next bin in collision list */
581 int dump, word, port, bkt, bin;
615 for (bin = 0; bin < WOFA_DICT_BIN_MAX; bin++) {
616 sym = &dict->table.bkt[bkt].bin[bin];
627 bkt, bin, sym, sym->hash16, (int)sym->hash16);