Home
last modified time | relevance | path

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

/external/chromium_org/content/shell/renderer/test_runner/
Dmock_spell_check.cc64 int word_length; in SpellCheckWord() local
73 word_length = in SpellCheckWord()
77 word = string_text.substr(word_offset, word_length); in SpellCheckWord()
80 word_offset + word_length || in SpellCheckWord()
81 IsNotASCIIAlpha(string_text[word_offset + word_length]))) { in SpellCheckWord()
83 *misspelled_length = word_length; in SpellCheckWord()
94 word_length = static_cast<int>(string_text.length()) - word_offset; in SpellCheckWord()
96 word_length = std::distance(first_char, last_char); in SpellCheckWord()
98 DCHECK_LT(0, word_offset + word_length); in SpellCheckWord()
99 string_text = string_text.substr(word_offset + word_length); in SpellCheckWord()
[all …]
/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_language.cc60 int word_length; in SpellCheckWord() local
70 while (text_iterator_.GetNextWord(&word, &word_start, &word_length)) { in SpellCheckWord()
82 *misspelling_len = word_length; in SpellCheckWord()
112 int word_length; in IsValidContraction() local
115 while (contraction_iterator_.GetNextWord(&word, &word_start, &word_length)) { in IsValidContraction()
Dspellcheck.cc282 int word_length = static_cast<int>(word.size()); in GetAutoCorrectionWord() local
283 if (word_length < 2 || in GetAutoCorrectionWord()
284 word_length > chrome::spellcheck_common::kMaxAutoCorrectWordSize) in GetAutoCorrectionWord()
295 if (i >= word_length) in GetAutoCorrectionWord()
303 for (int i = 0; i < word_length - 1; i++) { in GetAutoCorrectionWord()
309 SpellCheckWord(misspelled_word, word_length, tag, &misspelling_start, in GetAutoCorrectionWord()
391 int word_length = spellcheck_results[i].length; in CreateTextCheckingResults() local
396 if (SpellCheckWord(text + word_location, word_length, 0, in CreateTextCheckingResults()
402 line_text, word_location, word_length)) { in CreateTextCheckingResults()
406 word_length, in CreateTextCheckingResults()
Dspellcheck_worditerator.cc364 int* word_length) { in GetNextWord() argument
369 *word_length = 0; in GetNextWord()
386 *word_length = length; in GetNextWord()
Dspellcheck_worditerator.h145 int* word_length);
Dspellcheck_unittest.cc901 int word_length = static_cast<int>(word.length()); in TEST_F() local
905 word_length, in TEST_F()
912 EXPECT_EQ(word_length, misspelling_length); in TEST_F()
/external/srtp/crypto/math/
Ddatatypes.c485 const int word_length = x->length >> 5; in bitvector_left_shift() local
493 for (i=0; i < word_length - base_index; i++) in bitvector_left_shift()
496 for (i=0; i < word_length - base_index - 1; i++) in bitvector_left_shift()
499 x->word[word_length - base_index-1] = x->word[word_length-1] >> bit_index; in bitvector_left_shift()
503 for (i = word_length - base_index; i < word_length; i++) in bitvector_left_shift()
/external/chromium_org/third_party/libsrtp/srtp/crypto/math/
Ddatatypes.c485 const int word_length = x->length >> 5; in bitvector_left_shift() local
493 for (i=0; i < word_length - base_index; i++) in bitvector_left_shift()
496 for (i=0; i < word_length - base_index - 1; i++) in bitvector_left_shift()
499 x->word[word_length - base_index-1] = x->word[word_length-1] >> bit_index; in bitvector_left_shift()
503 for (i = word_length - base_index; i < word_length; i++) in bitvector_left_shift()
/external/llvm/test/CodeGen/X86/
D2008-03-10-RegAllocInfLoop.ll6 define x86_stdcallcc i32 @parse_backslash(i8** inreg %word, i32* inreg %word_length, i32* inreg …
11 …%tmp26 = call fastcc i8* @w_addchar( i8* null, i32* %word_length, i32* %max_length, i8 signext %t…
/external/chromium_org/third_party/fips181/
Dfips181.cc1314 USHORT word_length; in gen_word() local
1335 word_length = 0; in gen_word()
1362 while (word_length < pwlen) in gen_word()
1367 (void) gen_syllable (new_syllable, pwlen - word_length, syllable_units, &syllable_size); in gen_word()
1387 ((word_length == 0) && have_initial_y (syllable_units, syllable_size)) || in gen_word()
1388 … ((word_length + syllable_length == pwlen) && have_final_split (syllable_units, syllable_size))) in gen_word()
1392 if (word_length == 0) in gen_word()
1461 word_length += syllable_length; in gen_word()
1473 word_length = 0; in gen_word()
1491 return ((int) word_length); in gen_word()
/external/srtp/googlepatches/
Dvidyo-3-srtp-ws.patch288 + const int word_length = x->length >> 5;
296 + for (i=0; i < word_length - base_index; i++)
299 + for (i=0; i < word_length - base_index - 1; i++)
302 + x->word[word_length - base_index-1] = x->word[word_length-1] >> bit_index;
306 + for (i = word_length - base_index; i < word_length; i++)