Home
last modified time | relevance | path

Searched refs:to_remove (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary.cc153 int SanitizeWordsToRemove(const WordSet& existing, WordList& to_remove) { in SanitizeWordsToRemove() argument
155 std::sort(to_remove.begin(), to_remove.end()); in SanitizeWordsToRemove()
159 to_remove.begin(), in SanitizeWordsToRemove()
160 to_remove.end(), in SanitizeWordsToRemove()
163 if (to_remove.size() > found_words.size()) in SanitizeWordsToRemove()
166 std::swap(to_remove, found_words); in SanitizeWordsToRemove()
179 to_remove_(other.to_remove()) { in Change()
210 const WordList& SpellcheckCustomDictionary::Change::to_remove() const { in to_remove() function in SpellcheckCustomDictionary::Change
427 dictionary_change.to_remove()); in UpdateDictionaryFile()
450 if (!dictionary_change.to_remove().empty()) { in Apply()
[all …]
Dspellcheck_custom_dictionary.h54 const chrome::spellcheck_common::WordList& to_remove() const;
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/memory_manager/
Dhmm_base.c28 ptr_record *to_remove) { in U()
29 to_remove->prev->next = to_remove->next; in U()
31 if (to_remove->next) in U()
32 to_remove->next->prev = to_remove->prev; in U()
/external/libvpx/libvpx/vpx_mem/memory_manager/
Dhmm_base.c28 ptr_record *to_remove) { in U()
29 to_remove->prev->next = to_remove->next; in U()
31 if (to_remove->next) in U()
32 to_remove->next->prev = to_remove->prev; in U()
/external/chromium_org/chromeos/dbus/
Dfake_nfc_manager_client.cc84 dbus::ObjectPath to_remove(adapter_path); in RemoveAdapter() local
85 if (adapters_.erase(to_remove) == 0) { in RemoveAdapter()
91 FOR_EACH_OBSERVER(Observer, observers_, AdapterRemoved(to_remove)); in RemoveAdapter()
/external/chromium_org/extensions/common/manifest_handlers/
Dpermissions_parser.cc132 std::vector<APIPermission::ID> to_remove; in ParseHelper() local
145 to_remove.push_back(iter->id()); in ParseHelper()
157 to_remove.push_back(iter->id()); in ParseHelper()
172 for (std::vector<APIPermission::ID>::const_iterator iter = to_remove.begin(); in ParseHelper()
173 iter != to_remove.end(); in ParseHelper()
/external/chromium_org/extensions/browser/api/storage/
Dsettings_quota_unittest.cc232 std::vector<std::string> to_remove; in TEST_F() local
233 to_remove.push_back("a1"); in TEST_F()
234 to_remove.push_back("a2"); in TEST_F()
235 EXPECT_FALSE(storage_->Remove(to_remove)->HasError()); in TEST_F()
255 to_remove.clear(); in TEST_F()
256 to_remove.push_back("a1"); in TEST_F()
257 to_remove.push_back("a2"); in TEST_F()
258 EXPECT_FALSE(storage_->Remove(to_remove)->HasError()); in TEST_F()
394 std::vector<std::string> to_remove; in TEST_F() local
395 to_remove.push_back("a"); in TEST_F()
[all …]
/external/chromium_org/extensions/browser/api/web_request/
Dweb_request_time_tracker.cc109 int64 to_remove = request_ids_.front(); in LogRequestStartTime() local
112 request_time_logs_.find(to_remove); in LogRequestStartTime()
115 moderate_delays_.erase(to_remove); in LogRequestStartTime()
116 excessive_delays_.erase(to_remove); in LogRequestStartTime()
/external/chromium_org/components/autofill/content/renderer/
Dform_cache.cc49 std::vector<K> to_remove; in RemoveOldElements() local
54 to_remove.push_back(it->first); in RemoveOldElements()
58 to_remove.push_back(it->first); in RemoveOldElements()
62 for (typename std::vector<K>::const_iterator it = to_remove.begin(); in RemoveOldElements()
63 it != to_remove.end(); ++it) { in RemoveOldElements()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_scan_result_controller.cc289 std::list<ScanResults::iterator> to_remove; in UpdateScanResultsFromPreferences() local
298 to_remove.push_back(it); in UpdateScanResultsFromPreferences()
301 while (!to_remove.empty()) { in UpdateScanResultsFromPreferences()
302 scan_results->erase(to_remove.front()); in UpdateScanResultsFromPreferences()
303 to_remove.pop_front(); in UpdateScanResultsFromPreferences()
Dmedia_scan_manager.cc132 MediaGalleryPrefIdSet to_remove; in AddScanResultsForProfile() local
140 to_remove.insert(it->first); in AddScanResultsForProfile()
143 for (MediaGalleryPrefIdSet::const_iterator it = to_remove.begin(); in AddScanResultsForProfile()
144 it != to_remove.end(); in AddScanResultsForProfile()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_cache.c172 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb() local
174 to_remove += hash_size - max_size; in sanitize_cb()
175 while (to_remove) { in sanitize_cb()
181 --to_remove; in sanitize_cb()
Dcso_context.c217 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_hash() local
220 to_remove += hash_size - max_size; in sanitize_hash()
221 while (to_remove) { in sanitize_hash()
227 --to_remove; in sanitize_hash()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
Dcso_cache.c172 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb() local
174 to_remove += hash_size - max_size; in sanitize_cb()
175 while (to_remove) { in sanitize_cb()
181 --to_remove; in sanitize_cb()
Dcso_context.c217 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_hash() local
220 to_remove += hash_size - max_size; in sanitize_hash()
221 while (to_remove) { in sanitize_hash()
227 --to_remove; in sanitize_hash()
/external/chromium_org/chrome/browser/extensions/
Dglobal_shortcut_listener.cc76 AcceleratorMap::iterator to_remove = it++; in UnregisterAccelerators() local
77 UnregisterAccelerator(to_remove->first, observer); in UnregisterAccelerators()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dmanaged_value_store_cache.cc163 std::string to_remove; in LoadSchemas() local
165 to_remove = (*it)->id(); in LoadSchemas()
167 if (!to_remove.empty()) in LoadSchemas()
168 added->Remove(to_remove); in LoadSchemas()
/external/chromium_org/tools/gn/
Doperators.cc77 const Value& to_remove, in RemoveMatchesFromList() argument
80 switch (to_remove.type()) { in RemoveMatchesFromList()
86 if (v[i] == to_remove) { in RemoveMatchesFromList()
94 *err = Err(to_remove.origin()->GetRange(), "Item not found", in RemoveMatchesFromList()
95 "You were trying to remove " + to_remove.ToString(true) + in RemoveMatchesFromList()
102 for (size_t i = 0; i < to_remove.list_value().size(); i++) { in RemoveMatchesFromList()
105 RemoveMatchesFromList(op_node, list, to_remove.list_value()[i], err); in RemoveMatchesFromList()
Dscope.cc144 std::vector<base::StringPiece> to_remove; in RemovePrivateIdentifiers() local
147 to_remove.push_back(i->first); in RemovePrivateIdentifiers()
150 for (size_t i = 0; i < to_remove.size(); i++) in RemovePrivateIdentifiers()
151 values_.erase(to_remove[i]); in RemovePrivateIdentifiers()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dschema_processor.py82 to_remove = []
85 to_remove.append(i)
86 for i in to_remove:
Dfeatures_bundle.py355 to_remove = []
369 to_remove.append(name)
373 for key in to_remove:
/external/chromium_org/net/socket/
Dnss_ssl_util.cc40 bool CiphersRemove(const uint16* to_remove, uint16* ciphers, size_t num) { in CiphersRemove() argument
44 if (to_remove[i] == 0) in CiphersRemove()
48 if (to_remove[i] == ciphers[j]) { in CiphersRemove()
/external/chromium_org/cc/layers/
Dpicture_layer_impl.cc1267 std::vector<PictureLayerTiling*> to_remove; in CleanUpTilingsOnActiveLayer() local
1289 to_remove.push_back(tiling); in CleanUpTilingsOnActiveLayer()
1292 if (to_remove.empty()) in CleanUpTilingsOnActiveLayer()
1297 for (size_t i = 0; i < to_remove.size(); ++i) { in CleanUpTilingsOnActiveLayer()
1298 const PictureLayerTiling* twin_tiling = GetTwinTiling(to_remove[i]); in CleanUpTilingsOnActiveLayer()
1302 twin->RemoveTiling(to_remove[i]->contents_scale()); in CleanUpTilingsOnActiveLayer()
1306 recycled_twin->RemoveTiling(to_remove[i]->contents_scale()); in CleanUpTilingsOnActiveLayer()
1308 CHECK_NE(HIGH_RESOLUTION, to_remove[i]->resolution()); in CleanUpTilingsOnActiveLayer()
1309 tilings_->Remove(to_remove[i]); in CleanUpTilingsOnActiveLayer()
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_dictionary_overlay_handler.cc77 remove_words.AppendStrings(dictionary_change.to_remove()); in OnCustomDictionaryChanged()
/external/chromium_org/extensions/browser/value_store/
Dvalue_store_unittest.cc465 std::vector<std::string> to_remove; in TEST_P() local
466 to_remove.push_back(key1_); in TEST_P()
467 to_remove.push_back("asdf"); in TEST_P()
471 EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(to_remove)); in TEST_P()

12