HomeSort by relevance Sort by last modified time
    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 64 bool MatchesMimeType(const std::string &mime_type_pattern,
524 // Tests for MIME parameter equality. Each parameter in the |mime_type_pattern|
527 bool MatchesMimeTypeParameters(const std::string& mime_type_pattern,
529 const std::string::size_type semicolon = mime_type_pattern.find(';');
536 base::SplitString(mime_type_pattern.substr(semicolon + 1),
563 bool MimeUtil::MatchesMimeType(const std::string& mime_type_pattern,
566 DCHECK_EQ(StringToLowerASCII(mime_type_pattern), mime_type_pattern); local
569 if (mime_type_pattern.empty())
572 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 45 milliseconds