Searched refs:total_given_freq (Results 1 – 2 of 2) sorted by relevance
5361 unsigned int total_given_freq = 0; in normalize_spell_freq() local5363 total_given_freq += slot.freq; in normalize_spell_freq()5365 if (total_given_freq > 0) in normalize_spell_freq()5368 slot.freq = total_freq * slot.freq / total_given_freq; in normalize_spell_freq()
7369 int total_given_freq = 0; in unmarshallSpells() local7371 total_given_freq += slot.freq; in unmarshallSpells()7383 total_given_freq = spell_freq_for_hd(hd); // would be zero otherwise in unmarshallSpells()7387 normalize_spell_freq(spells, total_given_freq); in unmarshallSpells()