Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 128) sorted by relevance

123456

/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractFileSystemProvider.java62 abstract DynamicFileAttributeView getFileAttributeView(Path file, in getFileAttributeView()
67 public final void setAttribute(Path file, in setAttribute()
83 …public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) in readAttributes()
99 abstract boolean implDelete(Path file, boolean failIfNotExists) throws IOException; in implDelete()
102 public final void delete(Path file) throws IOException { in delete()
107 public final boolean deleteIfExists(Path file) throws IOException { in deleteIfExists()
DUnixException.java77 private IOException translateToIOException(String file, String other) { in translateToIOException()
94 void rethrowAsIOException(String file) throws IOException { in rethrowAsIOException()
99 void rethrowAsIOException(UnixPath file, UnixPath other) throws IOException { in rethrowAsIOException()
106 void rethrowAsIOException(UnixPath file) throws IOException { in rethrowAsIOException()
110 IOException asIOException(UnixPath file) { in asIOException()
DUnixFileAttributeViews.java39 protected final UnixPath file; field in UnixFileAttributeViews.Basic
42 Basic(UnixPath file, boolean followLinks) { in Basic()
140 Posix(UnixPath file, boolean followLinks) { in Posix()
311 Unix(UnixPath file, boolean followLinks) { in Unix()
367 static Basic createBasicView(UnixPath file, boolean followLinks) { in createBasicView()
371 static Posix createPosixView(UnixPath file, boolean followLinks) { in createPosixView()
375 static Unix createUnixView(UnixPath file, boolean followLinks) { in createUnixView()
379 static FileOwnerAttributeViewImpl createOwnerView(UnixPath file, boolean followLinks) { in createOwnerView()
DUnixSecureDirectoryStream.java108 UnixPath file = getName(obj); in newDirectoryStream() local
158 UnixPath file = getName(obj); in newByteChannel() local
188 UnixPath file = getName(obj); in implDelete() local
231 public void deleteFile(Path file) throws IOException { in deleteFile()
287 private <V extends FileAttributeView> V getFileAttributeViewImpl(UnixPath file, in getFileAttributeViewImpl()
320 UnixPath file = getName(obj); in getFileAttributeView() local
331 final UnixPath file; field in UnixSecureDirectoryStream.BasicFileAttributeViewImpl
334 BasicFileAttributeViewImpl(UnixPath file, boolean followLinks) in BasicFileAttributeViewImpl()
450 PosixFileAttributeViewImpl(UnixPath file, boolean followLinks) { in PosixFileAttributeViewImpl()
DUnixFileStore.java44 private final UnixPath file; field in UnixFileStore
53 private static long devFor(UnixPath file) throws IOException { in devFor()
62 UnixFileStore(UnixPath file) throws IOException { in UnixFileStore()
79 UnixPath file() { in file() method in UnixFileStore
257 Path file = Paths.get(fstypes); in loadProperties() local
DUnixFileSystemProvider.java115 UnixPath file = UnixPath.toUnixPath(obj); in getFileAttributeView() local
130 public <A extends BasicFileAttributes> A readAttributes(Path file, in readAttributes()
152 UnixPath file = UnixPath.toUnixPath(obj); in getFileAttributeView() local
171 UnixPath file = checkPath(obj); in newFileChannel() local
188 UnixPath file = checkPath(obj); in newAsynchronousFileChannel() local
208 UnixPath file = UnixPath.toUnixPath(obj); in newByteChannel() local
221 UnixPath file = UnixPath.toUnixPath(obj); in implDelete() local
269 UnixPath file = UnixPath.toUnixPath(obj); in checkAccess() local
346 UnixPath file = UnixPath.toUnixPath(obj); in isHidden() local
DAbstractFileTypeDetector.java49 public final String probeContentType(Path file) throws IOException { in probeContentType()
59 protected abstract String implProbeContentType(Path file) in implProbeContentType()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java168 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_File() local
188 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_String() local
209 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_lang_StringZ() local
230 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZ() local
251 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI() local
259 File file = Support_Resources.copyFile(resources, null, jarName); in test_ConstructorLjava_io_FileZI() local
295 File file = Support_Resources.copyFile(resources, null, jarName); in test_entries() local
313 File file = Support_Resources.copyFile(resources, null, jarName); in test_getEntryLjava_lang_String() local
322 File file = Support_Resources.copyFile(resources, null, jarName); in test_getEntryLjava_lang_String() local
350 File file = Support_Resources.copyFile(resources, null, jarName); in test_getJarEntryLjava_lang_String() local
[all …]
/libcore/ojluni/src/main/java/java/nio/file/
DFileSystemException.java42 private final String file; field in FileSystemException
53 public FileSystemException(String file) { in FileSystemException()
72 public FileSystemException(String file, String other, String reason) { in FileSystemException()
DNotLinkException.java46 public NotLinkException(String file) { in NotLinkException()
60 public NotLinkException(String file, String other, String reason) { in NotLinkException()
DNoSuchFileException.java46 public NoSuchFileException(String file) { in NoSuchFileException()
60 public NoSuchFileException(String file, String other, String reason) { in NoSuchFileException()
DAccessDeniedException.java51 public AccessDeniedException(String file) { in AccessDeniedException()
65 public AccessDeniedException(String file, String other, String reason) { in AccessDeniedException()
DFileAlreadyExistsException.java46 public FileAlreadyExistsException(String file) { in FileAlreadyExistsException()
60 public FileAlreadyExistsException(String file, String other, String reason) { in FileAlreadyExistsException()
DFileTreeWalker.java129 private final Path file; field in FileTreeWalker.Event
133 private Event(EventType type, Path file, BasicFileAttributes attrs, IOException ioe) { in Event()
140 Event(EventType type, Path file, BasicFileAttributes attrs) { in Event()
144 Event(EventType type, Path file, IOException ioe) { in Event()
152 Path file() { in file() method in FileTreeWalker.Event
201 private BasicFileAttributes getAttributes(Path file, boolean canUseCached) in getAttributes()
318 Event walk(Path file) { in walk()
DFileVisitor.java135 FileVisitResult visitFile(T file, BasicFileAttributes attrs) in visitFile()
153 FileVisitResult visitFileFailed(T file, IOException exc) in visitFileFailed()
DSimpleFileVisitor.java72 public FileVisitResult visitFile(T file, BasicFileAttributes attrs) in visitFile()
87 public FileVisitResult visitFileFailed(T file, IOException exc) in visitFileFailed()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZip64FileTest.java39 final File file = createZipFile(65550, 2, false /* setEntrySize */); in testZip64Support_largeNumberOfEntries() local
67 final File file = createZipFile(5, 1073741824L, false /* setEntrySize */); in testZip64Support_totalLargerThan4G() local
90 final File file = createZipFile(1, 4294967410L, true /* setEntrySize */); in testZip64Support_hugeEntry() local
108 File file = createTemporaryZipFile(); in createZipFile() local
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java56 File file = createFile(bytes); in testMmapRo_emptyFile() local
69 File file = createFile(bytes); in testMmapRo() local
79 File file = createFile(bytes); in testMmapRo_close() local
101 File file = createFile(bytes); in testReadAfterCloseFails() local
121 File file = createFile(bytes); in checkReadByte() local
149 File file = createFile(bytes); in checkSeek() local
193 File file = createFile(bytes); in checkSkip() local
235 File file = createFile(bytes); in testReadShort_bigEndian() local
257 File file = createFile(bytes); in testReadShort_littleEndian() local
297 File file = createFile(bytes); in testReadInt_bigEndian() local
[all …]
/libcore/ojluni/annotations/hiddenapi/java/nio/file/
DFileTreeWalker.java36 java.nio.file.Path file, boolean canUseCached) throws java.io.IOException { in getAttributes()
49 java.nio.file.FileTreeWalker.Event walk(java.nio.file.Path file) { in walk()
166 java.nio.file.Path file, in Event()
174 java.nio.file.Path file, in Event()
181 java.nio.file.Path file, in Event()
190 java.nio.file.Path file() { in file() method in FileTreeWalker.Event
208 private final java.nio.file.Path file; field in FileTreeWalker.Event
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewCreationTimeTest.java51 private static FileTime creationTime(Path file) throws IOException { in creationTime()
58 private static void setCreationTime(Path file, FileTime time) throws IOException { in setCreationTime()
65 Path file = Files.createFile(top.resolve("foo")); in test() local
DPosixFileAttributeViewTest.java54 static void testPermissions(Path file, String mode) throws IOException { in testPermissions()
98 static void createWithPermissions(Path file, in createWithPermissions()
137 Path file = dir.resolve("foo"); in permissionTests() local
208 Path file = dir.resolve("foo"); in createTests() local
244 Path file = dir.resolve("gus"); in ownerTests() local
/libcore/ojluni/src/main/java/java/lang/
DProcessBuilder.java537 public File file() { return null; } in file() method in ProcessBuilder.Redirect
560 public static Redirect from(final File file) { in from()
565 public File file() { return file; } in from() method in ProcessBuilder.Redirect
587 public static Redirect to(final File file) { in to()
592 public File file() { return file; } in to() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOpenRandomFileTest.java37 File file = File.createTempFile("test", "tmp"); in testOpenNonEmptyFile() local
50 File file = File.createTempFile("test", "tmp"); in testOpenEmptyFile() local
/libcore/ojluni/src/main/java/java/io/
DFileWriter.java89 public FileWriter(File file) throws IOException { in FileWriter()
106 public FileWriter(File file, boolean append) throws IOException { in FileWriter()
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c175 jobject file, in Java_java_io_UnixFileSystem_setPermission0()
223 jobject file) in Java_java_io_UnixFileSystem_getLastModifiedTime0()
305 jobject file) in Java_java_io_UnixFileSystem_list0()
388 jobject file) in Java_java_io_UnixFileSystem_createDirectory0()
424 jobject file, jlong time) in Java_java_io_UnixFileSystem_setLastModifiedTime0()
453 jobject file) in Java_java_io_UnixFileSystem_setReadOnly0()
471 jobject file, jint t) in Java_java_io_UnixFileSystem_getSpace0()

123456