Lines Matching refs:Twine
450 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F()
451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F()
461 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F()
465 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
469 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
471 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2)); in TEST_F()
498 ASSERT_TRUE(sys::fs::exists(Twine(TempPath))); in TEST_F()
508 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F()
509 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B)); in TEST_F()
515 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
516 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
517 ASSERT_EQ(fs::remove(Twine(TempPath2), false), in TEST_F()
525 ASSERT_EQ(fs::access(Twine(TempPath2), sys::fs::AccessMode::Exist), in TEST_F()
533 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
535 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); in TEST_F()
537 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F()
538 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B)); in TEST_F()
543 ASSERT_NO_ERROR(fs::remove(Twine(TempPath))); in TEST_F()
546 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
549 ASSERT_EQ(fs::access(Twine(TempPath), sys::fs::AccessMode::Exist), in TEST_F()
569 ASSERT_NO_ERROR(fs::remove(Twine(TempPath))); in TEST_F()
574 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
575 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
576 ASSERT_EQ(fs::create_directory(Twine(TestDirectory) + "foo", false), in TEST_F()
578 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "foo")); in TEST_F()
586 fs::create_directory(Twine(TestDirectory) + "baz500", false, in TEST_F()
588 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz500", Status)); in TEST_F()
591 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "baz777", false, in TEST_F()
593 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz777", Status)); in TEST_F()
613 ASSERT_NO_ERROR(fs::create_directories(Twine(LongDir))); in TEST_F()
614 ASSERT_NO_ERROR(fs::create_directories(Twine(LongDir))); in TEST_F()
615 ASSERT_EQ(fs::create_directories(Twine(LongDir), false), in TEST_F()
635 ASSERT_NO_ERROR(fs::create_directory(Twine(LongDir))); in TEST_F()
640 ASSERT_EQ(fs::create_directory(Twine(LongDir), false), errc::file_exists); in TEST_F()
644 Twine(LongDir.substr(0, LongDir.size() - strlen(DotDotDirs))))); in TEST_F()
656 fs::create_directories(Twine(TestDirectory) + "/recursive/a0/aa1")); in TEST_F()
658 fs::create_directories(Twine(TestDirectory) + "/recursive/a0/ab1")); in TEST_F()
659 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory) + in TEST_F()
662 fs::create_directories(Twine(TestDirectory) + "/recursive/z0/za1")); in TEST_F()
664 fs::create_directories(Twine(TestDirectory) + "/recursive/pop/p1")); in TEST_F()
667 for (fs::recursive_directory_iterator i(Twine(TestDirectory) in TEST_F()
707 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0/aa1")); in TEST_F()
708 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0/ab1")); in TEST_F()
709 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0")); in TEST_F()
711 fs::remove(Twine(TestDirectory) + "/recursive/dontlookhere/da1")); in TEST_F()
712 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/dontlookhere")); in TEST_F()
713 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/pop/p1")); in TEST_F()
714 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/pop")); in TEST_F()
715 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/z0/za1")); in TEST_F()
716 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/z0")); in TEST_F()
717 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive")); in TEST_F()
788 ASSERT_NO_ERROR(fs::remove(Twine(file_pathname))); in TEST_F()
819 ASSERT_NO_ERROR(fs::remove(Twine(FilePathname))); in TEST_F()
857 EC = fs::openFileForRead(Twine(TempPath), FD); in TEST_F()