Searched refs:kSeparators (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/files/ |
D | file_path_constants.cc | 13 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/"); member in base::FilePath 15 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/"); 18 const size_t FilePath::kSeparatorsLength = arraysize(kSeparators);
|
D | file_path.cc | 131 path.find_last_of(FilePath::kSeparators, last_dot - 1, in ExtensionSeparatorPosition() 213 if (character == kSeparators[i]) { in IsSeparator() 319 new_path.path_.find_last_of(kSeparators, StringType::npos, in DirName() 357 new_path.path_.find_last_of(kSeparators, StringType::npos, in BaseName() 512 new_path.path_.append(1, kSeparators[0]); in Append() 552 path_str.append(&kSeparators[0], 1); in AsEndingWithSeparator() 1319 return NormalizePathSeparatorsTo(kSeparators[0]); in NormalizePathSeparators() 1324 DCHECK_NE(kSeparators + kSeparatorsLength, in NormalizePathSeparatorsTo() 1325 std::find(kSeparators, kSeparators + kSeparatorsLength, separator)); in NormalizePathSeparatorsTo() 1328 std::replace(copy.begin(), copy.end(), kSeparators[i], separator); in NormalizePathSeparatorsTo()
|
D | file_path.h | 163 static const CharType kSeparators[]; variable
|