Lines Matching refs:hval
478 int hval,disp,ilen,mxcode; in bsd_compress() local
527 hval = BSD_HASH (ent, c, hshift); in bsd_compress()
528 dictp = dict_ptr (db, hval); in bsd_compress()
540 disp = (hval == 0) ? 1 : hval; in bsd_compress()
543 hval += disp; in bsd_compress()
544 if (hval >= db->hsize) in bsd_compress()
545 hval -= db->hsize; in bsd_compress()
546 dictp = dict_ptr (db, hval); in bsd_compress()
580 dictp2->cptr = hval; in bsd_compress()
845 int hval, disp, indx; in bsd_decompress() local
848 hval = BSD_HASH(oldcode,finchar,db->hshift); in bsd_decompress()
849 dictp = dict_ptr (db, hval); in bsd_decompress()
853 disp = (hval == 0) ? 1 : hval; in bsd_decompress()
855 hval += disp; in bsd_decompress()
856 if (hval >= db->hsize) in bsd_decompress()
857 hval -= db->hsize; in bsd_decompress()
858 dictp = dict_ptr (db, hval); in bsd_decompress()
874 dictp2->cptr = hval; in bsd_decompress()