Lines Matching refs:i
109 for( int i = nCount; --i >= 0; ++pRange ) in IsDiacritic() local
497 for (size_t i = 0; i < maRuns.size(); i+=2) in PosIsInAnyRun() local
629 for( int i = 0; i < nRunCount; ++i ) in ImplLayoutArgs() local
632 const UBiDiDirection nDir = ubidi_getVisualRun( pLineBidi, i, &nMinPos, &nLength ); in ImplLayoutArgs()
660 for( int i = nCharPos0; i < nCharPos1; ++i ) in AddRun() local
661 if( IsControlChar( mpStr[i] ) ) in AddRun()
664 maRuns.AddRun( nCharPos0, i, bRTL ); in AddRun()
665 nCharPos0 = i + 1; in AddRun()
670 for( int i = nCharPos1; --i >= nCharPos0; ) in AddRun() local
671 if( IsControlChar( mpStr[i] ) ) in AddRun()
674 maRuns.AddRun( i+1, nCharPos1, bRTL ); in AddRun()
675 nCharPos1 = i; in AddRun()
704 for( int i = nMin; i < nEnd; ++i ) in PrepareFallback() local
705 aPosVector.push_back( i ); in PrepareFallback()
987 for( int i = 0; i < mnGlyphCount; ++i ) in AppendGlyph() local
988 pNewGI[ i ] = mpGlyphItems[ i ]; in AppendGlyph()
1099 for( int i = mnGlyphCount; --i >= 0; ++pG ) in GetTextWidth() local
1136 int i, n; in ApplyDXArray() local
1140 for( i = 0; i < nCharCount; ++i ) in ApplyDXArray()
1141 pLogCluster[ i ] = -1; in ApplyDXArray()
1143 for( i = 0; i < mnGlyphCount; ++i, ++pG ) in ApplyDXArray()
1149 pLogCluster[ n ] = i; in ApplyDXArray()
1156 if( (i = pLogCluster[0]) >= 0 ) in ApplyDXArray()
1163 pLogCluster[ n ] = i; in ApplyDXArray()
1165 i = pLogCluster[ n ]; in ApplyDXArray()
1170 for( i = 0; i < mnGlyphCount; ++i ) in ApplyDXArray()
1171 pNewGlyphWidths[ i ] = 0; in ApplyDXArray()
1174 for( int nCharPos = i = -1; rArgs.GetNextPos( &nCharPos, &bRTL ); ) in ApplyDXArray()
1180 i = pLogCluster[ n ]; in ApplyDXArray()
1181 if( i >= 0 ) in ApplyDXArray()
1186 pNewGlyphWidths[ i ] += nDelta * mnUnitsPerPixel; in ApplyDXArray()
1194 for( i = 0; i < mnGlyphCount; ++i, ++pG ) in ApplyDXArray()
1200 int nNewClusterWidth = pNewGlyphWidths[i]; in ApplyDXArray()
1202 for( int j = i; ++j < mnGlyphCount; ++pClusterG ) in ApplyDXArray()
1359 int nKashidaCount = 0, i; in KashidaJustify() local
1360 for( i = 0; i < mnGlyphCount; ++i, ++pG1 ) in KashidaJustify()
1385 for( i = mnGlyphCount; --i >= 0; ++pG1, ++pG2 ) in KashidaJustify()
1443 int i; in GetCaretPositions() local
1444 for( i = 0; i < nMaxIndex; ++i ) in GetCaretPositions()
1445 pCaretXArray[ i ] = nXPos; in GetCaretPositions()
1449 for( i = mnGlyphCount; --i >= 0; ++pG ) in GetCaretPositions()
1480 for( int i = mnMinCharPos; i < mnEndCharPos; ++i ) in GetTextBreak() local
1482 nWidth += pCharWidths[ i - mnMinCharPos ] * nFactor; in GetTextBreak()
1484 return i; in GetTextBreak()
1691 for( int i = 0; i < mnLevel; ++i ) in ~MultiSalLayout() local
1692 mpLayouts[ i ]->Release(); in ~MultiSalLayout()
1748 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout() local
1751 nOrigWidth += pJustificationArray[i]; in AdjustLayout()
1752 if( pJustificationArray[i] > 0 ) in AdjustLayout()
1761 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout() local
1763 int nJustWidth = pJustificationArray[i]; in AdjustLayout()
1772 pJustificationArray[i] = nWidthSum; in AdjustLayout()
1781 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout() local
1783 sal_Int32 nVal = pJustificationArray[ i ]; in AdjustLayout()
1785 pJustificationArray[ i ] = nVal / mnUnitsPerPixel; in AdjustLayout()
2073 for( int i = nFBLevel; --i >= 0;) in AdjustLayout() local
2075 if (maFallbackRuns[i].GetRun(&nRunStart, &nRunEnd, &bRtl)) in AdjustLayout()
2080 maFallbackRuns[i].NextRun(); in AdjustLayout()
2085 maFallbackRuns[i].NextRun(); in AdjustLayout()
2118 for( int i = mnLevel; --i >= 0; ) in DrawText() local
2120 SalLayout& rLayout = *mpLayouts[ i ]; in DrawText()
2150 for( int i = 0; i < nCharCount; ++i ) in GetTextBreak() local
2152 long w = pCharWidths[ i + nCharCount ]; in GetTextBreak()
2154 pCharWidths[ i ] += w; in GetTextBreak()
2159 for( int i = 0; i < nCharCount; ++i ) in GetTextBreak() local
2161 nWidth += pCharWidths[ i ] * nFactor; in GetTextBreak()
2163 return (i + mnMinCharPos); in GetTextBreak()
2181 for( int i = 0; i < nCharCount; ++i ) in FillDXArray() local
2182 pCharWidths[i] = 0; in FillDXArray()
2201 for( int i = 0; i < nCharCount; ++i ) in FillDXArray() local
2205 if( pCharWidths[i] != 0 ) in FillDXArray()
2207 long nCharWidth = pTempWidths[i]; in FillDXArray()
2211 pCharWidths[i] = nCharWidth; in FillDXArray()
2233 for( int i = 0; i < nMaxIndex; ++i ) in GetCaretPositions() local
2234 if( pTempPos[i] >= 0 ) in GetCaretPositions()
2236 long w = pTempPos[i]; in GetCaretPositions()
2238 pCaretXArray[i] = w; in GetCaretPositions()
2268 for( int i = 0; i < nRetVal; ++i ) in GetNextGlyphs() local
2272 long w = pGlyphAdvAry[i]; in GetNextGlyphs()
2274 pGlyphAdvAry[i] = w; in GetNextGlyphs()
2276 pGlyphIdxAry[ i ] |= nFontTag; in GetNextGlyphs()
2296 for( int i = mnLevel; --i >= 0; ) in GetOutline() local
2298 SalLayout& rLayout = *mpLayouts[ i ]; in GetOutline()
2316 for( int i = mnLevel; --i >= 0; ) in GetBoundRect() local
2318 SalLayout& rLayout = *mpLayouts[ i ]; in GetBoundRect()