/external/webrtc/webrtc/base/ |
D | fileutils_unittest.cc | 21 EXPECT_TRUE(Filesystem::GetTemporaryFolder(path, true, NULL)); in TEST() 27 EXPECT_TRUE(Filesystem::GetTemporaryFolder(path, true, NULL)); in TEST() 28 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST() 34 fs = Filesystem::OpenFile(path, "wb"); in TEST() 40 EXPECT_TRUE(Filesystem::IsFile(path)); in TEST() 42 fs = Filesystem::OpenFile(path, "rb"); in TEST() 48 EXPECT_TRUE(Filesystem::DeleteFile(path)); in TEST() 49 EXPECT_FALSE(Filesystem::IsFile(path)); in TEST() 55 EXPECT_TRUE(Filesystem::GetTemporaryFolder(path, true, NULL)); in TEST() 58 EXPECT_FALSE(Filesystem::IsFile(path)); in TEST() [all …]
|
D | pathutils.h | 111 Filesystem::SetOrganizationName(organization); in SetOrganizationName() 114 Filesystem::SetApplicationName(application); in SetApplicationName() 117 Filesystem::GetOrganizationName(organization); in GetOrganizationName() 120 Filesystem::GetApplicationName(application); in GetApplicationName() 123 return Filesystem::CreateFolder(path); in CreateFolder() 137 Filesystem::GetApplicationName(&application_name); in GetTemporaryFolder() 139 return Filesystem::GetTemporaryFolder(path, create, &application_name) in GetTemporaryFolder() 145 return Filesystem::GetAppDataFolder(&path, true) in GetAppDataFolder() 152 if (Filesystem::IsAbsent(path)) in CleanupTemporaryFolder() 154 if (!Filesystem::IsTemporaryPath(path)) { in CleanupTemporaryFolder() [all …]
|
D | filerotatingstream_unittest.cc | 30 ASSERT_TRUE(Filesystem::GetAppTempFolder(&test_path)); in Init() 33 ASSERT_TRUE(Filesystem::CreateFolder(test_path)); in Init() 42 if (dir_path_.size() && Filesystem::IsFolder(dir_path_) && in TearDown() 43 Filesystem::IsTemporaryPath(dir_path_)) { in TearDown() 44 Filesystem::DeleteFolderAndContents(dir_path_); in TearDown() 78 scoped_ptr<FileStream> stream(Filesystem::OpenFile(file_path, "r")); in VerifyFileContents() 117 scoped_ptr<FileStream> stream(Filesystem::OpenFile(logfile_path, "r")); in TEST_F() 142 EXPECT_TRUE(Filesystem::IsFile(stream_->GetFilePath(i))); in TEST_F() 147 EXPECT_TRUE(Filesystem::IsFile(stream_->GetFilePath(i))); in TEST_F() 189 ASSERT_TRUE(Filesystem::GetAppTempFolder(&test_path)); in Init() [all …]
|
D | fileutils.cc | 139 FilesystemInterface* Filesystem::default_filesystem_ = NULL; in DirectoryIterator() 141 FilesystemInterface *Filesystem::EnsureDefaultFilesystem() { in DirectoryIterator() 233 Pathname Filesystem::GetCurrentDirectory() { in DirectoryIterator() 242 if (!Filesystem::GetTemporaryFolder(temporary_path, true, NULL)) { in DirectoryIterator() 252 std::string filename = Filesystem::TempFilename(folder, "gt"); in DirectoryIterator() 255 Filesystem::DeleteFile(path.pathname()); in DirectoryIterator() 268 if (!Filesystem::IsFile(pathname)) { in DirectoryIterator() 270 FileStream* fs = Filesystem::OpenFile(pathname, "w"); in DirectoryIterator()
|
/external/e2fsprogs/tests/ |
D | README | 10 1 Filesystem errors detected, but corrected 12 4 Filesystem errors left uncorrected 37 baddir.img Filesystem with a corrupted directory 38 badbblocks.img Filesystem with illegal blocks in the bad block inode. 39 badinode.img Filesystem with various different corrupted inode 41 badlkcnt.img Filesystem with deleted files with non-zero link count 42 badroot.img Filesystem with a file for a root directory 43 badtable.img Filesystem with blocks shared between the bitmaps and 45 bbfile.img Filesystem with files containing bad blocks 46 bitmaps.img Filesystem with corrupted inode and block bitmaps [all …]
|
/external/e2fsprogs/tests/t_change_uuid_mcsum_seed_mounted/ |
D | expect | 2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 7 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 9 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 13 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 16 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 20 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
|
/external/e2fsprogs/tests/m_minrootdir/ |
D | expect | 2 Filesystem volume name: <none> 4 Filesystem magic number: 0xEF53 5 Filesystem revision #: 1 (dynamic) 6 Filesystem features: ext_attr dir_index filetype extent 64bit flex_bg sparse_super huge_file d… 8 Filesystem state: clean 10 Filesystem OS type: Linux 114 Filesystem volume name: <none> 116 Filesystem magic number: 0xEF53 117 Filesystem revision #: 1 (dynamic) 118 Filesystem features: ext_attr dir_index filetype extent 64bit flex_bg sparse_super huge_file d… [all …]
|
/external/e2fsprogs/tests/t_disable_changed_csum_seed/ |
D | expect | 2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 7 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 11 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 14 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 17 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
|
/external/e2fsprogs/tests/t_disable_changed_csum_seed_mounted/ |
D | expect | 2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 7 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 11 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 14 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731 18 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
|
/external/e2fsprogs/tests/m_root_owner/ |
D | expect.1 | 7 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super 15 Filesystem volume name: <none> 17 Filesystem magic number: 0xEF53 18 Filesystem revision #: 1 (dynamic) 19 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super 21 Filesystem state: clean 23 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/m_64bit_flexbg/ |
D | expect.1 | 7 Filesystem features: ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super 15 Filesystem volume name: <none> 17 Filesystem magic number: 0xEF53 18 Filesystem revision #: 1 (dynamic) 19 Filesystem features: ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super 21 Filesystem state: clean 23 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/m_large_file/ |
D | expect.1 | 7 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file 15 Filesystem volume name: <none> 17 Filesystem magic number: 0xEF53 18 Filesystem revision #: 1 (dynamic) 19 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file 21 Filesystem state: clean 23 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/t_disable_csum_seed/ |
D | expect | 2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 8 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 11 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 14 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
|
/external/e2fsprogs/tests/t_disable_meta_csum_and_seed/ |
D | expect | 2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 8 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 11 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 14 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
|
/external/e2fsprogs/tests/j_ext_dumpe2fs/ |
D | expect | 2 ../e2fsck/e2fsck: Filesystem has unsupported feature(s) while trying to open test.img 14 Filesystem volume name: <none> 16 Filesystem magic number: 0xEF53 17 Filesystem revision #: 1 (dynamic) 18 Filesystem features: journal_dev metadata_csum 20 Filesystem state: clean 22 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/m_dasd_bs/ |
D | expect.1 | 9 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super 17 Filesystem volume name: <none> 19 Filesystem magic number: 0xEF53 20 Filesystem revision #: 1 (dynamic) 21 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super 23 Filesystem state: clean 25 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/f_jnl_errno/ |
D | expect.0 | 1 Filesystem volume name: <none> 3 Filesystem magic number: 0xEF53 4 Filesystem revision #: 1 (dynamic) 5 Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg spars… 7 Filesystem state: clean 9 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/m_mmp/ |
D | expect.1 | 10 Filesystem features: ext_attr resize_inode dir_index filetype mmp sparse_super large_file 18 Filesystem volume name: <none> 20 Filesystem magic number: 0xEF53 21 Filesystem revision #: 1 (dynamic) 22 Filesystem features: ext_attr resize_inode dir_index filetype mmp sparse_super large_file 24 Filesystem state: clean 26 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/d_corrupt_journal_nr_users/ |
D | expect | 1 Filesystem volume name: <none> 3 Filesystem magic number: 0xEF53 4 Filesystem revision #: 1 (dynamic) 5 Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg… 7 Filesystem state: clean 9 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/r_move_itable_realloc/ |
D | expect | 20 Filesystem volume name: <none> 22 Filesystem magic number: 0xEF53 23 Filesystem revision #: 1 (dynamic) 24 Filesystem features: has_journal ext_attr dir_index filetype extent flex_bg sparse_super huge_… 26 Filesystem state: clean 28 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/r_move_itable_nostride/ |
D | expect | 20 Filesystem volume name: <none> 22 Filesystem magic number: 0xEF53 23 Filesystem revision #: 1 (dynamic) 24 Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg spars… 26 Filesystem state: clean 28 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/t_enable_csum_seed/ |
D | expect | 2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c 7 Filesystem UUID: 1dd136c6-e47a-4833-9bf5-519f8aacabe4 11 Filesystem UUID: 1dd136c6-e47a-4833-9bf5-519f8aacabe4
|
/external/e2fsprogs/tests/m_std/ |
D | expect.1 | 9 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super 17 Filesystem volume name: <none> 19 Filesystem magic number: 0xEF53 20 Filesystem revision #: 1 (dynamic) 21 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super 23 Filesystem state: clean 25 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/m_no_opt/ |
D | expect.1 | 9 Filesystem features:(none) 17 Filesystem volume name: <none> 19 Filesystem magic number: 0xEF53 20 Filesystem revision #: 1 (dynamic) 21 Filesystem features: (none) 23 Filesystem state: clean 25 Filesystem OS type: Linux
|
/external/e2fsprogs/tests/t_disable_mcsum/ |
D | expect | 24 Filesystem magic number: 0xEF53 25 Filesystem revision #: 1 (dynamic) 26 -Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_b… 27 +Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_b… 29 Filesystem state: clean
|