Home
last modified time | relevance | path

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

12345

/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.java103 UnixPath file = getName(obj); in newDirectoryStream() local
153 UnixPath file = getName(obj); in newByteChannel() local
183 UnixPath file = getName(obj); in implDelete() local
226 public void deleteFile(Path file) throws IOException { in deleteFile()
282 private <V extends FileAttributeView> V getFileAttributeViewImpl(UnixPath file, in getFileAttributeViewImpl()
315 UnixPath file = getName(obj); in getFileAttributeView() local
326 final UnixPath file; field in UnixSecureDirectoryStream.BasicFileAttributeViewImpl
329 BasicFileAttributeViewImpl(UnixPath file, boolean followLinks) in BasicFileAttributeViewImpl()
445 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
256 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/tzdata/shared2/src/main/libcore/tzdata/shared2/
DFileUtils.java95 public static void makeWorldReadable(File file) throws IOException { in makeWorldReadable()
108 public static void ensureFileDoesNotExist(File file) throws IOException { in ensureFileDoesNotExist()
117 public static void doDelete(File file) throws IOException { in doDelete()
123 public static boolean isSymlink(File file) throws IOException { in isSymlink()
153 File file = new File(rootDir, fileName); in filesExist() local
165 public static byte[] readBytes(File file, int maxBytes) throws IOException { in readBytes()
185 public static void createEmptyFile(File file) throws IOException { in createEmptyFile()
/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()
DNoSuchFileException.java46 public NoSuchFileException(String file) { in NoSuchFileException()
60 public NoSuchFileException(String file, String other, String reason) { in NoSuchFileException()
DFileAlreadyExistsException.java46 public FileAlreadyExistsException(String file) { in FileAlreadyExistsException()
60 public FileAlreadyExistsException(String file, String other, String reason) { in FileAlreadyExistsException()
DNotLinkException.java46 public NotLinkException(String file) { in NotLinkException()
60 public NotLinkException(String file, String other, String reason) { in NotLinkException()
DAccessDeniedException.java51 public AccessDeniedException(String file) { in AccessDeniedException()
65 public AccessDeniedException(String file, String other, String reason) { in AccessDeniedException()
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/dalvik/src/main/java/dalvik/system/profiler/
DHprofBinaryToAscii.java54 File file = new File(args[0]); in convert() local
88 private static boolean startsWithMagic(File file) { in startsWithMagic()
103 private static HprofData readHprof(File file) throws IOException { in readHprof()
117 private static HprofData readSnapshot(File file) throws IOException { in readSnapshot()
/libcore/luni/src/test/java/libcore/io/
DMemoryMappedFileTest.java53 File file = createFile(bytes); in testMmapRo_emptyFile() local
66 File file = createFile(bytes); in testMmapRo() local
76 File file = createFile(bytes); in testMmapRo_close() local
98 File file = createFile(bytes); in testReadAfterCloseFails() local
118 File file = createFile(bytes); in checkReadByte() local
146 File file = createFile(bytes); in checkSeek() local
190 File file = createFile(bytes); in checkSkip() local
232 File file = createFile(bytes); in testReadShort_bigEndian() local
254 File file = createFile(bytes); in testReadShort_littleEndian() local
294 File file = createFile(bytes); in testReadInt_bigEndian() local
[all …]
/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/native/
DUnixFileSystem_md.c139 jobject file, jint a) in Java_java_io_UnixFileSystem_checkAccess0()
170 jobject file, in Java_java_io_UnixFileSystem_setPermission0()
218 jobject file) in Java_java_io_UnixFileSystem_getLastModifiedTime0()
234 jobject file) in Java_java_io_UnixFileSystem_getLength0()
278 jobject file) in Java_java_io_UnixFileSystem_delete0()
293 jobject file) in Java_java_io_UnixFileSystem_list0()
368 jobject file) in Java_java_io_UnixFileSystem_createDirectory0()
400 jobject file, jlong time) in Java_java_io_UnixFileSystem_setLastModifiedTime0()
429 jobject file) in Java_java_io_UnixFileSystem_setReadOnly0()
447 jobject file, jint t) in Java_java_io_UnixFileSystem_getSpace0()
/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/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/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

12345