Lines Matching defs:begin
58 auto begin = std::max(a.start, b.start);
60 return end > begin ? TextRange(begin, end) : EMPTY_TEXT;
292 if (fRuns.begin()->leftToRight()) {
407 size_t begin = 0;
410 while (begin < last && !rightExit && measureWidth < fOldMaxWidth) {
411 measureWidth += rawTextSize[begin++].phraseWidth;
413 --begin;
416 if (last > begin && measureWidth < fOldMaxWidth) {
424 runTimeEllipsisWidth = resetEllipsisWidth(runTimeEllipsisWidth, lastRunIndex, begin);
429 start = begin;
444 if (fRuns.begin()->leftToRight()) {
859 , fTextRange(text.begin() - fOwner->text().begin(), text.end() - fOwner->text().begin())
870 const char* ch = text.begin();
983 Block* currentStyle = fTextStyles.begin();
1412 BlockIndex begin = EMPTY_BLOCK;
1422 if (begin == EMPTY_BLOCK) {
1423 begin = index;
1428 if (begin == EMPTY_INDEX || end == EMPTY_INDEX) {
1434 return { begin, end + 1 };
2224 auto it = std::lower_bound(fUnicodeIndexForUTF8Index.begin(), fUnicodeIndexForUTF8Index.end(), index);
2226 return std::distance(fUnicodeIndexForUTF8Index.begin(), it);