Home
last modified time | relevance | path

Searched refs:is_nonempty (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_input.cc180 if (parts->scheme.is_nonempty() && in Parse()
228 http_parts.username.is_nonempty() && in Parse()
229 http_parts.password.is_nonempty()) { in Parse()
274 if (!parts->host.is_nonempty()) in Parse()
340 return (parts->scheme.is_nonempty() || in Parse()
349 if (parts->scheme.is_nonempty()) in Parse()
373 if (parts->password.is_nonempty()) in Parse()
377 if (parts->path.is_nonempty()) { in Parse()
400 parts->port.is_nonempty()))) { in Parse()
401 return parts->username.is_nonempty() ? metrics::OmniboxInputType::UNKNOWN : in Parse()
[all …]
Dhistory_quick_provider.cc117 (!autocomplete_input_.parts().username.is_nonempty() || in DoAutocomplete()
118 autocomplete_input_.parts().password.is_nonempty() || in DoAutocomplete()
119 autocomplete_input_.parts().path.is_nonempty()); in DoAutocomplete()
164 (!autocomplete_input_.parts().path.is_nonempty() || in DoAutocomplete()
168 !autocomplete_input_.parts().query.is_nonempty() && in DoAutocomplete()
169 !autocomplete_input_.parts().ref.is_nonempty()) { in DoAutocomplete()
Dsearch_provider.cc584 if (parts.username.is_nonempty() || parts.port.is_nonempty() || in IsQuerySuitableForSuggest()
585 parts.query.is_nonempty() || in IsQuerySuitableForSuggest()
586 (parts.ref.is_nonempty() && in IsQuerySuitableForSuggest()
594 parts.path.is_nonempty()) in IsQuerySuitableForSuggest()
Dhistory_url_provider.cc383 input.parts().username.is_nonempty() && in VisitClassifier()
384 !input.parts().password.is_nonempty() && in VisitClassifier()
385 !input.parts().path.is_nonempty())) in VisitClassifier()
935 !input.parts().host.is_nonempty()) in CanFindIntranetURL()
Dautocomplete_provider.cc166 DCHECK(parts.host.is_nonempty()); in FixupUserInput()
/external/chromium_org/net/base/
Durl_util.cc88 if (key_.is_nonempty()) in GetKey()
95 if (value_.is_nonempty()) in GetValue()
102 if (value_.is_nonempty() && unescaped_value_.empty()) { in GetUnescapedValue()
Dnet_util_icu.cc458 if (new_parsed->scheme.is_nonempty()) { in FormatViewSourceUrl()
536 if (original_component.is_nonempty()) { in AppendFormattedComponent()
714 if (parsed.username.is_nonempty() || parsed.password.is_nonempty()) { in FormatUrlWithAdjustments()
715 if (parsed.username.is_nonempty() && parsed.password.is_nonempty()) { in FormatUrlWithAdjustments()
724 parsed.username.is_nonempty() ? &parsed.username : &parsed.password; in FormatUrlWithAdjustments()
753 if (parsed.port.is_nonempty()) { in FormatUrlWithAdjustments()
Dnet_util.cc216 if (host_info->out_host.is_nonempty() && in CanonicalizeHost()
362 if (!hostname_component.is_nonempty()) in ParseHostAndPort()
366 if (port_component.is_nonempty()) { in ParseHostAndPort()
/external/chromium_org/url/
Durl_util.cc72 if (!component.is_nonempty()) in DoCompareSchemeComponent()
83 if (!scheme.is_nonempty()) in DoIsStandard()
212 base_parsed.scheme.is_nonempty()) { in DoResolveRelative()
221 base_parsed.scheme.is_nonempty() && in DoResolveRelative()
239 if (base_parsed_authority.host.is_nonempty()) { in DoResolveRelative()
253 bool file_base_scheme = base_parsed.scheme.is_nonempty() && in DoResolveRelative()
Durl_canon_stdurl.cc29 parsed.host.is_nonempty() || parsed.port.is_valid()) { in DoCanonicalizeStandardURL()
49 if (!parsed.host.is_nonempty()) in DoCanonicalizeStandardURL()
Durl_canon_ip.cc36 if (!host.is_nonempty()) in DoFindIPv4Components()
317 if (!host.is_nonempty()) in DoParseIPv6()
461 if (!host.is_nonempty() || spec[host.begin] != '[' || spec[end - 1] != ']') in DoIPv6AddressToNumber()
Dgurl.cc381 if (parsed_.port.is_nonempty()) in IntPort()
485 if (!parsed_.host.is_nonempty()) in DomainIs()
/external/chromium_org/components/policy/core/browser/
Durl_blacklist_manager.cc225 if (!parsed.host.is_nonempty()) in FilterToComponents()
228 if (parsed.scheme.is_nonempty()) in FilterToComponents()
258 if (parsed.port.is_nonempty()) { in FilterToComponents()
272 if (parsed.path.is_nonempty()) in FilterToComponents()
278 if (parsed.query.is_nonempty()) in FilterToComponents()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DKURL.cpp136 …if (m_parsed.username.is_nonempty() || m_parsed.password.is_nonempty() || m_parsed.ref.is_nonempty in strippedForUseAsReferrer()
356 if (!file.is_nonempty()) in lastPathComponent()
396 if (!m_parsed.password.is_nonempty()) in pass()
459 || !protocolComponent.is_nonempty()) in setProtocol()
694 if (m_string.isNull() || !m_parsed.scheme.is_nonempty()) in isHierarchical()
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_service_url.cc182 if (key.is_nonempty() && in IsSignInContinueUrl()
/external/chromium_org/url/third_party/mozilla/
Durl_parse.h41 bool is_nonempty() const { in is_nonempty() function
Durl_parse.cc575 if (!component.is_nonempty()) in DoParsePort()
619 if (!path.is_nonempty()) { in DoExtractFileName()
658 if (!query->is_nonempty()) in DoExtractQueryKeyValue()
/external/chromium_org/components/google/core/browser/
Dgoogle_util.cc84 if ((key.len == 1) && (str[key.begin] == 'q') && value.is_nonempty()) in HasGoogleSearchQueryParam()
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url.cc158 if (key.is_nonempty() && value.is_nonempty()) { in FindSearchTermsKey()
501 if (key.is_nonempty()) { in ExtractSearchTermsFromURL()
1288 if (key.is_nonempty() && in HasSearchTermsReplacementKey()
1311 DCHECK(search_terms_position.is_nonempty()); in ReplaceSearchTermsInURL()
/external/chromium_org/chrome/browser/ui/toolbar/
Dtoolbar_model_impl.cc138 if (key.is_nonempty() && query_str.substr(key.begin, key.len) == kChipKey) { in GetCorpusNameForMobile()
/external/chromium_org/chrome/browser/ui/
Delide_url.cc192 if (parsed.query.is_nonempty()) { in ElideUrl()
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views.cc587 (host.is_nonempty() || grey_out_url); in EmphasizeURLComponents()
604 scheme.is_nonempty() && (security_level_ != ToolbarModel::NONE)) { in EmphasizeURLComponents()
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_view_mac.mm503 (host.is_nonempty() || grey_out_url)) {
521 scheme.is_nonempty() && (security_level != ToolbarModel::NONE)) {