Searched refs:codePoint (Results 1 – 5 of 5) sorted by relevance
22 bool isBreakable(unsigned long codePoint) { in isBreakable() argument23 switch (codePoint) { in isBreakable()56 bool isNewline(unsigned long codePoint) { in isNewline() argument57 return codePoint == '\n'; in isNewline()75 GlyphIndex TextFace::getCharIndex(unsigned long codePoint) { in getCharIndex() argument77 return FT_Get_Char_Index(*face_, codePoint); in getCharIndex()146 if (isBreakable((*rangeBegin).codePoint())) { in findLongestWordSequence()157 auto codePoint = UTF8Range<const char*>::codePoint(**wordStart); in findLongestWordSequence() local158 if (isBreakable(codePoint)) { in findLongestWordSequence()167 codePoint = c.codePoint(); in findLongestWordSequence()[all …]
80 while (!isNewline(lineEnd.codePoint()) && lineEnd != text_.end()) { in draw()115 if (isNewline(textBegin.codePoint())) { in draw()
57 static unsigned long codePoint(CharIterator begin) { in codePoint() function98 unsigned long codePoint() const { return UTF8Range::codePoint(begin_); } in codePoint() function
79 bool isBreakable(unsigned long codePoint);80 bool isNewline(unsigned long codePoint);111 bool prevBreaking = isBreakable(begin_.codePoint());123 } while (begin_ != end_ && checkAndUpdate(begin_.codePoint()));150 GlyphIndex getCharIndex(unsigned long codePoint);
361 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte) in utf8_shift_and_mask() argument363 *codePoint <<= 6; in utf8_shift_and_mask()364 *codePoint |= 0x3F & byte; in utf8_shift_and_mask()