Lines Matching refs:nCharPos

416 bool ImplLayoutRuns::AddPos( int nCharPos, bool bRTL )  in AddPos()  argument
424 if( ((nCharPos + bRTL) == nRunPos1) in AddPos()
428 maRuns[ nIndex-1 ] = nCharPos + !bRTL; in AddPos()
432 if( (nRunPos0 <= nCharPos) && (nCharPos < nRunPos1) ) in AddPos()
434 if( (nRunPos1 <= nCharPos) && (nCharPos < nRunPos0) ) in AddPos()
439 maRuns.push_back( nCharPos + (bRTL ? 1 : 0) ); in AddPos()
440 maRuns.push_back( nCharPos + (bRTL ? 0 : 1) ); in AddPos()
467 bool ImplLayoutRuns::PosIsInRun( int nCharPos ) const in PosIsInRun()
481 if( nCharPos < nMinCharPos ) in PosIsInRun()
483 if( nCharPos >= nEndCharPos ) in PosIsInRun()
488 bool ImplLayoutRuns::PosIsInAnyRun( int nCharPos ) const in PosIsInAnyRun()
499 if( (bRet = PosIsInRun( nCharPos )) == true ) in PosIsInAnyRun()
511 bool ImplLayoutRuns::GetNextPos( int* nCharPos, bool* bRightToLeft ) in GetNextPos() argument
514 if( *nCharPos < 0 ) in GetNextPos()
525 if( *nCharPos < 0 ) in GetNextPos()
528 *nCharPos = nRunPos0; in GetNextPos()
534 ++(*nCharPos); in GetNextPos()
537 if( *nCharPos == nRunPos1 ) in GetNextPos()
544 *nCharPos = nRunPos0; in GetNextPos()
550 --(*nCharPos); in GetNextPos()
1174 for( int nCharPos = i = -1; rArgs.GetNextPos( &nCharPos, &bRTL ); ) in ApplyDXArray() local
1176 n = nCharPos - rArgs.mnMinCharPos; in ApplyDXArray()
1810 int nCharPos[ MAX_FALLBACK ]; in AdjustLayout() local
1842 nStartNew[ nLevel ], &nGlyphAdv[ nLevel ], &nCharPos[ nLevel ] ); in AdjustLayout()
1844 … c%d %x\n", n, nStartOld[nLevel], nStartNew[nLevel], aPos.X(), nGlyphAdv[nLevel], nCharPos[nLevel], in AdjustLayout()
1845 rArgs.mpStr[nCharPos[nLevel]]); in AdjustLayout()
1872 int nActiveCharPos = nCharPos[0]; in AdjustLayout()
1884 int nRunVisibleEndChar = nCharPos[0]; in AdjustLayout()
1913 (maFallbackRuns[ n-1 ].PosIsInRun( nCharPos[0] ) ) && in AdjustLayout()
1914 (!maFallbackRuns[ n ].PosIsInAnyRun( nCharPos[0] ) ) in AdjustLayout()
1920 nStartNew[0], &nGlyphAdv[0], &nCharPos[0] ); in AdjustLayout()
1922 … %x\n", nStartOld[0], nStartNew[0], aPos.X(), nGlyphAdv[0], nCharPos[0], rArgs.mpStr[nCharPos[0]]); in AdjustLayout()
1938 int nOrigCharPos = nCharPos[n]; in AdjustLayout()
1940 nStartNew[n], &nGlyphAdv[n], &nCharPos[n] ); in AdjustLayout()
1942 …a%d c%d %x\n", n, nStartOld[n], nStartNew[n], nGlyphAdv[n], nCharPos[n], rArgs.mpStr[nCharPos[n]]); in AdjustLayout()
1956 if ((n+1 < nLevel) && (nCharPos[n] != nOrigCharPos)) in AdjustLayout()
1958 if (nOrigCharPos < nCharPos[n]) in AdjustLayout()
1960 if (nCharPos[n+1] > nOrigCharPos && (nCharPos[n+1] < nCharPos[n])) in AdjustLayout()
1963 else if (nOrigCharPos > nCharPos[n]) in AdjustLayout()
1965 if (nCharPos[n+1] > nCharPos[n] && (nCharPos[n+1] < nOrigCharPos)) in AdjustLayout()
1974 if( !maFallbackRuns[n-1].PosIsInRun( nCharPos[n] ) ) in AdjustLayout()
1980 bool bNeedFallback = maFallbackRuns[0].PosIsInRun( nCharPos[0] ); in AdjustLayout()
1982 if( !maFallbackRuns[ nLevel-1 ].PosIsInRun( nCharPos[0] ) ) in AdjustLayout()
1993 nCharPos[n] < mnEndCharPos && in AdjustLayout()
1994 nCharPos[n] >= mnMinCharPos) in AdjustLayout()
1999 >= aMultiArgs.mpDXArray[nCharPos[n] - mnMinCharPos]) in AdjustLayout()
2001 nRunVisibleEndChar = nCharPos[n]; in AdjustLayout()
2005 <= aMultiArgs.mpDXArray[nCharPos[n] - mnMinCharPos]) in AdjustLayout()
2007 nRunVisibleEndChar = nCharPos[n]; in AdjustLayout()
2022 int nDXIndex = nCharPos[0] - mnMinCharPos - bLTR; in AdjustLayout()
2038 …%d)\n", nLastRunEndChar-1, nRunVisibleEndChar-1, nActiveCharPos - bLTR, nCharPos[0] - bLTR, nRunAd… in AdjustLayout()
2048 …v%d(%d)\n", nLastRunEndChar, nRunVisibleEndChar, nActiveCharPos - bLTR, nCharPos[0] - bLTR, nRunAd… in AdjustLayout()
2052 nRunVisibleEndChar = nCharPos[0]; in AdjustLayout()
2069 nActiveCharPos = nCharPos[0]; in AdjustLayout()