Home
last modified time | relevance | path

Searched refs:FX_IsOdd (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_arabic.h61 #define FX_BidiGreaterEven(a) (FX_IsOdd(a) ? ((a) + 1) : ((a) + 2))
62 #define FX_BidiGreaterOdd(a) (FX_IsOdd(a) ? ((a) + 2) : ((a) + 1))
70 #define FX_BidiDirection(a) (FX_IsOdd(a) ? FX_BIDICLASS_R : FX_BIDICLASS_L)
Dfx_arabic.cpp552 int32_t iState = FX_IsOdd(iBaseLevel) ? FX_BWSxr : FX_BWSxl; in FX_BidiResolveWeak()
654 int32_t iState = FX_IsOdd(iBaseLevel) ? FX_BNSr : FX_BNSl; in FX_BidiResolveNeutrals()
708 iLevel += gc_FX_BidiAddLevel[FX_IsOdd(iLevel)][iCls - 1]; in FX_BidiResolveImplicit()
768 bReverse = bReverse || FX_IsOdd(iBaseLevel); in FX_BidiReorderLevel()
903 int32_t iState = FX_IsOdd(iBaseLevel) ? FX_BWSxr : FX_BWSxl; in FX_BidiResolveWeak()
975 int32_t iState = FX_IsOdd(iBaseLevel) ? FX_BNSr : FX_BNSl; in FX_BidiResolveNeutrals()
1025 iLevel += gc_FX_BidiAddLevel[FX_IsOdd(iLevel)][iCls - 1]; in FX_BidiResolveImplicit()
1086 bReverse = bReverse || FX_IsOdd(iBaseLevel); in FX_BidiReorderLevel()
/external/pdfium/xfa/src/fee/src/fx_wordbreak/
Dfx_wordbreak_impl.cpp9 #define FX_IsOdd(a) ((a)&1) macro
13 return (FX_WordBreakProp)(FX_IsOdd(wcCodePoint) ? (dwProperty & 0x0F) in FX_GetWordBreakProperty()
/external/pdfium/xfa/src/fgas/include/
Dfx_alg.h9 #define FX_IsOdd(a) ((a)&1) macro
/external/pdfium/xfa/src/fgas/src/layout/
Dfx_rtfbreak.cpp418 if (m_bVertical != FX_IsOdd(m_iRotation)) { in AppendChar_CharCode()
440 if (m_bVertical != FX_IsOdd(iRotation)) { in AppendChar_Combination()
531 if (m_bVertical != FX_IsOdd(iLastRotation)) { in AppendChar_Arabic()
549 if (m_bVertical != FX_IsOdd(iRotation)) { in AppendChar_Arabic()
586 if (m_bVertical != FX_IsOdd(iRotation)) { in AppendChar_Others()
861 FX_BOOL bArabic = FX_IsOdd(ttp.m_iBidiLevel); in EndBreak_Alignment()
1193 FX_BOOL bRTLPiece = FX_IsOdd(pText->iBidiLevel); in GetDisplayPos()
1433 FX_BOOL bRTLPiece = FX_IsOdd(pText->iBidiLevel); in GetCharRects()
Dfx_textbreak.cpp356 if (m_bVertical != FX_IsOdd(iRotation)) { in AppendChar_Combination()
477 if (m_bVertical != FX_IsOdd(iLastRotation)) { in AppendChar_Arabic()
497 if (m_bVertical != FX_IsOdd(iRotation)) { in AppendChar_Arabic()
541 if (m_bVertical != FX_IsOdd(iRotation)) { in AppendChar_Others()
647 if (m_bVertical != FX_IsOdd(iRotation)) { in EndBreak_UpdateArabicShapes()
837 FX_BOOL bArabic = FX_IsOdd(ttp.m_iBidiLevel); in EndBreak_Alignment()
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtpage.cpp271 bBefore = FX_IsOdd(pPiece->nBidiLevel); in GetCharIndex()
273 bBefore = !FX_IsOdd(pPiece->nBidiLevel); in GetCharIndex()
464 if (FX_IsOdd(pPiece->m_iBidiLevel)) { in LoadPage()
Dfde_txtedtengine.cpp2292 if ((!FX_IsOdd(nBIDILevel) && !bBefore) || in GetCaretRect()
2293 (FX_IsOdd(nBIDILevel) && bBefore)) { in GetCaretRect()
2301 if ((!FX_IsOdd(nBIDILevel) && !bBefore) || in GetCaretRect()
2302 (FX_IsOdd(nBIDILevel) && bBefore)) { in GetCaretRect()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h1209 #define FX_IsOdd(a) ((a)&1) macro
/external/pdfium/xfa/src/fdp/src/tto/
Dfde_textout.cpp612 if (FX_IsOdd(pPiece->m_iBidiLevel)) { in RetriecePieces()