Lines Matching refs:CNT
4034 #define CNT(a, b) cnt[(a) + (b) * (badlen + 1)] in spell_edit_score() macro
4039 CNT(0, 0) = 0; in spell_edit_score()
4041 CNT(0, j) = CNT(0, j - 1) + SCORE_INS; in spell_edit_score()
4045 CNT(i, 0) = CNT(i - 1, 0) + SCORE_DEL; in spell_edit_score()
4059 CNT(i, j) = CNT(i - 1, j - 1); in spell_edit_score()
4064 CNT(i, j) = SCORE_ICASE + CNT(i - 1, j - 1); in spell_edit_score()
4071 CNT(i, j) = SCORE_SIMILAR + CNT(i - 1, j - 1); in spell_edit_score()
4073 CNT(i, j) = SCORE_SUBST + CNT(i - 1, j - 1); in spell_edit_score()
4090 t = SCORE_SWAP + CNT(i - 2, j - 2); in spell_edit_score()
4091 if (t < CNT(i, j)) in spell_edit_score()
4092 CNT(i, j) = t; in spell_edit_score()
4095 t = SCORE_DEL + CNT(i - 1, j); in spell_edit_score()
4096 if (t < CNT(i, j)) in spell_edit_score()
4097 CNT(i, j) = t; in spell_edit_score()
4098 t = SCORE_INS + CNT(i, j - 1); in spell_edit_score()
4099 if (t < CNT(i, j)) in spell_edit_score()
4100 CNT(i, j) = t; in spell_edit_score()
4105 i = CNT(badlen - 1, goodlen - 1); in spell_edit_score()