Lines Matching refs:i
192 sal_Int32 & Value( int i, int k );
207 sal_Int32 & IntArray2D::Value( int i, int k ) in Value() argument
209 DBG_ASSERT( 0 <= i && i < n1, "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
229 for (i = 0; i <= nLen1; ++i) in LevDistance()
230 aData.Value(i, 0) = i; in LevDistance()
233 for (i = 1; i <= nLen1; ++i) in LevDistance()
237 sal_Unicode c1i = rTxt1.getStr()[i - 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()
247 if (rTxt1.getStr()[i - 2] != c1i) in LevDistance()
255 aData.Value(i, k) = nNew; in LevDistance()
271 sal_Int32 i; in IsUseDicList() local
273 for ( i = 0; i < nLen; ++i) in IsUseDicList()
275 if (UPH_IS_USE_DICTIONARY_LIST == pVal[i].Handle) in IsUseDicList()
277 pVal[i].Value >>= bRes; in IsUseDicList()
281 if (i >= nLen) // no temporary value found in 'rProperties' in IsUseDicList()
299 sal_Int32 i; in IsIgnoreControlChars() local
301 for ( i = 0; i < nLen; ++i) in IsIgnoreControlChars()
303 if (UPH_IS_IGNORE_CONTROL_CHARACTERS == pVal[i].Handle) in IsIgnoreControlChars()
305 pVal[i].Value >>= bRes; in IsIgnoreControlChars()
309 if (i >= nLen) // no temporary value found in 'rProperties' in IsIgnoreControlChars()
352 sal_Int32 i; in SearchDicList() local
353 for (i = 0; i < nDics; i++) in SearchDicList()
355 uno::Reference< XDictionary > axDic( pDic[i], UNO_QUERY ); in SearchDicList()
393 for (sal_Int32 i = 0; i < nCount; i++) in SaveDictionaries() local
397 uno::Reference< frame::XStorable > xStor( pDic[i], UNO_QUERY ); in SaveDictionaries()
491 for (sal_Int32 i = 0; i < nCount; ++i) in LangSeqToLocaleSeq() local
493 LanguageToLocale( pLocale[i], pLang[ i ] ); in LangSeqToLocaleSeq()
507 for (sal_Int32 i = 0; i < nCount; ++i) in LocaleSeqToLangSeq() local
509 pLang[i] = LocaleToLanguage( pLocale[i] ); in LocaleSeqToLangSeq()
573 for (sal_Int16 i = 0 ; pWord[ nPosL ] == pAltWord[ nAltPosL ]; nPosL++, nAltPosL++, i++) in GetAltSpelling() local
579 if (i >= nHyphenationPos + 1) in GetAltSpelling()
606 sal_Int32 i = -1; in GetOrigWordPos() local
607 while (nPos >= 0 && i++ < nLen) in GetOrigWordPos()
609 sal_Unicode cChar = rOrigWord[i]; in GetOrigWordPos()
614 return sal::static_int_cast< sal_Int16 >((0 <= i && i < nLen) ? i : -1); in GetOrigWordPos()
625 for (sal_Int32 i = 0; i < nPos; ++i) in GetPosInWordToCheck() local
627 sal_Unicode cChar = rTxt[i]; in GetPosInWordToCheck()
837 sal_Int32 i = 0; in HasDigits() local
838 while (i < nLen) // for all characters ... in HasDigits()
840 …const sal_uInt32 nCodePoint = rText.iterateCodePoints( &i ); // handle unicode surrogates corre… in HasDigits()
861 xub_StrLen i = 0; in IsNumeric() local
862 while (i < nLen) in IsNumeric()
864 sal_Unicode cChar = rText.GetChar( i++ ); in IsNumeric()