Home
last modified time | relevance | path

Searched full:filesystem (Results 1 – 25 of 11300) sorted by relevance

12345678910>>...452

/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_test.py39 self.filesystem = fake_filesystem.FakeFilesystem(path_separator="/")
40 self.os = fake_os.FakeOsModule(self.filesystem)
44 "foobar", contents="dummy_file", filesystem=self.filesystem
47 "somedir", filesystem=self.filesystem
67 root_dir = self.filesystem.root_dir_name
68 self.filesystem.root.add_entry(self.fake_dir)
74 self.filesystem.is_windows_fs = True
76 self.filesystem.create_dir(dir_path)
77 dir_object = self.filesystem.get_object(dir_path)
81 root_dir = self.filesystem.root_dir_name
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/okio/okio-testing-support/src/commonMain/kotlin/okio/
H A DAbstractFileSystemTest.kt38 val fileSystem: FileSystem, in <lambda>() constant in okio.AbstractFileSystemTest
46 private val isNodeJsFileSystem = fileSystem::class.simpleName?.startsWith("NodeJs") ?: false in <lambda>()
47 private val isWasiFileSystem = fileSystem::class.simpleName?.startsWith("Wasi") ?: false in <lambda>()
52 fileSystem.createDirectories(base) in <lambda>()
64 assertFalse(fileSystem.exists(file)) in <lambda>()
69 if (fileSystem.isFakeFileSystem || fileSystem is ForwardingFileSystem) return in <lambda>()
70 val cwd = fileSystem.canonicalize(".".toPath()) in <lambda>()
89 val metadata = fileSystem.metadata(".".toPath()) in <lambda>()
97 fileSystem.canonicalize(base / "no-such-file") in <lambda>()
104 fileSystem.canonicalize("no-such-file".toPath()) in <lambda>()
[all …]
/aosp_15_r20/build/soong/finder/
H A Dfinder_test.go35 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
36 return newFinderWithNumThreads(t, filesystem, cacheParams, 2)
39 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
40 f, err := newFinderAndErr(t, filesystem, cacheParams, numThreads)
47 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
50 filesystem.MkDirs(cacheDir)
56 f, err := newImpl(cacheParams, filesystem, logger, cachePath, numThreads)
71 original.filesystem,
81 filesystem := newFs()
83 filesystem.MkDirs(root)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
32 * Abstract superclass for tests of FileSystem implementation classes. Contains common
56 protected FileSystem fileSystem
66 assert !fileSystem.exists(NEW_FILE)
67 assert !fileSystem.exists(NEW_DIR)
68 assert !fileSystem.exists(ILLEGAL_FILE)
69 assert fileSystem.exists(EXISTING_FILE)
70 assert fileSystem.exists(EXISTING_DIR)
72 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
79 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/aosp_15_r20/external/selinux/libsepol/tests/policies/test-cond/
H A Drefpolicy-base.conf5 class filesystem
140 class filesystem
977 allow bin_t fs_t:filesystem associate;
978 allow bin_t noxattrfs:filesystem associate;
980 allow sbin_t fs_t:filesystem associate;
981 allow sbin_t noxattrfs:filesystem associate;
983 allow ls_exec_t fs_t:filesystem associate;
984 allow ls_exec_t noxattrfs:filesystem associate;
987 allow shell_exec_t fs_t:filesystem associate;
988 allow shell_exec_t noxattrfs:filesystem associate;
[all …]
/aosp_15_r20/external/icing/icing/file/
H A Dfilesystem_test.cc15 // Test for Filesystem class and utils.
17 #include "icing/file/filesystem.h"
51 Filesystem filesystem; in CreateTestFiles() local
55 int fd = filesystem.OpenForWrite(one_file_path.c_str()); in CreateTestFiles()
59 filesystem.Write(fd, test_data.c_str(), strlen(test_data.c_str()))); in CreateTestFiles()
84 Filesystem filesystem; in SetUp() local
85 ASSERT_TRUE(filesystem.CreateDirectoryRecursively(temp_dir_.c_str())); in SetUp()
89 Filesystem filesystem; in TearDown() local
90 EXPECT_TRUE(filesystem.DeleteDirectoryRecursively(temp_dir_.c_str())); in TearDown()
102 Filesystem filesystem; in WriteJunk() local
[all …]
/aosp_15_r20/external/armnn/third-party/ghc/
H A DREADME.md3 …ild Status](https://travis-ci.org/gulrak/filesystem.svg?branch=master)](https://travis-ci.org/gulr…
4 …status/t07wp3k2cddo0hpo/branch/master?svg=true)](https://ci.appveyor.com/project/gulrak/filesystem)
5 …tps://api.cirrus-ci.com/github/gulrak/filesystem.svg?branch=master)](https://cirrus-ci.com/github/…
6 …cloud.drone.io/api/badges/gulrak/filesystem/status.svg?ref=refs/heads/master)](https://cloud.drone…
7 …//coveralls.io/repos/github/gulrak/filesystem/badge.svg?branch=master)](https://coveralls.io/githu…
8 …ase Tag](https://img.shields.io/github/tag/gulrak/filesystem.svg)](https://github.com/gulrak/files…
10 # Filesystem chapter
12 This is a header-only single-file std::filesystem compatible helper library,
17 C++11 compatible compiler. It is of course in its own namespace `ghc::filesystem`
18 to not interfere with a regular `std::filesystem` should you use it in a mixed C++17
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/
H A Dfilesystem.cppm11 #include <filesystem>
13 export module std:filesystem;
14 export namespace std::filesystem {
16 using std::filesystem::path;
19 using std::filesystem::hash_value;
20 using std::filesystem::swap;
22 // [fs.class.filesystem.error], filesystem errors
23 using std::filesystem::filesystem_error;
26 using std::filesystem::directory_entry;
29 using std::filesystem::directory_iterator;
[all …]
H A Dfilesystem.inc10 export namespace std::filesystem {
12 using std::filesystem::path;
15 using std::filesystem::hash_value;
16 using std::filesystem::swap;
18 // [fs.class.filesystem.error], filesystem errors
19 using std::filesystem::filesystem_error;
23 using std::filesystem::directory_entry;
26 using std::filesystem::directory_iterator;
29 using std::filesystem::begin;
30 using std::filesystem::end;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/embedded-sysroots/pigweed_riscv32_sysroot/share/libc++/v1/std/
Dfilesystem.inc10 export namespace std::filesystem {
12 using std::filesystem::path;
15 using std::filesystem::hash_value;
16 using std::filesystem::swap;
18 // [fs.class.filesystem.error], filesystem errors
19 using std::filesystem::filesystem_error;
23 using std::filesystem::directory_entry;
26 using std::filesystem::directory_iterator;
29 using std::filesystem::begin;
30 using std::filesystem::end;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/share/libc++/v1/std/
Dfilesystem.inc10 export namespace std::filesystem {
12 using std::filesystem::path;
15 using std::filesystem::hash_value;
16 using std::filesystem::swap;
18 // [fs.class.filesystem.error], filesystem errors
19 using std::filesystem::filesystem_error;
23 using std::filesystem::directory_entry;
26 using std::filesystem::directory_iterator;
29 using std::filesystem::begin;
30 using std::filesystem::end;
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/config/test/
Dboost_no_cxx17_hdr_filesystem.ipp10 // TITLE: C++17 header <filesystem> unavailable
11 // DESCRIPTION: The standard library does not supply C++17 header <filesystem>
13 #include <filesystem>
19 using std::filesystem::path;
20 using std::filesystem::filesystem_error;
21 using std::filesystem::directory_entry;
22 using std::filesystem::directory_iterator;
23 using std::filesystem::recursive_directory_iterator;
24 using std::filesystem::file_status;
25 using std::filesystem::space_info;
[all …]
/aosp_15_r20/external/python/pyfakefs/pyfakefs/
Dfake_os.py87 filesystem = fake_filesystem.FakeFilesystem()
88 my_os_module = fake_os.FakeOsModule(filesystem)
148 def __init__(self, filesystem: "FakeFilesystem"):
152 filesystem: FakeFilesystem used to provide file system information
154 self.filesystem = filesystem
156 self.path = FakePathModule(self.filesystem, self)
198 return FakeFileOpen(self.filesystem)(fd, *args, **kwargs)
202 if self.filesystem.is_windows_fs:
245 if self.filesystem.is_windows_fs:
267 path = self.filesystem.joinpaths(
[all …]

12345678910>>...452