Home
last modified time | relevance | path

Searched refs:CWDGuard (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/
Dcanonical.pass.cpp27 struct CWDGuard { struct
29 CWDGuard() : OldCWD(fs::current_path()) { } in CWDGuard() argument
30 ~CWDGuard() { fs::current_path(OldCWD); } in ~CWDGuard() argument
32 CWDGuard(CWDGuard const&) = delete;
33 CWDGuard& operator=(CWDGuard const&) = delete;
50 CWDGuard guard; in TEST_CASE()
103 CWDGuard guard; in TEST_CASE()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp54 CWDGuard guard; in TEST_CASE()
63 CWDGuard guard; in TEST_CASE()
75 CWDGuard guard; in TEST_CASE()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/
Dcanonical.pass.cpp41 CWDGuard guard; in TEST_CASE()
98 CWDGuard guard; in TEST_CASE()
/external/llvm-project/libcxx/test/support/
Dfilesystem_test_helper.h419 struct CWDGuard { struct
421 CWDGuard() : oldCwd_(utils::getcwd()) { } in CWDGuard() argument
422 ~CWDGuard() { in ~CWDGuard() argument
427 CWDGuard(CWDGuard const&) = delete;
428 CWDGuard& operator=(CWDGuard const&) = delete; argument