OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wordOffset
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/testing/runner/
MockSpellCheck.cpp
87
int
wordOffset
= distance(stringText.begin(), firstChar);
88
int maxWordLength = static_cast<int>(stringText.length()) -
wordOffset
;
99
word = stringText.substr(
wordOffset
, wordLength);
100
if (word == m_misspelledWords.at(i) && (static_cast<int>(stringText.length()) ==
wordOffset
+ wordLength || isNotASCIIAlpha(stringText[
wordOffset
+ wordLength]))) {
101
*misspelledOffset =
wordOffset
+ skippedLength;
110
string16::iterator lastChar = find_if(stringText.begin() +
wordOffset
, stringText.end(), isNotASCIIAlpha);
112
wordLength = static_cast<int>(stringText.length()) -
wordOffset
;
116
BLINK_ASSERT(0 <
wordOffset
+ wordLength);
117
stringText = stringText.substr(
wordOffset
+ wordLength)
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerService.java
263
synchronized public boolean addWord(char[] word, int[] spaceIndices, int
wordOffset
,
282
// mBestSuggestion = new String(word,
wordOffset
, wordLength);
293
final String wordString = new String(word,
wordOffset
, wordLength);
Completed in 70 milliseconds