Home
last modified time | relevance | path

Searched refs:kSeparators (Results 1 – 7 of 7) sorted by relevance

/third_party/gn/src/base/files/
Dfile_path_constants.cc14 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/"); member in base::FilePath
16 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/");
19 const size_t FilePath::kSeparatorsLength = std::size(kSeparators);
Dfile_path.cc129 FilePath::kSeparators, last_dot - 1, FilePath::kSeparatorsLength - 1); in ExtensionSeparatorPosition()
206 if (character == kSeparators[i]) { in IsSeparator()
310 kSeparators, StringType::npos, kSeparatorsLength - 1); in DirName()
347 kSeparators, StringType::npos, kSeparatorsLength - 1); in BaseName()
489 new_path.path_.append(1, kSeparators[0]); in Append()
529 path_str.append(&kSeparators[0], 1); in AsEndingWithSeparator()
621 return NormalizePathSeparatorsTo(kSeparators[0]); in NormalizePathSeparators()
626 DCHECK_NE(kSeparators + kSeparatorsLength, in NormalizePathSeparatorsTo()
627 std::find(kSeparators, kSeparators + kSeparatorsLength, separator)); in NormalizePathSeparatorsTo()
630 std::replace(copy.begin(), copy.end(), kSeparators[i], separator); in NormalizePathSeparatorsTo()
Dfile_path.h162 static const CharType kSeparators[]; variable
/third_party/gn/src/gn/
Dbuild_settings.cc31 DCHECK(r.value()[r.value().size() - 1] != base::FilePath::kSeparators[0]); in SetRootPath()
Dsetup_unittest.cc139 "hello" + std::string(1, base::FilePath::kSeparators[0]) + "world", false, in TEST_F()
Dsetup.cc880 if (normalized_extension.find_first_of(base::FilePath::kSeparators) != in FillOtherConfig()
Dfilesystem_utils.cc502 base::FilePath::StringType separator(&base::FilePath::kSeparators[0], 1); in MakeAbsoluteFilePathRelativeIfPossible()