Home
last modified time | relevance | path

Searched refs:ePos (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp156 int ePos = std::min(endPos - m_start, int(m_len) + (isLineBreak() ? 0 : 1)); in isSelected() local
157 return (sPos < ePos); in isSelected()
209 int ePos = std::min(endPos - m_start, (int)m_len); in localSelectionRect() local
211 if (sPos > ePos) in localSelectionRect()
222 bool respectHyphen = ePos == m_len && hasHyphen(); in localSelectionRect()
227 if (sPos || ePos != static_cast<int>(m_len)) in localSelectionRect()
228 … r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos)); in localSelectionRect()
576 void InlineTextBox::selectionStartEnd(int& sPos, int& ePos) const in selectionStartEnd()
591 ePos = std::min(endPos - m_start, (int)m_len); in selectionStartEnd()
597 int sPos, ePos; in paintSelection() local
[all …]
DInlineTextBox.h115 void selectionStartEnd(int& sPos, int& ePos) const;
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp2722 int ePos = str.Find(L'.'); local
2723 if (ePos == -1) {
2726 while (ePos != -1) {
2727 strtemp = strtemp.Right(strtemp.GetLength() - ePos - 1);
2728 ePos = strtemp.Find('.');
2730 ePos = strtemp.GetLength();
2731 for (i = 0; i < ePos; i++) {
2736 str = str.Left(str.GetLength() - ePos + i + 1);
2737 ePos = ePos - i - 1;
2742 for (i = aPos + 1; i < nLen - ePos; i++) {