Home
last modified time | relevance | path

Searched defs:ScopedFilePath (Results 1 – 2 of 2) sorted by relevance

/third_party/ninja/src/
Dtest.h105 struct ScopedFilePath { struct
107 ScopedFilePath(const std::string& path) : path_(path) {} in ScopedFilePath() function
108 ScopedFilePath(const char* path) : path_(path) {} in ScopedFilePath() function
112 ScopedFilePath& operator=(ScopedFilePath&&) noexcept; argument
120 const char* c_str() const { return path_.c_str(); } in c_str()
121 const std::string& path() const { return path_; } in path()
122 bool released() const { return released_; } in released()
126 bool released_ = false;
Dtest.cc239 ScopedFilePath::ScopedFilePath(ScopedFilePath&& other) noexcept in ScopedFilePath() function in ScopedFilePath