Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/testing/runner/
DMockSpellCheck.cpp87 int wordOffset = distance(stringText.begin(), firstChar); in spellCheckWord() local
88 int maxWordLength = static_cast<int>(stringText.length()) - wordOffset; in spellCheckWord()
99 word = stringText.substr(wordOffset, wordLength); in spellCheckWord()
100 …& (static_cast<int>(stringText.length()) == wordOffset + wordLength || isNotASCIIAlpha(stringText[ in spellCheckWord()
101 *misspelledOffset = wordOffset + skippedLength; in spellCheckWord()
110 …string16::iterator lastChar = find_if(stringText.begin() + wordOffset, stringText.end(), isNotASCI… in spellCheckWord()
112 wordLength = static_cast<int>(stringText.length()) - wordOffset; in spellCheckWord()
116 BLINK_ASSERT(0 < wordOffset + wordLength); in spellCheckWord()
117 stringText = stringText.substr(wordOffset + wordLength); in spellCheckWord()
118 skippedLength += wordOffset + wordLength; in spellCheckWord()