Home
last modified time | relevance | path

Searched refs:StringViewType (Results 1 – 2 of 2) sorted by relevance

/third_party/gn/src/base/files/
Dfile_path.cc32 using StringViewType = FilePath::StringViewType; typedef
46 StringViewType::size_type FindDriveLetter(StringViewType path) { in FindDriveLetter()
60 bool EqualDriveLetterCaseInsensitive(StringViewType a, StringViewType b) { in EqualDriveLetterCaseInsensitive()
67 StringViewType a_letter(a.substr(0, a_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
68 StringViewType b_letter(b.substr(0, b_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
72 StringViewType a_rest(a.substr(a_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
73 StringViewType b_rest(b.substr(b_letter_pos + 1)); in EqualDriveLetterCaseInsensitive()
78 bool IsPathAbsolute(StringViewType path) { in IsPathAbsolute()
174 FilePath::FilePath(StringViewType path) { in FilePath()
396 FilePath FilePath::InsertBeforeExtension(StringViewType suffix) const { in InsertBeforeExtension()
[all …]
Dfile_path.h156 using StringViewType = std::basic_string_view<CharType>; variable
178 explicit FilePath(StringViewType path);
285 [[nodiscard]] FilePath InsertBeforeExtension(StringViewType suffix) const;
291 [[nodiscard]] FilePath AddExtension(StringViewType extension) const;
297 [[nodiscard]] FilePath ReplaceExtension(StringViewType extension) const;
305 [[nodiscard]] FilePath Append(StringViewType component) const;