Lines Matching refs:charCounts
68 int32_t FindMinimums(const std::array<float, kEncoderCount>& charCounts, in FindMinimums() argument
73 int32_t current = static_cast<int32_t>(ceil(charCounts[i])); in FindMinimums()
192 std::array<float, kEncoderCount> charCounts; in LookAheadTest() local
194 charCounts = {0, 1, 1, 1, 1, 1.25f}; in LookAheadTest()
196 charCounts = {1, 2, 2, 2, 2, 2.25f}; in LookAheadTest()
197 charCounts[EncoderIndex(currentMode)] = 0; in LookAheadTest()
205 int32_t min = FindMinimums(charCounts, &intCharCounts, &mins); in LookAheadTest()
225 auto& count = charCounts[EncoderIndex(Encoding::ASCII)]; in LookAheadTest()
235 auto& count = charCounts[EncoderIndex(Encoding::C40)]; in LookAheadTest()
245 auto& count = charCounts[EncoderIndex(Encoding::TEXT)]; in LookAheadTest()
255 auto& count = charCounts[EncoderIndex(Encoding::X12)]; in LookAheadTest()
265 auto& count = charCounts[EncoderIndex(Encoding::EDIFACT)]; in LookAheadTest()
274 charCounts[EncoderIndex(Encoding::BASE256)]++; in LookAheadTest()
280 FindMinimums(charCounts, &intCharCounts, &mins); in LookAheadTest()