Lines Matching refs:fs
129 ASSERT_NO_ERROR(fs::make_absolute(temp_store));
153 fs::unique_file("file-system-test-%%-%%-%%-%%/test-directory.anchor", fd,
164 ASSERT_NO_ERROR(fs::remove_all(TestDirectory.str(), removed));
173 fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor, TempPath));
177 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists));
183 ASSERT_NO_ERROR(fs::unique_file("%%-%%-%%-%%.temp", FD2, TempPath2));
186 fs::file_status A, B;
187 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A));
188 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B));
189 EXPECT_FALSE(fs::equivalent(A, B));
193 fs::copy_file(Twine(TempPath), Twine(TempPath2)), errc::file_exists);
197 ASSERT_NO_ERROR(fs::copy_file(Twine(TempPath), Twine(TempPath2),
198 fs::copy_option::overwrite_if_exists));
200 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2), TempFileExists));
204 ASSERT_NO_ERROR(fs::exists(Twine(TempPath2), TempFileExists));
208 ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2)));
210 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal));
212 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A));
213 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B));
214 EXPECT_TRUE(fs::equivalent(A, B));
218 ASSERT_NO_ERROR(fs::remove(Twine(TempPath), TempFileExists));
222 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2), TempFileExists));
226 ASSERT_NO_ERROR(fs::exists(Twine(TempPath), TempFileExists));
232 for (fs::directory_iterator i(".", ec), e; i != e; i.increment(ec))
237 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory)
239 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory)
241 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory)
243 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory)
245 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory)
249 for (fs::recursive_directory_iterator i(Twine(TestDirectory)
310 ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res));