Home
last modified time | relevance | path

Searched refs:misspelling (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/spellchecker/
Dmisspelling_unittest.cc15 Misspelling misspelling; in TEST() local
16 misspelling.context = base::ASCIIToUTF16("How doe sit know"); in TEST()
17 misspelling.location = 4; in TEST()
18 misspelling.length = 7; in TEST()
19 misspelling.timestamp = base::Time::FromJsTime(42); in TEST()
20 misspelling.hash = 9001; in TEST()
21 misspelling.suggestions.push_back(base::ASCIIToUTF16("does it")); in TEST()
32 scoped_ptr<base::DictionaryValue> serialized(misspelling.Serialize()); in TEST()
37 Misspelling misspelling; in TEST() local
38 misspelling.context = base::ASCIIToUTF16("How doe sit know"); in TEST()
[all …]
Dfeedback_sender.cc182 Misspelling* misspelling = feedback_.GetMisspelling(hash); in SelectedSuggestion() local
185 if (!misspelling) in SelectedSuggestion()
187 misspelling->action.type = SpellcheckAction::TYPE_SELECT; in SelectedSuggestion()
188 misspelling->action.index = suggestion_index; in SelectedSuggestion()
189 misspelling->timestamp = base::Time::Now(); in SelectedSuggestion()
193 Misspelling* misspelling = feedback_.GetMisspelling(hash); in AddedToDictionary() local
196 if (!misspelling) in AddedToDictionary()
198 misspelling->action.type = SpellcheckAction::TYPE_ADD_TO_DICT; in AddedToDictionary()
199 misspelling->timestamp = base::Time::Now(); in AddedToDictionary()
201 feedback_.FindMisspellings(misspelling->GetMisspelledString()); in AddedToDictionary()
[all …]
Dfeedback.cc101 const Misspelling& misspelling = misspelling_it->second; in EraseFinalizedMisspellings() local
102 if (!misspelling.action.IsFinal()) in EraseFinalizedMisspellings()
105 text_[misspelling.GetMisspelledString()].erase(misspelling.hash); in EraseFinalizedMisspellings()
117 const Misspelling& misspelling) { in AddMisspelling() argument
119 misspellings_.find(misspelling.hash); in AddMisspelling()
122 text_[existing_misspelling.GetMisspelledString()].erase(misspelling.hash); in AddMisspelling()
128 renderer_hashes.erase(misspelling.hash); in AddMisspelling()
133 misspellings_[misspelling.hash] = misspelling; in AddMisspelling()
134 text_[misspelling.GetMisspelledString()].insert(misspelling.hash); in AddMisspelling()
135 renderers_[renderer_process_id].insert(misspelling.hash); in AddMisspelling()
Dfeedback_unittest.cc34 Misspelling misspelling; in AddMisspelling() local
35 misspelling.hash = hash; in AddMisspelling()
36 feedback_.AddMisspelling(renderer_process_id, misspelling); in AddMisspelling()
231 Misspelling* misspelling = feedback_.GetMisspelling(*it); in TEST_F() local
232 EXPECT_NE(static_cast<Misspelling*>(NULL), misspelling); in TEST_F()
233 EXPECT_TRUE(misspelling->hash >= kMisspellingHash && in TEST_F()
234 misspelling->hash <= hash); in TEST_F()
235 EXPECT_EQ(kMisspelledWord, misspelling->GetMisspelledString()); in TEST_F()
Dspelling_service_client.cc200 base::DictionaryValue* misspelling = NULL; in ParseResponse() local
201 if (!misspellings->GetDictionary(i, &misspelling)) in ParseResponse()
207 if (!misspelling->GetInteger("charStart", &start) || in ParseResponse()
208 !misspelling->GetInteger("charLength", &length) || in ParseResponse()
209 !misspelling->GetList("suggestions", &suggestions)) { in ParseResponse()
Dfeedback.h66 void AddMisspelling(int renderer_process_id, const Misspelling& misspelling);
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextCheckingHelper.cpp89 TextCheckingResult misspelling; in findMisspellings() local
90 misspelling.decoration = TextDecorationTypeSpelling; in findMisspellings()
91 misspelling.location = start + wordStart + misspellingLocation; in findMisspellings()
92 misspelling.length = misspellingLength; in findMisspellings()
93misspelling.replacement = client.getAutoCorrectSuggestionForMisspelledWord(String(text + misspelli… in findMisspellings()
94 results.append(misspelling); in findMisspellings()
/external/chromium_org/chrome/
Dchrome_browser.gypi1638 'browser/spellchecker/misspelling.cc',
1639 'browser/spellchecker/misspelling.h',
/external/srec/config/en.us/dictionary/
Dlarge.ok19113 misspelling misspel6N
/external/bison/
DChangeLog-201214167 Fix misspelling in names.