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

/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.cc133 const URLPrefix* best_prefix = local
135 DCHECK(best_prefix != NULL);
136 const int num_components_in_best_prefix = best_prefix->num_components;
H A Durl_index_private_data.cc562 SearchTermCacheMap::iterator best_prefix(search_term_cache_.end());
566 (best_prefix == search_term_cache_.end() ||
567 cache_iter->first.length() > best_prefix->first.length()))
568 best_prefix = cache_iter;
575 if (best_prefix != search_term_cache_.end()) {
578 size_t prefix_length = best_prefix->first.length();
580 best_prefix->second.used_ = true;
581 return best_prefix->second.history_id_set_;
587 if (best_prefix->second.history_id_set_.empty()) {
591 word_id_set = best_prefix
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dnetwork.cc267 IPAddress best_prefix; local
296 best_prefix = current_prefix;
301 *prefix = best_prefix;
/external/elfutils/libcpu/
H A Di386_parse.c3048 char *best_prefix = NULL;
3193 free (best_prefix);
3194 best_prefix = xstrdup (prefix);
3223 if (best_prefix[0] != '\0')
3227 strlen (best_prefix), best_prefix, best_prefix_bits);
3242 char *cp = strchr (best_prefix, *mne);
3245 pfxval = 1 + (cp - best_prefix);
H A Di386_parse.y1443 char *best_prefix = NULL;
1588 free (best_prefix);
1589 best_prefix = xstrdup (prefix);
1618 if (best_prefix[0] != '\0')
1622 strlen (best_prefix), best_prefix, best_prefix_bits);
1637 char *cp = strchr (best_prefix, *mne);
1640 pfxval = 1 + (cp - best_prefix);
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_url_provider.cc361 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix( local
369 // to not contain the user's input at all (so |best_prefix| is NULL).
371 const size_t match_location = (best_prefix == NULL) ?
372 string16::npos : best_prefix->prefix.length() - offset;
482 const URLPrefix* best_prefix = local
484 DCHECK(best_prefix != NULL);
487 i->num_components >= best_prefix->num_components));

Completed in 161 milliseconds