Home
last modified time | relevance | path

Searched refs:firstNonZero (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkConvolver.cpp118 int firstNonZero = 0; in AddFilter() local
119 while (firstNonZero < filterLength && filterValues[firstNonZero] == 0) { in AddFilter()
120 firstNonZero++; in AddFilter()
123 if (firstNonZero < filterLength) { in AddFilter()
130 filterOffset += firstNonZero; in AddFilter()
131 filterLength = lastNonZero + 1 - firstNonZero; in AddFilter()
134 fFilterValues.append(filterLength, &filterValues[firstNonZero]); in AddFilter()
/external/pdfium/xfa/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp50 int32_t firstNonZero = 1; in Init() local
51 while ((firstNonZero < coefficientsLength) && in Init()
52 ((*coefficients)[firstNonZero] == 0)) { in Init()
53 firstNonZero++; in Init()
55 if (firstNonZero == coefficientsLength) { in Init()
58 m_coefficients.SetSize(coefficientsLength - firstNonZero); in Init()
59 for (int32_t i = firstNonZero, j = 0; i < coefficientsLength; i++, j++) { in Init()