Searched defs:best_prefix (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/autocomplete/
H A Dshortcuts_provider.cc60 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix(text, prefix_suffix); local
61 if ((best_prefix == NULL) ||
62 (best_prefix->num_components < www_prefix.num_components)) {
64 best_prefix = &www_prefix;
66 return best_prefix;
241 const URLPrefix* best_prefix = local
244 // If we failed to find a best_prefix initially, try again using a
248 if ((best_prefix == NULL) && !fixed_up_term_string.empty() &&
250 best_prefix = BestURLPrefixWithWWWCase(
254 if (best_prefix !
[all...]
H A Dhistory_url_provider.cc433 const URLPrefix* best_prefix = local
436 // at all (so |best_prefix| is NULL), for example if the input is
439 if (best_prefix == NULL) {
445 best_prefix->prefix.length() - offset, text.length(),
530 const URLPrefix* best_prefix = local
533 DCHECK(best_prefix != NULL);
536 i->num_components >= best_prefix->num_components));
/external/chromium/chrome/browser/autocomplete/
H A Dhistory_url_provider.cc217 const Prefix* best_prefix = BestPrefix(j->url(), string16()); local
218 DCHECK(best_prefix != NULL);
221 i->num_components >= best_prefix->num_components));
332 const Prefix* best_prefix = BestPrefix(match.destination_url, input.text()); local
336 const size_t match_location = (best_prefix == NULL) ?
337 string16::npos : best_prefix->prefix.length() - offset;
654 const Prefix* best_prefix = NULL; local
658 if ((best_prefix == NULL) ||
659 (i->num_components > best_prefix->num_components)) {
663 best_prefix
[all...]
/external/chromium_org/chrome/browser/history/
H A Dscored_history_match.cc136 const URLPrefix* best_prefix = local
138 DCHECK(best_prefix != NULL);
139 const int num_components_in_best_prefix = best_prefix->num_components;
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dnetwork.cc276 IPAddress best_prefix; local
305 best_prefix = current_prefix;
310 *prefix = best_prefix;

Completed in 4752 milliseconds