Lines Matching defs:word_offset
62 int word_offset = std::distance(string_text.begin(), first_char);
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 + word_length);
100 skipped_length += word_offset + word_length;