OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mime_type_pattern
(Results
1 - 4
of
4
) sorted by null
/external/chromium/net/base/
mime_util.cc
40
bool MatchesMimeType(const std::string &
mime_type_pattern
,
385
bool MimeUtil::MatchesMimeType(const std::string &
mime_type_pattern
,
388
DCHECK_EQ(StringToLowerASCII(
mime_type_pattern
),
mime_type_pattern
);
local
397
if (
mime_type_pattern
.empty())
400
const std::string::size_type star =
mime_type_pattern
.find('*');
403
return
mime_type_pattern
== mime_type;
406
if (mime_type.length() <
mime_type_pattern
.length() - 1)
409
const std::string left(
mime_type_pattern
.substr(0, star));
410
const std::string right(
mime_type_pattern
.substr(star + 1))
[
all
...]
mime_util.h
45
// Returns true if this the
mime_type_pattern
matches a given mime-type.
48
bool MatchesMimeType(const std::string &
mime_type_pattern
,
/external/chromium_org/net/base/
mime_util.cc
69
bool MatchesMimeType(const std::string &
mime_type_pattern
,
540
// Tests for MIME parameter equality. Each parameter in the |
mime_type_pattern
|
543
bool MatchesMimeTypeParameters(const std::string&
mime_type_pattern
,
545
const std::string::size_type semicolon =
mime_type_pattern
.find(';');
552
base::SplitString(
mime_type_pattern
.substr(semicolon + 1),
577
bool MimeUtil::MatchesMimeType(const std::string&
mime_type_pattern
,
580
DCHECK_EQ(StringToLowerASCII(
mime_type_pattern
),
mime_type_pattern
);
local
583
if (
mime_type_pattern
.empty())
586
std::string::size_type semicolon =
mime_type_pattern
.find(';')
[
all
...]
mime_util.h
52
// Returns true if this the
mime_type_pattern
matches a given mime-type.
55
NET_EXPORT bool MatchesMimeType(const std::string&
mime_type_pattern
,
Completed in 86 milliseconds