Searched refs:word_length (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_spell_check.cc64 int word_length; local
73 word_length =
77 word = string_text.substr(word_offset, word_length);
80 word_offset + word_length ||
81 IsNotASCIIAlpha(string_text[word_offset + word_length]))) {
83 *misspelled_length = word_length;
94 word_length = static_cast<int>(string_text.length()) - word_offset;
96 word_length = std::distance(first_char, last_char);
98 DCHECK_LT(0, word_offset + word_length);
99 string_text = string_text.substr(word_offset + word_length);
[all...]
/external/chromium_org/chrome/renderer/spellchecker/
H A Dspellcheck_language.cc60 int word_length; local
70 while (text_iterator_.GetNextWord(&word, &word_start, &word_length)) {
82 *misspelling_len = word_length;
112 int word_length; local
115 while (contraction_iterator_.GetNextWord(&word, &word_start, &word_length)) {
H A Dspellcheck.cc282 int word_length = static_cast<int>(word.size()); local
283 if (word_length < 2 ||
284 word_length > chrome::spellcheck_common::kMaxAutoCorrectWordSize)
295 if (i >= word_length)
303 for (int i = 0; i < word_length - 1; i++) {
309 SpellCheckWord(misspelled_word, word_length, tag, &misspelling_start,
391 int word_length = spellcheck_results[i].length; local
396 if (SpellCheckWord(text + word_location, word_length, 0,
402 line_text, word_location, word_length)) {
406 word_length, local
[all...]
H A Dspellcheck_worditerator.h136 // be different from the 'word_length'. Therefore, when we call functions that
138 // 'word_start' and 'word_length' as listed in the following snippet.
145 int* word_length);
H A Dspellcheck_worditerator.cc364 int* word_length) {
369 *word_length = 0;
386 *word_length = length;
362 GetNextWord(base::string16* word_string, int* word_start, int* word_length) argument
H A Dspellcheck_unittest.cc901 int word_length = static_cast<int>(word.length()); local
905 word_length,
912 EXPECT_EQ(word_length, misspelling_length);
/external/chromium_org/third_party/libsrtp/srtp/crypto/math/
H A Ddatatypes.c485 const int word_length = x->length >> 5; local
493 for (i=0; i < word_length - base_index; i++)
496 for (i=0; i < word_length - base_index - 1; i++)
499 x->word[word_length - base_index-1] = x->word[word_length-1] >> bit_index;
503 for (i = word_length - base_index; i < word_length; i++)
/external/srtp/crypto/math/
H A Ddatatypes.c485 const int word_length = x->length >> 5; local
493 for (i=0; i < word_length - base_index; i++)
496 for (i=0; i < word_length - base_index - 1; i++)
499 x->word[word_length - base_index-1] = x->word[word_length-1] >> bit_index;
503 for (i = word_length - base_index; i < word_length; i++)
/external/chromium_org/third_party/fips181/
H A Dfips181.cc1314 USHORT word_length; local
1335 word_length = 0;
1362 while (word_length < pwlen)
1367 (void) gen_syllable (new_syllable, pwlen - word_length, syllable_units, &syllable_size);
1387 ((word_length == 0) && have_initial_y (syllable_units, syllable_size)) ||
1388 ((word_length + syllable_length == pwlen) && have_final_split (syllable_units, syllable_size)))
1392 if (word_length == 0)
1461 word_length += syllable_length;
1473 word_length = 0;
1491 return ((int) word_length);
[all...]

Completed in 4377 milliseconds