Lines Matching defs:m_status
217 BidiContext* context() const { return m_status.context.get(); }
218 void setContext(PassRefPtr<BidiContext> c) { m_status.context = c; }
220 void setLastDir(WTF::Unicode::Direction lastDir) { m_status.last = lastDir; }
221 void setLastStrongDir(WTF::Unicode::Direction lastStrongDir) { m_status.lastStrong = lastStrongDir; }
222 void setEorDir(WTF::Unicode::Direction eorDir) { m_status.eor = eorDir; }
227 const BidiStatus& status() const { return m_status; }
231 m_status = s;
281 BidiStatus m_status;
347 m_status.eor = WTF::Unicode::OtherNeutral;
367 ASSERT(m_status.eor != OtherNeutral || m_eor.atEnd());
368 ASSERT(m_status.last != NonSpacingMark
369 && m_status.last != BoundaryNeutral
370 && m_status.last != RightToLeftEmbedding
371 && m_status.last != LeftToRightEmbedding
372 && m_status.last != RightToLeftOverride
373 && m_status.last != LeftToRightOverride
374 && m_status.last != PopDirectionalFormat);
376 m_direction = m_status.lastStrong == LeftToRight ? LeftToRight : RightToLeft;
389 if (m_status.eor == EuropeanNumber) {
390 if (m_status.lastStrong != LeftToRight) {
394 } else if (m_status.eor == ArabicNumber) {
397 } else if (m_status.lastStrong != LeftToRight) {
401 } else if (m_status.eor == EuropeanNumber || m_status.eor == ArabicNumber || m_status.lastStrong == LeftToRight) {
427 if (m_status.eor == EuropeanNumber) {
428 if (m_status.lastStrong != LeftToRight) {
432 } else if (m_status.eor == ArabicNumber) {
435 } else if (m_status
439 } else if (m_status.eor == ArabicNumber
440 || (m_status.eor == EuropeanNumber && (m_status.lastStrong != LeftToRight || from == RightToLeft))
441 || (m_status.eor != EuropeanNumber && m_status.lastStrong == LeftToRight && from == RightToLeft)) {
546 if (m_status.last != EuropeanNumber)
547 m_status.last = EuropeanNumberTerminator;
554 switch (m_status.last) {
560 m_status.last = dirCurrent;
563 m_status.last = OtherNeutral;
578 m_status.last = dirCurrent;
706 stateAtEnd.m_status = m_status;
745 dirCurrent = m_status.last;
753 ASSERT(m_status.eor != OtherNeutral || m_eor.atEnd());
768 switch (m_status.last) {
773 if (m_status.last != EuropeanNumber || m_status.lastStrong != LeftToRight)
786 if (m_status.eor == EuropeanNumber) {
787 if (m_status.lastStrong != LeftToRight) {
798 } else if (m_status.eor == ArabicNumber) {
808 } else if (m_status.lastStrong != LeftToRight) {
820 m_status.eor = LeftToRight;
821 m_status.lastStrong = LeftToRight;
826 switch (m_status.last) {
842 if (m_status.eor == EuropeanNumber) {
843 if (m_status.lastStrong == LeftToRight && context()->dir() == LeftToRight)
846 } else if (m_status.eor == ArabicNumber) {
848 } else if (m_status.lastStrong == LeftToRight) {
857 m_status.eor = RightToLeft;
858 m_status.lastStrong = dirCurrent;
865 if (m_status.lastStrong != RightToLeftArabic) {
867 switch (m_status.last) {
880 if (m_status.eor == EuropeanNumber)
888 if (m_status.eor == EuropeanNumber) {
889 if (m_status.lastStrong == RightToLeft) {
894 m_eor = m_status.last == EuropeanNumberTerminator ? m_lastBeforeET : m_last;
900 } else if (m_status.eor == ArabicNumber) {
903 if (m_status.lastStrong == RightToLeft || context()->dir() == RightToLeft) {
905 m_eor = m_status.last == EuropeanNumberTerminator ? m_lastBeforeET : m_last;
911 } else if (m_status.lastStrong == RightToLeft) {
913 m_eor = m_status.last == EuropeanNumberTerminator ? m_lastBeforeET : m_last;
923 m_status.eor = EuropeanNumber;
930 switch (m_status.last) {
944 if (m_status.eor == ArabicNumber)
953 if (m_status.eor == ArabicNumber
954 || (m_status.eor == EuropeanNumber && (m_status.lastStrong == RightToLeft || context()->dir() == RightToLeft))
955 || (m_status.eor != EuropeanNumber && m_status.lastStrong == LeftToRight && context()->dir() == RightToLeft)) {
961 m_direction = m_status.lastStrong == LeftToRight ? LeftToRight : RightToLeft;
969 m_status.eor = ArabicNumber;
977 if (m_status.last == EuropeanNumber) {
980 m_status.eor = dirCurrent;
981 } else if (m_status.last != EuropeanNumberTerminator) {
1009 switch (m_status.eor) {
1013 m_direction = m_status.eor;
1016 m_direction = m_status.lastStrong == LeftToRight ? LeftToRight : EuropeanNumber;
1024 m_status = stateAtEnd.m_status;
1048 m_status = stateAtEnd.m_status;