Home
last modified time | relevance | path

Searched refs:custom_words (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/renderer/spellchecker/
Dcustom_dictionary_engine_unittest.cc11 std::set<std::string> custom_words; in TEST() local
12 engine.Init(custom_words); in TEST()
20 std::set<std::string> custom_words; in TEST() local
21 custom_words.insert("helllo"); in TEST()
22 engine.Init(custom_words); in TEST()
Dcustom_dictionary_engine.cc16 void CustomDictionaryEngine::Init(const std::set<std::string>& custom_words) { in Init() argument
21 for (std::set<std::string>::const_iterator it = custom_words.begin(); in Init()
22 it != custom_words.end(); in Init()
Dspellcheck.h48 const std::set<std::string>& custom_words,
122 const std::set<std::string>& custom_words,
Dspellcheck.cc159 const std::set<std::string>& custom_words, in OnInit() argument
163 custom_words, language); in OnInit()
200 const std::set<std::string>& custom_words, in Init() argument
203 custom_dictionary_.Init(custom_words); in Init()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary.cc91 void LoadDictionaryFileReliably(WordList& custom_words, in LoadDictionaryFileReliably() argument
95 if (LoadFile(path, custom_words) == VALID_CHECKSUM) in LoadDictionaryFileReliably()
102 if (LoadFile(backup, custom_words) != VALID_CHECKSUM) in LoadDictionaryFileReliably()
111 const WordList& custom_words, in SaveDictionaryFileReliably() argument
115 for (WordList::const_iterator it = custom_words.begin(); in SaveDictionaryFileReliably()
116 it != custom_words.end(); in SaveDictionaryFileReliably()
415 WordList custom_words; in UpdateDictionaryFile() local
416 LoadDictionaryFileReliably(custom_words, path); in UpdateDictionaryFile()
419 custom_words.insert(custom_words.end(), in UpdateDictionaryFile()
424 std::sort(custom_words.begin(), custom_words.end()); in UpdateDictionaryFile()
[all …]
Dspellcheck_custom_dictionary_unittest.cc96 const chrome::spellcheck_common::WordList& custom_words) { in OnLoaded() argument
97 dictionary.OnLoaded(custom_words); in OnLoaded()
781 WordList custom_words; in TEST_F() local
782 custom_words.push_back("bar"); in TEST_F()
783 OnLoaded(*custom_dictionary, custom_words); in TEST_F()
824 WordList custom_words; in TEST_F() local
828 custom_words.push_back("foo" + base::Uint64ToString(i)); in TEST_F()
830 OnLoaded(*custom_dictionary, custom_words); in TEST_F()
906 WordList custom_words; in TEST_F() local
907 custom_words.push_back("foo"); in TEST_F()
[all …]
Dspellcheck_custom_dictionary.h144 void OnLoaded(chrome::spellcheck_common::WordList custom_words);