Searched refs:CFX_BidiChar (Results 1 – 4 of 4) sorted by relevance
17 CFX_BidiChar bidi; in TEST()18 CFX_BidiChar::Segment info; in TEST()21 EXPECT_EQ(CFX_BidiChar::NEUTRAL, info.direction); in TEST()28 CFX_BidiChar bidi; in TEST()29 CFX_BidiChar::Segment info; in TEST()40 EXPECT_EQ(CFX_BidiChar::NEUTRAL, info.direction); in TEST()46 EXPECT_EQ(CFX_BidiChar::LEFT, info.direction); in TEST()54 CFX_BidiChar bidi; in TEST()55 CFX_BidiChar::Segment info; in TEST()74 EXPECT_EQ(CFX_BidiChar::NEUTRAL, info.direction); in TEST()[all …]
21 class CFX_BidiChar {30 CFX_BidiChar();47 void StartNewSegment(CFX_BidiChar::Direction direction);55 using const_iterator = std::vector<CFX_BidiChar::Segment>::const_iterator;61 CFX_BidiChar::Direction OverallDirection() const { in OverallDirection()74 std::unique_ptr<CFX_BidiChar> m_pBidiChar;75 std::vector<CFX_BidiChar::Segment> m_Order;76 CFX_BidiChar::Direction m_eOverallDirection;
541 CFX_BidiChar::CFX_BidiChar() in CFX_BidiChar() function in CFX_BidiChar544 bool CFX_BidiChar::AppendChar(wchar_t wch) { in AppendChar()568 bool CFX_BidiChar::EndChar() { in EndChar()573 void CFX_BidiChar::StartNewSegment(CFX_BidiChar::Direction direction) { in StartNewSegment()582 m_pBidiChar(pdfium::MakeUnique<CFX_BidiChar>()), in CFX_BidiString()583 m_eOverallDirection(CFX_BidiChar::LEFT) { in CFX_BidiString()592 [](const CFX_BidiChar::Segment& seg) { in CFX_BidiString()593 return seg.direction == CFX_BidiChar::RIGHT; in CFX_BidiString()597 [](const CFX_BidiChar::Segment& seg) { in CFX_BidiString()598 return seg.direction == CFX_BidiChar::LEFT; in CFX_BidiString()[all …]
695 CFX_BidiChar::Direction eCurrentDirection = bidi.OverallDirection(); in CloseTempLine()697 if (segment.direction == CFX_BidiChar::RIGHT || in CloseTempLine()698 (segment.direction == CFX_BidiChar::NEUTRAL && in CloseTempLine()699 eCurrentDirection == CFX_BidiChar::RIGHT)) { in CloseTempLine()700 eCurrentDirection = CFX_BidiChar::RIGHT; in CloseTempLine()704 eCurrentDirection = CFX_BidiChar::LEFT; in CloseTempLine()931 return CFX_BidiString(str).OverallDirection() == CFX_BidiChar::RIGHT; in IsRightToLeft()