Searched refs:startOfWord (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTextFormControlElementTest.cpp147 static VisiblePosition startOfWord(const VisiblePosition& position) function in namespace:__anon11084
149 return startOfWord(position, LeftWordIfOnBoundary);
164 SCOPED_TRACE("HTMLTextFormControlElement::startOfWord");
165 testFunctionEquivalence(position, HTMLTextFormControlElement::startOfWord, startOfWord);
H A DHTMLTextFormControlElement.h100 static Position startOfWord(const Position&);
H A DHTMLTextFormControlElement.cpp823 Position HTMLTextFormControlElement::startOfWord(const Position& position) function in class:blink::HTMLTextFormControlElement
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DSpellChecker.cpp389 VisibleSelection adjacentWords = VisibleSelection(startOfWord(wordStart, LeftWordIfOnBoundary), endOfWord(wordStart, RightWordIfOnBoundary));
404 markMisspellings(VisibleSelection(startOfWord(wordStart, LeftWordIfOnBoundary), endOfWord(wordStart, RightWordIfOnBoundary)), misspellingRange);
692 VisiblePosition startOfFirstWord = startOfWord(startOfSelection, LeftWordIfOnBoundary);
695 VisiblePosition startOfLastWord = startOfWord(endOfSelection, RightWordIfOnBoundary);
699 startOfFirstWord = startOfWord(startOfSelection, RightWordIfOnBoundary);
704 startOfLastWord = startOfWord(endOfSelection, LeftWordIfOnBoundary);
783 newAdjacentWords.setWithoutValidation(HTMLTextFormControlElement::startOfWord(newStart), HTMLTextFormControlElement::endOfWord(newStart));
788 newAdjacentWords = VisibleSelection(startOfWord(newStart, LeftWordIfOnBoundary), endOfWord(newStart, RightWordIfOnBoundary));
862 VisibleSelection oldAdjacentWords = VisibleSelection(startOfWord(oldStart, LeftWordIfOnBoundary), endOfWord(oldStart, RightWordIfOnBoundary));
H A DVisibleUnits.h43 VisiblePosition startOfWord(const VisiblePosition &, EWordSide = RightWordIfOnBoundary);
H A DTypingCommand.cpp307 VisiblePosition p1 = startOfWord(previous, LeftWordIfOnBoundary);
314 VisiblePosition p2 = startOfWord(start, LeftWordIfOnBoundary);
H A DVisibleSelection.cpp378 m_start = startOfWord(start, side).deepEquivalent();
H A DVisibleUnits.cpp627 VisiblePosition startOfWord(const VisiblePosition &c, EWordSide side) function in namespace:blink
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderText.cpp128 int32_t startOfWord = boundary->first(); local
129 for (endOfWord = boundary->next(); endOfWord != TextBreakDone; startOfWord = endOfWord, endOfWord = boundary->next()) {
130 if (startOfWord) // Ignore first char of previous string
131 result.append(input[startOfWord - 1] == noBreakSpace ? noBreakSpace : toTitleCase(stringWithPrevious[startOfWord]));
132 for (int i = startOfWord + 1; i < endOfWord; i++)
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DRange.cpp1687 start = startOfWord(start);

Completed in 1677 milliseconds