Lines Matching refs:k
192 sal_Int32 & Value( int i, int k );
207 sal_Int32 & IntArray2D::Value( int i, int k ) in Value() argument
210 DBG_ASSERT( 0 <= k && k < n2, "first index out of range" ); in Value()
211 DBG_ASSERT( i * n2 + k < n1 * n2, "index out of range" ); in Value()
212 return pData[ i * n2 + k ]; in Value()
228 sal_Int32 i, k; in LevDistance() local
231 for (k = 0; k <= nLen2; ++k) in LevDistance()
232 aData.Value(0, k) = k; in LevDistance()
235 for (k = 1; k <= nLen2; ++k) in LevDistance()
238 sal_Unicode c2k = rTxt2.getStr()[k - 1]; in LevDistance()
240 sal_Int32 nNew = Minimum( aData.Value(i-1, k ) + 1, in LevDistance()
241 aData.Value(i , k-1) + 1, in LevDistance()
242 aData.Value(i-1, k-1) + nCost ); in LevDistance()
244 if (2 < i && 2 < k) in LevDistance()
246 int nT = aData.Value(i-2, k-2) + 1; in LevDistance()
249 if (rTxt2.getStr()[k - 2] != c2k) in LevDistance()
255 aData.Value(i, k) = nNew; in LevDistance()