Searched refs:kSeparators (Results 1 – 5 of 5) 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
|
/external/autotest/client/deps/glbench/src/ |
D | filepath.cc | 20 new_path.path_.find_last_of(kSeparators, std::string::npos); in DirName() 50 for (size_t i = 0; i < strlen(kSeparators) - 1; ++i) { in IsSeparator() 51 if (character == kSeparators[i]) { in IsSeparator() 95 new_path.path_.append(1, kSeparators[0]); in Append()
|
D | filepath.h | 27 char kSeparators[2] = "/"; variable
|