Searched refs:prefix_end (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/autocomplete/
H A Dautocomplete_provider.cc220 size_t prefix_end = scheme_pos + strlen(url::kHttpScheme) + 1; local
221 const size_t after_slashes = std::min(url->length(), prefix_end + 2);
222 while ((prefix_end < after_slashes) && ((*url)[prefix_end] == '/'))
223 ++prefix_end;
224 url->erase(scheme_pos, prefix_end - scheme_pos);
225 return (scheme_pos == 0) ? prefix_end : 0;
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dtest_toolbar_model.cc23 base::string16 TestToolbarModel::GetFormattedURL(size_t* prefix_end) const {
H A Dtest_toolbar_model.h20 virtual base::string16 GetFormattedURL(size_t* prefix_end) const OVERRIDE;
H A Dtoolbar_model.h47 // If |prefix_end| is non-NULL, it is set to the length of the pre-hostname
49 virtual base::string16 GetFormattedURL(size_t* prefix_end) const = 0;
H A Dtoolbar_model_impl.h42 virtual base::string16 GetFormattedURL(size_t* prefix_end) const OVERRIDE;
H A Dtoolbar_model_impl.cc110 base::string16 ToolbarModelImpl::GetFormattedURL(size_t* prefix_end) const {
124 net::UnescapeRule::NORMAL, NULL, prefix_end, NULL));
/external/chromium_org/net/base/
H A Dnet_util_icu.cc438 size_t* prefix_end,
450 new_parsed, prefix_end, adjustments)); local
467 if (prefix_end)
468 *prefix_end += kViewSourceLength;
639 size_t* prefix_end,
644 new_parsed, prefix_end, &adjustments);
661 size_t* prefix_end,
679 unescape_rules, new_parsed, prefix_end,
745 if (prefix_end)
746 *prefix_end
432 FormatViewSourceUrl( const GURL& url, const std::string& languages, FormatUrlTypes format_types, UnescapeRule::Type unescape_rules, url::Parsed* new_parsed, size_t* prefix_end, base::OffsetAdjuster::Adjustments* adjustments) argument
633 FormatUrlWithOffsets( const GURL& url, const std::string& languages, FormatUrlTypes format_types, UnescapeRule::Type unescape_rules, url::Parsed* new_parsed, size_t* prefix_end, std::vector<size_t>* offsets_for_adjustment) argument
655 FormatUrlWithAdjustments( const GURL& url, const std::string& languages, FormatUrlTypes format_types, UnescapeRule::Type unescape_rules, url::Parsed* new_parsed, size_t* prefix_end, base::OffsetAdjuster::Adjustments* adjustments) argument
813 FormatUrl(const GURL& url, const std::string& languages, FormatUrlTypes format_types, UnescapeRule::Type unescape_rules, url::Parsed* new_parsed, size_t* prefix_end, size_t* offset_for_adjustment) argument
[all...]
H A Dnet_util.h282 // |prefix_end| will be the length before the hostname of the resultant URL.
306 size_t* prefix_end,
314 size_t* prefix_end,
326 size_t* prefix_end,
/external/bison/src/
H A Dscan-code.l386 char *prefix_end;
388 prefix_end = find_prefix_end (id, cp, cp_end);
389 if (prefix_end &&
390 (prefix_end == cp_end ||
391 (!explicit_bracketing && is_dot_or_dash (*prefix_end))))
H A Dscan-code.c2575 char *prefix_end; local
2577 prefix_end = find_prefix_end (id, cp, cp_end);
2578 if (prefix_end &&
2579 (prefix_end == cp_end ||
2580 (!explicit_bracketing && is_dot_or_dash (*prefix_end))))
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_posix_libcdep.cc69 const char *prefix_end = str + prefix_len; local
70 if (*prefix_end != '\0') prefix_end++;
71 return prefix_end;
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dlocation_bar_view.cc872 size_t prefix_end = 0; local
874 GetToolbarModel()->GetFormattedURL(&prefix_end));
878 omnibox_text.begin() + prefix_end, omnibox_text.end(),

Completed in 317 milliseconds