Home
last modified time | relevance | path

Searched refs:kExtensionSeparator (Results 1 – 6 of 6) sorted by relevance

/external/chromium/base/
Dfile_path.cc41 const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.'); member in FilePath
127 path.rfind(FilePath::kExtensionSeparator); in ExtensionSeparatorPosition()
147 path.rfind(FilePath::kExtensionSeparator, last_dot - 1); in ExtensionSeparatorPosition()
384 if (*(base.end() - 1) == kExtensionSeparator) { in InsertBeforeExtension()
415 if (*(base.end() - 1) == kExtensionSeparator) { in ReplaceExtension()
424 if (extension.empty() || extension == StringType(1, kExtensionSeparator)) in ReplaceExtension()
428 if (extension[0] != kExtensionSeparator) in ReplaceExtension()
429 str.append(1, kExtensionSeparator); in ReplaceExtension()
435 DCHECK(extension.empty() || extension[0] == kExtensionSeparator); in MatchesExtension()
Dfile_util.cc22 const FilePath::CharType kExtensionSeparator = FILE_PATH_LITERAL('.'); variable
53 file_name.rfind(kExtensionSeparator); in GetFileExtensionFromPath()
64 value.rfind(kExtensionSeparator); in InsertBeforeExtension()
Dfile_path.h155 static const CharType kExtensionSeparator; variable
/external/chromium/chrome/browser/download/
Ddownload_prefs.cc102 DCHECK(extension[0] == FilePath::kExtensionSeparator); in EnableAutoOpenBasedOnExtension()
114 DCHECK(extension[0] == FilePath::kExtensionSeparator); in DisableAutoOpenBasedOnExtension()
Ddownload_extensions.cc207 if (ascii_extension[0] == FilePath::kExtensionSeparator) in GetFileExtensionDangerLevel()
Ddownload_manager.cc937 DCHECK(extension[0] == FilePath::kExtensionSeparator); in ShouldOpenFileBasedOnExtension()