Searched defs:word_offset (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_spell_check.cc62 int word_offset = std::distance(string_text.begin(), first_char); local
63 int max_word_length = static_cast<int>(string_text.length()) - word_offset;
77 word = string_text.substr(word_offset, word_length);
80 word_offset + word_length ||
81 IsNotASCIIAlpha(string_text[word_offset + word_length]))) {
82 *misspelled_offset = word_offset + skipped_length;
92 string_text.begin() + word_offset, string_text.end(), IsNotASCIIAlpha);
94 word_length = static_cast<int>(string_text.length()) - word_offset;
98 DCHECK_LT(0, word_offset + word_length);
99 string_text = string_text.substr(word_offset
[all...]

Completed in 93 milliseconds