Lines Matching refs:bc
3181 int bc, gc; in add_sound_suggest() local
3318 bc = PTR2CHAR(su->su_badword); in add_sound_suggest()
3319 if (!SPELL_ISUPPER(bc) in add_sound_suggest()
3320 && SPELL_TOFOLD(bc) != SPELL_TOFOLD(gc)) in add_sound_suggest()
4010 int bc, gc; in spell_edit_score() local
4050 bc = wbadword[i - 1]; in spell_edit_score()
4055 bc = badword[i - 1]; in spell_edit_score()
4058 if (bc == gc) in spell_edit_score()
4063 if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc)) in spell_edit_score()
4070 && similar_chars(slang, gc, bc)) in spell_edit_score()
4088 if (bc == pgc && pbc == gc) in spell_edit_score()
4136 int bc, gc; in spell_edit_score_limit() local
4165 bc = badword[bi]; in spell_edit_score_limit()
4167 if (bc != gc) // stop at a char that's different in spell_edit_score_limit()
4169 if (bc == NUL) // both words end in spell_edit_score_limit()
4188 else if (bc == NUL) // badword ends, insert badword chars in spell_edit_score_limit()
4242 if (gc == badword[bi + 1] && bc == goodword[gi + 1]) in spell_edit_score_limit()
4255 if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc)) in spell_edit_score_limit()
4262 && similar_chars(slang, gc, bc)) in spell_edit_score_limit()
4311 int bc, gc; in spell_edit_score_limit_w() local
4349 bc = wbadword[bi]; in spell_edit_score_limit_w()
4352 if (bc != gc) // stop at a char that's different in spell_edit_score_limit_w()
4354 if (bc == NUL) // both words end in spell_edit_score_limit_w()
4373 else if (bc == NUL) // badword ends, insert badword chars in spell_edit_score_limit_w()
4427 if (gc == wbadword[bi + 1] && bc == wgoodword[gi + 1]) in spell_edit_score_limit_w()
4440 if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc)) in spell_edit_score_limit_w()
4447 && similar_chars(slang, gc, bc)) in spell_edit_score_limit_w()