Searched refs:best_prefix (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/components/omnibox/
H A Durl_prefix.cc20 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix(text, prefix_suffix); local
21 if ((best_prefix == NULL) ||
22 (best_prefix->num_components < www_prefix.num_components)) {
24 best_prefix = &www_prefix;
26 return best_prefix;
83 const URLPrefix* best_prefix = allow_www_prefix_without_scheme ? local
86 // If we failed to find a best_prefix initially, try again using a fixed-up
90 if (!best_prefix && !fixed_up_input.empty() && (fixed_up_input != input)) {
91 best_prefix = allow_www_prefix_without_scheme ?
96 return (best_prefix !
[all...]
/external/chromium_org/chrome/browser/history/
H A Durl_index_private_data.cc560 SearchTermCacheMap::iterator best_prefix(search_term_cache_.end());
564 (best_prefix == search_term_cache_.end() ||
565 cache_iter->first.length() > best_prefix->first.length()))
566 best_prefix = cache_iter;
573 if (best_prefix != search_term_cache_.end()) {
576 size_t prefix_length = best_prefix->first.length();
578 best_prefix->second.used_ = true;
579 return best_prefix->second.history_id_set_;
585 if (best_prefix->second.history_id_set_.empty()) {
589 word_id_set = best_prefix
[all...]
H A Dscored_history_match.cc140 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix( local
142 DCHECK(best_prefix != NULL);
143 const int num_components_in_best_prefix = best_prefix->num_components;
/external/elfutils/0.153/libcpu/
H A Di386_parse.c3172 char *best_prefix = NULL;
3317 free (best_prefix);
3318 best_prefix = xstrdup (prefix);
3347 if (best_prefix[0] != '\0')
3351 strlen (best_prefix), best_prefix, best_prefix_bits);
3366 char *cp = strchr (best_prefix, *mne);
3369 pfxval = 1 + (cp - best_prefix);
H A Di386_parse.y1460 char *best_prefix = NULL;
1605 free (best_prefix);
1606 best_prefix = xstrdup (prefix);
1635 if (best_prefix[0] != '\0')
1639 strlen (best_prefix), best_prefix, best_prefix_bits);
1654 char *cp = strchr (best_prefix, *mne);
1657 pfxval = 1 + (cp - best_prefix);
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_url_provider.cc631 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix( local
634 // at all (so |best_prefix| is NULL), for example if the input is
637 if (best_prefix == NULL) {
643 best_prefix->prefix.length() - offset, text.length(),
748 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix( local
750 DCHECK(best_prefix);
753 i->num_components >= best_prefix->num_components));
/external/chromium_org/third_party/webrtc/base/
H A Dnetwork.cc348 IPAddress best_prefix; local
377 best_prefix = current_prefix;
382 *prefix = best_prefix;

Completed in 193 milliseconds