Lines Matching refs:hash
26 re_hashval_t hash);
30 re_hashval_t hash);
1468 re_hashval_t hash = nodes->nelem + context; in calc_state_hash() local
1471 hash += nodes->elems[i]; in calc_state_hash()
1472 return hash; in calc_state_hash()
1489 re_hashval_t hash; in re_acquire_state() local
1502 hash = calc_state_hash (nodes, 0); in re_acquire_state()
1503 spot = dfa->state_table + (hash & dfa->state_hash_mask); in re_acquire_state()
1508 if (hash != state->hash) in re_acquire_state()
1515 new_state = create_ci_newstate (dfa, nodes, hash); in re_acquire_state()
1537 re_hashval_t hash; in re_acquire_state_context() local
1550 hash = calc_state_hash (nodes, context); in re_acquire_state_context()
1551 spot = dfa->state_table + (hash & dfa->state_hash_mask); in re_acquire_state_context()
1556 if (state->hash == hash in re_acquire_state_context()
1562 new_state = create_cd_newstate (dfa, nodes, context, hash); in re_acquire_state_context()
1576 re_hashval_t hash) in register_state() argument
1582 newstate->hash = hash; in register_state()
1594 spot = dfa->state_table + (hash & dfa->state_hash_mask); in register_state()
1631 re_hashval_t hash) in create_ci_newstate() argument
1666 err = register_state (dfa, newstate, hash); in create_ci_newstate()
1681 unsigned int context, re_hashval_t hash) in create_cd_newstate() argument
1746 err = register_state (dfa, newstate, hash); in create_cd_newstate()