Searched refs:firstNonZero (Results 1 – 3 of 3) sorted by relevance
293 int firstNonZero = 0; in AddFilter() local294 while (firstNonZero < filterLength && filterValues[firstNonZero] == 0) { in AddFilter()295 firstNonZero++; in AddFilter()298 if (firstNonZero < filterLength) { in AddFilter()305 filterOffset += firstNonZero; in AddFilter()306 filterLength = lastNonZero + 1 - firstNonZero; in AddFilter()309 fFilterValues.append(filterLength, &filterValues[firstNonZero]); in AddFilter()
36 int32_t firstNonZero = 1; in CBC_PDF417ECModulusPoly() local37 while (firstNonZero < coefficientsLength && in CBC_PDF417ECModulusPoly()38 coefficients[firstNonZero] == 0) { in CBC_PDF417ECModulusPoly()39 firstNonZero++; in CBC_PDF417ECModulusPoly()41 if (firstNonZero == coefficientsLength) { in CBC_PDF417ECModulusPoly()44 m_coefficients.SetSize(coefficientsLength - firstNonZero); in CBC_PDF417ECModulusPoly()46 for (int32_t i = firstNonZero; in CBC_PDF417ECModulusPoly()47 i < firstNonZero + m_coefficients.GetSize(); i++) { in CBC_PDF417ECModulusPoly()
47 int32_t firstNonZero = 1; in Init() local48 while ((firstNonZero < coefficientsLength) && in Init()49 ((*coefficients)[firstNonZero] == 0)) { in Init()50 firstNonZero++; in Init()52 if (firstNonZero == coefficientsLength) { in Init()55 m_coefficients.SetSize(coefficientsLength - firstNonZero); in Init()56 for (int32_t i = firstNonZero, j = 0; i < coefficientsLength; i++, j++) { in Init()