Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 56) sorted by relevance

123

/libcore/ojluni/src/test/java/nio/file/
DTestUtil.java37 Path dir = FileSystems.getDefault().getPath(where); in createTemporaryDirectory() local
45 static public void removeAll(Path dir) throws IOException { in removeAll()
90 static public Path createDirectoryWithLongPath(Path dir) in createDirectoryWithLongPath()
108 static public boolean supportsLinks(Path dir) { in supportsLinks()
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java131 static void permissionTests(Path dir) in permissionTests()
203 static void createTests(Path dir) in createTests()
239 static void ownerTests(Path dir) in ownerTests()
275 static void lookupPrincipalTests(Path dir) in lookupPrincipalTests()
329 static void exceptionsTests(Path dir) in exceptionsTests()
389 Path dir = TestUtil.createTemporaryDirectory(); in main() local
DBasicFileAttributeViewTest.java50 static void checkAttributesOfDirectory(Path dir) in checkAttributesOfDirectory()
65 static void checkAttributesOfFile(Path dir, Path file) in checkAttributesOfFile()
107 static void attributeReadWriteTests(Path dir) in attributeReadWriteTests()
136 Path dir = TestUtil.createTemporaryDirectory(); in main() local
DBasicFileAttributeViewCreationTimeTest.java127 Path dir = TestUtil.createTemporaryDirectory(); in main() local
/libcore/ojluni/src/main/java/java/nio/file/
DTempFileHelper.java57 private static Path generatePath(String prefix, String suffix, Path dir) { in generatePath()
80 private static Path create(Path dir, in create()
155 static Path createTempFile(Path dir, in createTempFile()
168 static Path createTempDirectory(Path dir, in createTempDirectory()
DFileVisitor.java119 FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) in preVisitDirectory()
175 FileVisitResult postVisitDirectory(T dir, IOException exc) in postVisitDirectory()
DSimpleFileVisitor.java57 public FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) in preVisitDirectory()
104 public FileVisitResult postVisitDirectory(T dir, IOException exc) in postVisitDirectory()
DDirectoryNotEmptyException.java46 public DirectoryNotEmptyException(String dir) { in DirectoryNotEmptyException()
DFileTreeWalker.java68 private final Path dir; field in FileTreeWalker.DirectoryNode
74 DirectoryNode(Path dir, Object key, DirectoryStream<Path> stream) { in DirectoryNode()
236 private boolean wouldLoop(Path dir, Object key) { in wouldLoop()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java49 private void deleteTempFolder(File dir) { in deleteTempFolder()
138 File dir = new File(base, platformId); in test_renameToLjava_io_File() local
150 File dir = new File(""); // current directory in test_toURL3() local
157 File dir = new File(cts + "/hello"); in test_deleteOnExit() local
DOldFileWriterTest.java40 File dir = new File(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_io_File_IOException() local
51 File dir = new File(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_io_FileZ_IOException() local
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixMountEntry.java34 private byte[] dir; // directory (mount point) field in UnixMountEntry
55 byte[] dir() { in dir() method in UnixMountEntry
DUnixDirectoryStream.java46 private final UnixPath dir; field in UnixDirectoryStream
70 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { in UnixDirectoryStream()
DAbstractWatchKey.java57 private final Path dir; field in AbstractWatchKey
69 protected AbstractWatchKey(Path dir, AbstractWatchService watcher) { in AbstractWatchKey()
DLinuxFileSystemProvider.java43 LinuxFileSystem newFileSystem(String dir) { in newFileSystem()
DLinuxFileStore.java143 UnixPath dir = new UnixPath(file().getFileSystem(), entry().dir()); in supportsFileAttributeView() local
/libcore/ojluni/src/main/java/java/io/
DFilenameFilter.java53 boolean accept(File dir, String name); in accept()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java41 private static void deleteTempFolder(File dir) { in deleteTempFolder()
363 File dir = new File(base, String.valueOf(numDir)); in test_createNewFile() local
531 File dir = new File(base); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() local
616 File dir = new File(tempDirectory, platformId in test_delete() local
763 File dir = new File(testdir, "longdirectory" + platformId); in test_getCanonicalFile() local
1178 File dir = null; in test_list() local
1270 File dir = new File(base, platformId + String.valueOf(dirNumber)); in test_listFiles() local
1507 File dir = new File(base, platformId + String.valueOf(dirNumber)); in test_listFilesLjava_io_FilenameFilter() local
1604 File dir = new File(base, platformId + String.valueOf(dirNumber)); in test_listLjava_io_FilenameFilter() local
1725 File dir = new File(base, String.valueOf(dirNumber)); in test_mkdir() local
[all …]
/libcore/ojluni/annotations/hiddenapi/java/nio/file/
DFileTreeWalker.java40 private boolean wouldLoop(java.nio.file.Path dir, java.lang.Object key) { in wouldLoop()
104 java.nio.file.Path dir, in DirectoryNode()
134 private final java.nio.file.Path dir; field in FileTreeWalker.DirectoryNode
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DMetaIndex.java42 public static synchronized void registerDirectory(java.io.File dir) { in registerDirectory()
/libcore/ojluni/src/main/java/java/lang/
DProcessImpl.java63 String dir, in start()
/libcore/luni/src/test/java/libcore/dalvik/system/
DClassLoaderTestSupport.java56 private static void cleanUpDir(File dir) { in cleanUpDir()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DUNIXProcess.java39 byte[] dir, in UNIXProcess()
54 byte[] dir, in forkAndExec()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java71 public DirectoryStream<Path> newDirectoryStream(Path dir, in newDirectoryStream()
77 public void createDirectory(Path dir, FileAttribute<?>[] attrs) throws IOException { in createDirectory()
/libcore/ojluni/src/main/java/sun/misc/
DMetaIndex.java152 public static synchronized void registerDirectory(File dir) { in registerDirectory()

123