/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 50 public FileSystem newFileSystem(Path path, Map<String, ?> env) throws IOException { in newFileSystem() 65 public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, in newByteChannel() 82 public void delete(Path path) throws IOException { in delete() 97 public boolean isSameFile(Path path, Path path2) throws IOException { in isSameFile() 102 public boolean isHidden(Path path) throws IOException { in isHidden() 107 public FileStore getFileStore(Path path) throws IOException { in getFileStore() 112 public void checkAccess(Path path, AccessMode... modes) throws IOException { in checkAccess() 117 public <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, in getFileAttributeView() 123 public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, in readAttributes() 129 public Map<String, Object> readAttributes(Path path, String attributes, in readAttributes() [all …]
|
D | MockFileSystem.java | 34 private Path path; field in MockFileSystem 41 public MockFileSystem(Path path, Map<String, ?> env) { in MockFileSystem()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 339 public FileSystem newFileSystem(Path path, Map<String,?> env) in newFileSystem() 373 public InputStream newInputStream(Path path, OpenOption... options) in newInputStream() 418 public OutputStream newOutputStream(Path path, OpenOption... options) in newOutputStream() 471 public FileChannel newFileChannel(Path path, in newFileChannel() 519 public AsynchronousFileChannel newAsynchronousFileChannel(Path path, in newAsynchronousFileChannel() 565 public abstract SeekableByteChannel newByteChannel(Path path, in newByteChannel() 709 public abstract void delete(Path path) throws IOException; in delete() 737 public boolean deleteIfExists(Path path) throws IOException { in deleteIfExists() 865 public abstract boolean isSameFile(Path path, Path path2) in isSameFile() 887 public abstract boolean isHidden(Path path) throws IOException; in isHidden() [all …]
|
D | FileTypeDetector.java | 104 public abstract String probeContentType(Path path) in probeContentType()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | SecureDirectoryStream.java | 97 SecureDirectoryStream<T> newDirectoryStream(T path, LinkOption... options) in newDirectoryStream() 148 SeekableByteChannel newByteChannel(T path, in newByteChannel() 178 void deleteFile(T path) throws IOException; in deleteFile() 206 void deleteDirectory(T path) throws IOException; in deleteDirectory() 309 <V extends FileAttributeView> V getFileAttributeView(T path, in getFileAttributeView()
|
D | PathMatcher.java | 48 boolean matches(Path path); in matches()
|
D | Files.java | 96 private static FileSystemProvider provider(Path path) { in provider()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixNativeDispatcher.java | 39 private static NativeBuffer copyToNativeBuffer(UnixPath path) { in copyToNativeBuffer() 68 static int open(UnixPath path, int flags, int mode) throws UnixException { in open() 82 static int openat(int dfd, byte[] path, int flags, int mode) throws UnixException { in openat() 138 static void unlink(UnixPath path) throws UnixException { in unlink() 151 static void unlinkat(int dfd, byte[] path, int flag) throws UnixException { in unlinkat() 165 static void mknod(UnixPath path, int mode, long dev) throws UnixException { in mknod() 211 static void mkdir(UnixPath path, int mode) throws UnixException { in mkdir() 224 static void rmdir(UnixPath path) throws UnixException { in rmdir() 239 static byte[] readlink(UnixPath path) throws UnixException { in readlink() 254 static byte[] realpath(UnixPath path) throws UnixException { in realpath() [all …]
|
D | UnixChannelFactory.java | 103 static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) { in newFileChannel() 113 UnixPath path, in newFileChannel() 143 static FileChannel newFileChannel(UnixPath path, in newFileChannel() 154 static AsynchronousFileChannel newAsynchronousFileChannel(UnixPath path, in newAsynchronousFileChannel() 181 UnixPath path, in open()
|
D | LinuxFileStore.java | 60 UnixPath path = null; in findMountEntry() local 96 private boolean isExtendedAttributesEnabled(UnixPath path) { in isExtendedAttributesEnabled()
|
D | MimeTypesFileTypeDetector.java | 68 protected String implProbeContentType(Path path) { in implProbeContentType()
|
/libcore/luni/src/test/java/tests/security/ |
D | CertPathBuilderTest.java | 40 public abstract void validateCertPath(CertPath path); in validateCertPath() 48 CertPath path = builderResult.getCertPath(); in testCertPathBuilder() local
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 68 @Override public boolean access(String path, int mode) throws ErrnoException { in access() 75 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod() 82 @Override public void chown(String path, int uid, int gid) throws ErrnoException { in chown() 204 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { in lchown() 225 @Override public StructStat lstat(String path) throws ErrnoException { in lstat() 232 @Override public void mkdir(String path, int mode) throws ErrnoException { in mkdir() 239 @Override public void mkfifo(String path, int mode) throws ErrnoException { in mkfifo() 246 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { in open() 307 @Override public String readlink(String path) throws ErrnoException { in readlink() 314 @Override public String realpath(String path) throws ErrnoException { in realpath() [all …]
|
/libcore/ojluni/src/main/native/ |
D | UnixNativeDispatcher.c | 143 static int fstatat64_wrapper(int dfd, const char *path, in fstatat64_wrapper() 155 static int fstatat64_wrapper(int dfd, const char *path, in fstatat64_wrapper() 352 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() local 386 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_open0() local 400 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_openat0() local 493 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_stat0() local 509 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0() local 540 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fstatat0() local 559 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_chmod0() local 585 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_chown0() local [all …]
|
D | io_util_md.c | 74 handleOpen(const char *path, int oflag, int mode) { in handleOpen() 97 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) in fileOpen()
|
/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 118 public String fromURIPath(String path) { in fromURIPath() 151 public String canonicalize(String path) throws IOException { in canonicalize() 200 private native String canonicalize0(String path) throws IOException; in canonicalize0() 208 static String parentOrNull(String path) { in parentOrNull() 314 public boolean createFileExclusively(String path) throws IOException { in createFileExclusively() 319 private native boolean createFileExclusively0(String path) throws IOException; in createFileExclusively0()
|
D | FileSystem.java | 53 public abstract String normalize(String path); in normalize() 59 public abstract int prefixLength(String path); in prefixLength() 81 public abstract String fromURIPath(String path); in fromURIPath() 97 public abstract String canonicalize(String path) throws IOException; in canonicalize()
|
D | FilePermission.java | 38 public FilePermission(String path, String actions) { super(path); } in FilePermission()
|
D | FileNotFoundException.java | 76 private FileNotFoundException(String path, String reason) { in FileNotFoundException()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | Util.java | 50 public static Lines readLines(Path path) throws IOException { in readLines() 56 public static void writeLines(Path path, Lines lines) throws IOException { in writeLines()
|
/libcore/ojluni/annotations/hiddenapi/sun/net/www/ |
D | ParseUtil.java | 36 public static java.lang.String encodePath(java.lang.String path) { in encodePath() 41 public static java.lang.String encodePath(java.lang.String path, boolean flag) { in encodePath() 75 java.lang.String path, in createURI() 89 java.lang.String path, in toString() 102 java.lang.String path, in appendSchemeSpecificPart() 141 java.lang.String s, java.lang.String scheme, java.lang.String path) in checkPath()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileSystem.java | 45 public abstract java.lang.String normalize(java.lang.String path); in normalize() 48 public abstract int prefixLength(java.lang.String path); in prefixLength() 57 public abstract java.lang.String fromURIPath(java.lang.String path); in fromURIPath() 66 public abstract java.lang.String canonicalize(java.lang.String path) throws java.io.IOException; in canonicalize()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | ParseUtil.java | 96 public static String encodePath(String path) { in encodePath() 104 public static String encodePath(String path, boolean flag) { in encodePath() 264 String path = file.getAbsolutePath(); in fileToEncodedURL() local 278 String path = url.getPath(); in toURI() local 312 String path, in createURI() 329 String path, in toString() 351 String path, in appendSchemeSpecificPart() 529 private static void checkPath(String s, String scheme, String path) in checkPath()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLStreamHandler.java | 129 String path = u.getPath(); in parseURL() local 567 String authority, String userInfo, String path, in setURL() 574 u.set(u.getProtocol(), host, port, authority, userInfo, path, query, ref); in setURL() local 614 String path = null; in setURL() local
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 59 …public static boolean access(String path, int mode) throws ErrnoException { return Libcore.os.acce… in access() 98 …public static void chmod(String path, int mode) throws ErrnoException { Libcore.os.chmod(path, mod… in chmod() 103 …public static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(p… in chown() 300 …public static byte[] getxattr(String path, String name) throws ErrnoException { return Libcore.os.… in getxattr() 340 …public static void lchown(String path, int uid, int gid) throws ErrnoException { Libcore.os.lchown… in lchown() 355 …public static String[] listxattr(String path) throws ErrnoException { return Libcore.os.listxattr(… in listxattr() 365 …public static StructStat lstat(String path) throws ErrnoException { return Libcore.os.lstat(path);… in lstat() 375 …public static void mkdir(String path, int mode) throws ErrnoException { Libcore.os.mkdir(path, mod… in mkdir() 380 …public static void mkfifo(String path, int mode) throws ErrnoException { Libcore.os.mkfifo(path, m… in mkfifo() 410 …public static FileDescriptor open(String path, int flags, int mode) throws ErrnoException { return… in open() [all …]
|