Home
last modified time | relevance | path

Searched refs:text_lowercase (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/autocomplete/
Dshortcuts_provider.cc306 base::string16 text_lowercase(base::i18n::ToLower(text)); in ClassifyAllMatchesInString() local
309 if (StartsWith(text_lowercase, find_text, true)) { in ClassifyAllMatchesInString()
316 if (last_position < text_lowercase.length()) { in ClassifyAllMatchesInString()
335 while (last_position < text_lowercase.length()) { in ClassifyAllMatchesInString()
337 find_words.equal_range(text_lowercase[last_position])); in ClassifyAllMatchesInString()
342 if ((word_end <= text_lowercase.length()) && in ClassifyAllMatchesInString()
343 !text_lowercase.compare(last_position, word.length(), word)) { in ClassifyAllMatchesInString()
350 if (word_end < text_lowercase.length()) { in ClassifyAllMatchesInString()
Dshortcuts_backend.cc124 const base::string16 text_lowercase(base::i18n::ToLower(text)); in AddOrUpdateShortcut() local
127 shortcuts_map_.lower_bound(text_lowercase)); in AddOrUpdateShortcut()
129 StartsWith(it->first, text_lowercase, true); ++it) { in AddOrUpdateShortcut()