Searched refs:char_range (Results 1 – 5 of 5) sorted by relevance
246 DCHECK_EQ(previous_segment->char_range.end(), in CheckLineIntegrity()247 segment->char_range.start()); in CheckLineIntegrity()461 void AddSegment(int run_index, Range char_range, int width) { in AddSegment() argument462 if (char_range.is_empty()) { in AddSegment()473 segment.char_range = char_range; in AddSegment()484 if (char_range.end() == run->range.end()) in AddSegment()838 DCHECK(!segment->char_range.is_empty()); in DrawVisualText()839 DCHECK(run->range.Contains(segment->char_range)); in DrawVisualText()840 Range glyph_range = CharRangeToGlyphRange(*run, segment->char_range); in DrawVisualText()870 colors().GetBreak(segment->char_range.start()); in DrawVisualText()[all …]
440 Range TextRunHarfBuzz::CharRangeToGlyphRange(const Range& char_range) const { in CharRangeToGlyphRange()441 DCHECK(range.Contains(char_range)); in CharRangeToGlyphRange()442 DCHECK(!char_range.is_reversed()); in CharRangeToGlyphRange()443 DCHECK(!char_range.is_empty()); in CharRangeToGlyphRange()450 last = CharToGlyph(char_range.end() - 1); in CharRangeToGlyphRange()453 for (size_t i = char_range.start(); i > range.start(); --i) { in CharRangeToGlyphRange()461 first = CharToGlyph(char_range.start()); in CharRangeToGlyphRange()462 for (size_t i = char_range.end(); i < range.end(); ++i) { in CharRangeToGlyphRange()758 segment.char_range = run.range; in EnsureLayout()
1833 render_text->lines_[0].segments[0].char_range); in TEST_F()1836 render_text->lines_[1].segments[0].char_range); in TEST_F()1890 render_text->lines_[0].segments[0].char_range); in TEST_F()1894 ASSERT_EQ(1U, newline_segment.char_range.length()); in TEST_F()1895 EXPECT_EQ(L'\n', kTestStrings[i].text[newline_segment.char_range.start()]); in TEST_F()1902 render_text->lines_[1].segments[0].char_range); in TEST_F()
155 Range char_range; member
619 CFRange char_range = CFRangeMake(0, 2); in GetCurrentCountryID() local620 CFStringGetCharacters(country, char_range, isobuf); in GetCurrentCountryID()