Home
last modified time | relevance | path

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

12345

/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 …]
DUnixChannelFactory.java103 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()
DLinuxFileStore.java60 UnixPath path = null; in findMountEntry() local
96 private boolean isExtendedAttributesEnabled(UnixPath path) { in isExtendedAttributesEnabled()
DMimeTypesFileTypeDetector.java39 protected String implProbeContentType(Path path) { in implProbeContentType()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java71 @Override public boolean access(String path, int mode) throws ErrnoException { in access()
76 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod()
81 @Override public void chown(String path, int uid, int gid) throws ErrnoException { in chown()
172 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { in lchown()
187 @Override public StructStat lstat(String path) throws ErrnoException { in lstat()
192 @Override public void mkdir(String path, int mode) throws ErrnoException { in mkdir()
197 @Override public void mkfifo(String path, int mode) throws ErrnoException { in mkfifo()
202 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { in open()
254 @Override public String readlink(String path) throws ErrnoException { in readlink()
259 @Override public String realpath(String path) throws ErrnoException { in realpath()
[all …]
DOs.java48 public boolean access(String path, int mode) throws ErrnoException; in access()
54 public void chmod(String path, int mode) throws ErrnoException; in chmod()
55 public void chown(String path, int uid, int gid) throws ErrnoException; in chown()
96 public byte[] getxattr(String path, String name) throws ErrnoException; in getxattr()
107 public void lchown(String path, int uid, int gid) throws ErrnoException; in lchown()
110 public String[] listxattr(String path) throws ErrnoException; in listxattr()
112 public StructStat lstat(String path) throws ErrnoException; in lstat()
114 public void mkdir(String path, int mode) throws ErrnoException; in mkdir()
115 public void mkfifo(String path, int mode) throws ErrnoException; in mkfifo()
121 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException; in open()
[all …]
DForwardingOs.java57 …public boolean access(String path, int mode) throws ErrnoException { return os.access(path, mode);… in access()
69 public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); } in chmod()
70 …public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid);… in chown()
110 …public byte[] getxattr(String path, String name) throws ErrnoException { return os.getxattr(path, … in getxattr()
121 …public void lchown(String path, int uid, int gid) throws ErrnoException { os.lchown(path, uid, gid… in lchown()
124 public String[] listxattr(String path) throws ErrnoException { return os.listxattr(path); } in listxattr()
126 public StructStat lstat(String path) throws ErrnoException { return os.lstat(path); } in lstat()
128 public void mkdir(String path, int mode) throws ErrnoException { os.mkdir(path, mode); } in mkdir()
129 public void mkfifo(String path, int mode) throws ErrnoException { os.mkfifo(path, mode); } in mkfifo()
135 …public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { return os.ope… in open()
[all …]
/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/ojluni/src/main/native/
DUnixNativeDispatcher.c138 static int fstatat64_wrapper(int dfd, const char *path, in fstatat64_wrapper()
150 static int fstatat64_wrapper(int dfd, const char *path, in fstatat64_wrapper()
347 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() local
381 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_open0() local
395 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_openat0() local
475 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_stat0() local
491 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0() local
522 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fstatat0() local
541 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_chmod0() local
567 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_chown0() local
[all …]
Dio_util_md.c66 handleOpen(const char *path, int oflag, int mode) { in handleOpen()
89 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) in fileOpen()
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java250 private static List<File> splitDexPath(String path) { in splitDexPath()
385 private static String optimizedPathFor(File path, in optimizedPathFor()
434 String path = file.getPath(); in makePathElements() local
528 String path = element.findNativeLibrary(fileName); in findLibrary() local
564 private final File path; field in DexPathList.Element
585 public Element(File path) { in Element()
712 private final File path; field in DexPathList.NativeLibraryElement
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java112 public String fromURIPath(String path) { in fromURIPath()
145 public String canonicalize(String path) throws IOException { in canonicalize()
191 private native String canonicalize0(String path) throws IOException; in canonicalize0()
199 static String parentOrNull(String path) { in parentOrNull()
279 public boolean createFileExclusively(String path) throws IOException { in createFileExclusively()
283 private native boolean createFileExclusively0(String path) throws IOException; in createFileExclusively0()
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()
DFilePermission.java36 public FilePermission(String path, String actions) { super(""); } in FilePermission()
DFileNotFoundException.java76 private FileNotFoundException(String path, String reason) { in FileNotFoundException()
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java129 String path = u.getPath(); in parseURL() local
544 String authority, String userInfo, String path, in setURL()
551 u.set(u.getProtocol(), host, port, authority, userInfo, path, query, ref); in setURL() local
591 String path = null; in setURL() local
/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/luni/src/test/java/android/system/
DUnixSocketAddressTest.java27 String path = "/foo/bar"; in testFilesystemSunPath() local

12345