Searched refs:prefix_end (Results 1 – 9 of 9) sorted by relevance
/external/chromium/chrome/browser/autocomplete/ |
D | history_provider.cc | 141 size_t prefix_end = scheme_pos + strlen(chrome::kHttpScheme) + 1; in TrimHttpPrefix() local 142 const size_t after_slashes = std::min(url->length(), prefix_end + 2); in TrimHttpPrefix() 143 while ((prefix_end < after_slashes) && ((*url)[prefix_end] == '/')) in TrimHttpPrefix() 144 ++prefix_end; in TrimHttpPrefix() 145 url->erase(scheme_pos, prefix_end - scheme_pos); in TrimHttpPrefix() 146 return (scheme_pos == 0) ? prefix_end : 0; in TrimHttpPrefix()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_provider.cc | 221 size_t prefix_end = scheme_pos + strlen(content::kHttpScheme) + 1; in TrimHttpPrefix() local 222 const size_t after_slashes = std::min(url->length(), prefix_end + 2); in TrimHttpPrefix() 223 while ((prefix_end < after_slashes) && ((*url)[prefix_end] == '/')) in TrimHttpPrefix() 224 ++prefix_end; in TrimHttpPrefix() 225 url->erase(scheme_pos, prefix_end - scheme_pos); in TrimHttpPrefix() 226 return (scheme_pos == 0) ? prefix_end : 0; in TrimHttpPrefix()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_libcdep.cc | 61 const char *prefix_end = str + prefix_len; in ExtractToken() local 62 if (*prefix_end != '\0') prefix_end++; in ExtractToken() 63 return prefix_end; in ExtractToken()
|
/external/chromium/net/base/ |
D | net_util.cc | 842 size_t* prefix_end, 851 size_t* prefix_end, in FormatViewSourceUrl() argument 865 unescape_rules, new_parsed, prefix_end, offsets_for_adjustment); in FormatViewSourceUrl() 877 if (prefix_end) in FormatViewSourceUrl() 878 *prefix_end += kViewSourceLengthPlus1; in FormatViewSourceUrl() 946 size_t* prefix_end, in FormatUrlInternal() argument 962 if (prefix_end) in FormatUrlInternal() 963 *prefix_end = 0; in FormatUrlInternal() 978 unescape_rules, new_parsed, prefix_end, offsets_for_adjustment); in FormatUrlInternal() 1052 if (prefix_end) in FormatUrlInternal() [all …]
|
D | net_util.h | 347 size_t* prefix_end, 354 size_t* prefix_end,
|
/external/bison/src/ |
D | scan-code.l | 386 char *prefix_end; in variant_add() local 388 prefix_end = find_prefix_end (id, cp, cp_end); in variant_add() 389 if (prefix_end && in variant_add() 390 (prefix_end == cp_end || in variant_add() 391 (!explicit_bracketing && is_dot_or_dash (*prefix_end)))) in variant_add()
|
D | scan-code.c | 2575 char *prefix_end; in variant_add() local 2577 prefix_end = find_prefix_end (id, cp, cp_end); in variant_add() 2578 if (prefix_end && in variant_add() 2579 (prefix_end == cp_end || in variant_add() 2580 (!explicit_bracketing && is_dot_or_dash (*prefix_end)))) in variant_add()
|
/external/chromium_org/net/base/ |
D | net_util.cc | 624 size_t* prefix_end, in FormatViewSourceUrl() argument 639 format_types, unescape_rules, new_parsed, prefix_end, in FormatViewSourceUrl() 657 if (prefix_end) in FormatViewSourceUrl() 658 *prefix_end += kViewSourceLength; in FormatViewSourceUrl() 1706 size_t* prefix_end, in FormatUrlWithOffsets() argument 1725 unescape_rules, new_parsed, prefix_end, in FormatUrlWithOffsets() 1792 if (prefix_end) in FormatUrlWithOffsets() 1793 *prefix_end = static_cast<size_t>(url_string.length()); in FormatUrlWithOffsets() 1845 if (prefix_end) in FormatUrlWithOffsets() 1846 *prefix_end -= kHTTPSize; in FormatUrlWithOffsets() [all …]
|
D | net_util.h | 398 size_t* prefix_end, 406 size_t* prefix_end,
|