HomeSort by relevance Sort by last modified time
    Searched defs:mime_type_pattern (Results 1 - 2 of 2) 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...]
  /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...]

Completed in 732 milliseconds