Lines Matching refs:FilePath
143 class BASE_EXPORT FilePath {
177 FilePath();
178 FilePath(const FilePath& that);
179 explicit FilePath(StringPieceType path);
180 ~FilePath();
181 FilePath& operator=(const FilePath& that);
185 FilePath(FilePath&& that) noexcept;
188 FilePath& operator=(FilePath&& that);
190 bool operator==(const FilePath& that) const;
192 bool operator!=(const FilePath& that) const;
195 bool operator<(const FilePath& that) const {
218 void GetComponents(std::vector<FilePath::StringType>* components) const;
225 bool IsParent(const FilePath& child) const;
235 bool AppendRelativePath(const FilePath& child, FilePath* path) const;
243 FilePath DirName() const WARN_UNUSED_RESULT;
249 FilePath BaseName() const WARN_UNUSED_RESULT;
275 FilePath RemoveExtension() const WARN_UNUSED_RESULT;
279 FilePath RemoveFinalExtension() const WARN_UNUSED_RESULT;
288 FilePath InsertBeforeExtension(
290 FilePath InsertBeforeExtensionASCII(
295 FilePath AddExtension(StringPieceType extension) const WARN_UNUSED_RESULT;
301 FilePath ReplaceExtension(StringPieceType extension) const WARN_UNUSED_RESULT;
313 FilePath Append(StringPieceType component) const WARN_UNUSED_RESULT;
314 FilePath Append(const FilePath& component) const WARN_UNUSED_RESULT;
322 FilePath AppendASCII(StringPiece component) const WARN_UNUSED_RESULT;
335 FilePath AsEndingWithSeparator() const WARN_UNUSED_RESULT;
339 FilePath StripTrailingSeparators() const WARN_UNUSED_RESULT;
382 static FilePath FromUTF8Unsafe(StringPiece utf8);
385 static FilePath FromUTF16Unsafe(StringPiece16 utf16);
392 FilePath NormalizePathSeparators() const;
396 FilePath NormalizePathSeparatorsTo(CharType separator) const;
454 const FilePath& file_path);
471 struct hash<base::FilePath> {
472 typedef base::FilePath argument_type;
475 return hash<base::FilePath::StringType>()(f.value());