Home
last modified time | relevance | path

Searched defs:DummyFile (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/lldb/unittests/Host/
DFileSystemTest.cpp23 struct DummyFile : public vfs::File { struct
24 vfs::Status S;
25 explicit DummyFile(vfs::Status S) : S(S) {} in DummyFile() function
26 llvm::ErrorOr<vfs::Status> status() override { return S; } in status()
28 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()
32 std::error_code close() override { return std::error_code(); } in close()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp25 struct DummyFile : public vfs::File { struct
26 vfs::Status S;
27 explicit DummyFile(vfs::Status S) : S(S) {} in DummyFile() function
28 llvm::ErrorOr<vfs::Status> status() override { return S; } in status()
30 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()
34 std::error_code close() override { return std::error_code(); } in close()
/external/llvm-project/llvm/unittests/Support/
DVirtualFileSystemTest.cpp33 struct DummyFile : public vfs::File { struct
34 vfs::Status S;
35 explicit DummyFile(vfs::Status S) : S(S) {} in DummyFile() argument
36 llvm::ErrorOr<vfs::Status> status() override { return S; } in status()
38 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()
42 std::error_code close() override { return std::error_code(); } in close()