Searched refs:kSeparators (Results 1 – 7 of 7) sorted by relevance
/third_party/gn/src/base/files/ |
D | file_path_constants.cc | 14 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);
|
D | file_path.cc | 129 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()
|
D | file_path.h | 162 static const CharType kSeparators[]; variable
|
/third_party/gn/src/gn/ |
D | build_settings.cc | 31 DCHECK(r.value()[r.value().size() - 1] != base::FilePath::kSeparators[0]); in SetRootPath()
|
D | setup_unittest.cc | 139 "hello" + std::string(1, base::FilePath::kSeparators[0]) + "world", false, in TEST_F()
|
D | setup.cc | 880 if (normalized_extension.find_first_of(base::FilePath::kSeparators) != in FillOtherConfig()
|
D | filesystem_utils.cc | 502 base::FilePath::StringType separator(&base::FilePath::kSeparators[0], 1); in MakeAbsoluteFilePathRelativeIfPossible()
|