Lines Matching defs:hash_val
128 unsigned hash_val;
142 hash_val = do_hash(ptr->key);
143 ptr->next = bins[hash_val];
144 bins[hash_val] = ptr;
153 sc_phash_base::find_entry_q( unsigned hash_val, const void* key, sc_phash_elem*** plast )
155 sc_phash_elem** last = &(bins[hash_val]);
166 ptr->next = bins[hash_val];
167 bins[hash_val] = ptr;
168 last = &(bins[hash_val]);
175 sc_phash_base::find_entry_c( unsigned hash_val, const void* key, sc_phash_elem*** plast )
177 sc_phash_elem** last = &(bins[hash_val]);
187 ptr->next = bins[hash_val];
188 bins[hash_val] = ptr;
189 last = &(bins[hash_val]);
196 sc_phash_base::add_direct( void* key, void* contents, unsigned hash_val )
200 hash_val = do_hash(key);
203 sc_phash_elem* new_entry = new sc_phash_elem(key, contents, bins[hash_val]);
204 bins[hash_val] = new_entry;
263 unsigned hash_val = do_hash(k);
264 sc_phash_elem* ptr = find_entry( hash_val, k );
266 (void) add_direct(k, c, hash_val);
278 unsigned hash_val = do_hash(k);
279 sc_phash_elem* ptr = find_entry( hash_val, k );
281 (void) add_direct((*kdup)(k), c, hash_val);
293 unsigned hash_val = do_hash(k);
294 sc_phash_elem* ptr = find_entry( hash_val, k );
296 (void) add_direct( k, c, hash_val );
306 unsigned hash_val = do_hash(k);
307 sc_phash_elem* ptr = find_entry( hash_val, k );
309 (void) add_direct( (*kdup)(k), c, hash_val );
319 unsigned hash_val = do_hash(k);
321 sc_phash_elem* ptr = find_entry( hash_val, k, &last );
336 unsigned hash_val = do_hash(k);
338 sc_phash_elem* ptr = find_entry( hash_val, k, &last );
483 unsigned hash_val = do_hash(k);
484 sc_phash_elem* ptr = find_entry( hash_val, k );