Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 100) sorted by relevance

1234

/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java50 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 …]
DMockFileSystem.java34 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/
DFileSystemProvider.java339 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 …]
DFileTypeDetector.java104 public abstract String probeContentType(Path path) in probeContentType()
/libcore/ojluni/src/main/java/java/nio/file/
DSecureDirectoryStream.java97 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()
DPathMatcher.java48 boolean matches(Path path); in matches()
DFiles.java96 private static FileSystemProvider provider(Path path) { in provider()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixNativeDispatcher.java39 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 …]
DLinuxFileStore.java60 UnixPath path = null; in findMountEntry() local
96 private boolean isExtendedAttributesEnabled(UnixPath path) { in isExtendedAttributesEnabled()
/libcore/luni/src/test/java/tests/security/
DCertPathBuilderTest.java40 public abstract void validateCertPath(CertPath path); in validateCertPath()
48 CertPath path = builderResult.getCertPath(); in testCertPathBuilder() local
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java73 @Override public boolean access(String path, int mode) throws ErrnoException { in access()
80 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod()
87 @Override public void chown(String path, int uid, int gid) throws ErrnoException { in chown()
225 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { in lchown()
246 @Override public StructStat lstat(String path) throws ErrnoException { in lstat()
253 @Override public void mkdir(String path, int mode) throws ErrnoException { in mkdir()
260 @Override public void mkfifo(String path, int mode) throws ErrnoException { in mkfifo()
267 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { in open()
328 @Override public String readlink(String path) throws ErrnoException { in readlink()
335 @Override public String realpath(String path) throws ErrnoException { in realpath()
[all …]
/libcore/ojluni/src/main/native/
DUnixNativeDispatcher.c143 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 …]
Dio_util_md.c74 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/
DUnixFileSystem.java118 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()
DFilePermission.java38 public FilePermission(String path, String actions) { super(path); } in FilePermission()
DFileSystem.java53 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()
DFileNotFoundException.java76 private FileNotFoundException(String path, String reason) { in FileNotFoundException()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java36 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/
DFileSystem.java45 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/
DParseUtil.java96 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/
DURLStreamHandler.java129 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/test/java/libcore/android/system/
DUnixSocketAddressTest.java29 String path = "/foo/bar"; in testFilesystemSunPath() local
/libcore/tools/upstream/src/main/java/libcore/
DUtil.java68 public static Lines readLines(Path path) throws IOException { in readLines()
74 public static void writeLines(Path path, Lines lines) throws IOException { in writeLines()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClient.java710 public abstract InputStream list(String path) throws FtpProtocolException, IOException; in list()
727 public abstract InputStream nameList(String path) throws FtpProtocolException, IOException; in nameList()
743 public abstract long getSize(String path) throws FtpProtocolException, IOException; in getSize()
758 public abstract Date getLastModified(String path) throws FtpProtocolException, IOException; in getLastModified()
794 …public abstract Iterator<FtpDirEntry> listFiles(String path) throws FtpProtocolException, IOExcept… in listFiles()
/libcore/ojluni/annotations/hiddenapi/sun/net/ftp/
DFtpClient.java175 public abstract java.io.InputStream list(java.lang.String path) in list()
178 public abstract java.io.InputStream nameList(java.lang.String path) in nameList()
181 public abstract long getSize(java.lang.String path) in getSize()
184 public abstract java.util.Date getLastModified(java.lang.String path) in getLastModified()
189 public abstract java.util.Iterator<sun.net.ftp.FtpDirEntry> listFiles(java.lang.String path) in listFiles()

1234