Lines Matching defs:hash
42 /* Return number of hash table entries to use for N elements. */
112 unsigned int hash;
118 hash = hash_keyword_name (kt, ke->name, 0);
119 ke->next_name = kt->name_hash_table[hash];
120 kt->name_hash_table[hash] = ke;
122 hash = hash_keyword_value (kt, ke->value);
123 ke->next_value = kt->value_hash_table[hash];
124 kt->value_hash_table[hash] = ke;
186 /* Anything left on this hash chain? */
193 /* Move to next hash chain [unless we haven't started yet]. */
208 /* Return first entry in hash chain for NAME.
209 If CASE_SENSITIVE_P is non-zero, return a case sensitive hash. */
216 unsigned int hash;
219 for (hash = 0; *name; ++name)
220 hash = (hash * 97) + (unsigned char) *name;
222 for (hash = 0; *name; ++name)
223 hash = (hash * 97) + (unsigned char) TOLOWER (*name);
224 return hash % kt->hash_table_size;
227 /* Return first entry in hash chain for VALUE. */
235 /* Build a keyword table's hash tables.
236 We probably needn't build the value hash table for the assembler when
487 /* The instructions are stored in hash lists.