/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPath.java | 43 return startsWith(getFileSystem().getPath(other)); in startsWith() 48 return endsWith(getFileSystem().getPath(other)); in endsWith() 53 return resolve(getFileSystem().getPath(other)); in resolve() 66 return resolveSibling(getFileSystem().getPath(other)); in resolveSibling()
|
D | UnixPath.java | 168 if (getFileSystem().needToResolveAgainstDefaultDirectory()) { in getByteArrayForSysCalls() 169 return resolve(getFileSystem().defaultDirectory(), path); in getByteArrayForSysCalls() 188 if (getFileSystem().needToResolveAgainstDefaultDirectory()) { in getPathForPermissionCheck() 254 return new UnixPath(getFileSystem(), new byte[0]); in emptyPath() 258 public UnixFileSystem getFileSystem() { in getFileSystem() method in UnixPath 265 return getFileSystem().rootDirectory(); in getRoot() 289 return new UnixPath(getFileSystem(), result); in getFileName() 308 return new UnixPath(getFileSystem(), result); in getParent() 336 return new UnixPath(getFileSystem(), result); in getName() 365 return new UnixPath(getFileSystem(), result); in subpath() [all …]
|
D | LinuxFileStore.java | 57 LinuxFileSystem fs = (LinuxFileSystem)file().getFileSystem(); in findMountEntry() 143 UnixPath dir = new UnixPath(file().getFileSystem(), entry().dir()); in supportsFileAttributeView()
|
D | UnixCopyFile.java | 185 source.getFileSystem().copyNonPosixAttributes(sfd, dfd); in copyDirectory() 267 source.getFileSystem().copyNonPosixAttributes(fi, fo); in copyFile()
|
D | UnixFileSystemProvider.java | 91 public final FileSystem getFileSystem(URI uri) { in getFileSystem() method in UnixFileSystemProvider 499 return new UnixPath(link.getFileSystem(), target); in readSymbolicLink()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileSystems.java | 103 return provider.getFileSystem(URI.create("file:///")); in defaultFileSystem() 217 public static FileSystem getFileSystem(URI uri) { in getFileSystem() method in FileSystems 221 return provider.getFileSystem(uri); in getFileSystem()
|
D | TempFileHelper.java | 60 Path name = dir.getFileSystem().getPath(prefix + Long.toString(n) + suffix); in generatePath() 96 if (isPosix && (dir.getFileSystem() == FileSystems.getDefault())) { in create()
|
D | Path.java | 106 FileSystem getFileSystem(); in getFileSystem() method
|
D | Files.java | 97 return path.getFileSystem().provider(); in provider() 517 FileSystem fs = dir.getFileSystem();
|
/libcore/ojluni/src/main/java/java/io/ |
D | DefaultFileSystem.java | 37 public static FileSystem getFileSystem() { in getFileSystem() method in DefaultFileSystem
|
D | File.java | 162 private static final FileSystem fs = DefaultFileSystem.getFileSystem();
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FileSystemsTest.java | 63 FileSystem fs = FileSystems.getFileSystem(testPath.toUri()); in test_getFileSystem() 67 FileSystems.getFileSystem(null); in test_getFileSystem()
|
D | DefaultFileSystemProvider2Test.java | 89 provider = filesSetup.getDataFilePath().getFileSystem().provider(); in setUp() 643 assertNotNull(provider.getFileSystem(testPath.toUri())); in test_newFileSystem$URI$Map() 646 provider.getFileSystem(null); in test_newFileSystem$URI$Map() 653 provider.getFileSystem(stubURI); in test_newFileSystem$URI$Map()
|
D | FilesTest.java | 79 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in setUp() 80 when(mockPath2.getFileSystem()).thenReturn(mockFileSystem); in setUp()
|
D | LinuxPathTest.java | 69 assertTrue(fakePath.getFileSystem().provider() instanceof in test_getFileSystem()
|
D | DefaultFileSystemProviderTest.java | 87 provider = filesSetup.getDataFilePath().getFileSystem().provider(); in setUp()
|
D | Files2Test.java | 112 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in setUp() 113 when(mockPath2.getFileSystem()).thenReturn(mockFileSystem); in setUp()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousFileChannel.java | 247 FileSystemProvider provider = file.getFileSystem().provider(); in open()
|
D | FileChannel.java | 286 FileSystemProvider provider = path.getFileSystem().provider(); in open()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | PosixFileAttributeViewTest.java | 280 UserPrincipalLookupService lookupService = dir.getFileSystem() in lookupPrincipalTests() 349 UserPrincipalLookupService lookupService = dir.getFileSystem() in exceptionsTests()
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 55 public FileSystem getFileSystem(URI uri) { in getFileSystem() method in MockFileSystemProvider
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileChannelTest.java | 314 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in test_open_Path_Set_FileAttributes() 339 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in test_open_Path_OpenOptions()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 269 public abstract FileSystem getFileSystem(URI uri); in getFileSystem() method in FileSystemProvider
|