Lines Matching refs:SCORE_SWAP
90 #define SCORE_SWAP 75 // swap two characters macro
2250 if (c2 != NUL && TRY_DEEPER(su, stack, depth, SCORE_SWAP)) in suggest_trie_walk()
2252 go_deeper(stack, depth, SCORE_SWAP); in suggest_trie_walk()
3877 return score + SCORE_DEL + SCORE_SWAP; in soundalike_score()
3895 return score + SCORE_SWAP + SCORE_DEL; in soundalike_score()
3928 return score + SCORE_SWAP; in soundalike_score()
3935 return score + SCORE_SWAP + SCORE_SWAP; in soundalike_score()
3939 return score + SCORE_SWAP + SCORE_SUBST; in soundalike_score()
3956 return score + SCORE_SUBST + SCORE_SWAP; in soundalike_score()
4090 t = SCORE_SWAP + CNT(i - 2, j - 2); in spell_edit_score()
4237 if (score + SCORE_SWAP < minscore) in spell_edit_score_limit()
4247 score += SCORE_SWAP; in spell_edit_score_limit()
4422 if (score + SCORE_SWAP < minscore) in spell_edit_score_limit_w()
4432 score += SCORE_SWAP; in spell_edit_score_limit_w()