Lines Matching defs:to_remove
151 // Removes word from |to_remove| that are missing from |existing| word list and
152 // sorts |to_remove|. Returns a bitmap of |ChangeSanitationResult| values.
153 int SanitizeWordsToRemove(const WordSet& existing, WordList& to_remove) {
155 std::sort(to_remove.begin(), to_remove.end());
159 to_remove.begin(),
160 to_remove.end(),
163 if (to_remove.size() > found_words.size())
166 std::swap(to_remove, found_words);
179 to_remove_(other.to_remove()) {
210 const WordList& SpellcheckCustomDictionary::Change::to_remove() const {
427 dictionary_change.to_remove());
450 if (!dictionary_change.to_remove().empty()) {
453 dictionary_change.to_remove());
503 for (WordList::const_iterator it = dictionary_change.to_remove().begin();
504 it != dictionary_change.to_remove().end();