Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_path.cc114 return path.rfind(FilePath::kExtensionSeparator); in FinalExtensionSeparatorPosition()
129 path.rfind(FilePath::kExtensionSeparator, last_dot - 1); in ExtensionSeparatorPosition()
437 (extension.size() == 1 && extension[0] == kExtensionSeparator)) in AddExtension()
441 if (extension[0] != kExtensionSeparator && in AddExtension()
442 *(str.end() - 1) != kExtensionSeparator) { in AddExtension()
443 str.append(1, kExtensionSeparator); in AddExtension()
456 (extension.size() == 1 && extension[0] == kExtensionSeparator)) in ReplaceExtension()
460 if (extension[0] != kExtensionSeparator) in ReplaceExtension()
461 str.append(1, kExtensionSeparator); in ReplaceExtension()
467 DCHECK(extension.empty() || extension[0] == kExtensionSeparator); in MatchesExtension()
Dfile_path_constants.cc23 const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.'); member in base::FilePath
Dfile_path.h175 static const CharType kExtensionSeparator; variable