Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 125) 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/luni/src/test/java/libcore/java/nio/file/spi/
DFileSystemProviderTest.java70 public SeekableByteChannel newByteChannel(Path path, in newByteChannel()
87 public void delete(Path path) throws IOException { in delete()
102 public boolean isSameFile(Path path, Path path2) throws IOException { in isSameFile()
107 public boolean isHidden(Path path) throws IOException { in isHidden()
112 public FileStore getFileStore(Path path) throws IOException { in getFileStore()
117 public void checkAccess(Path path, AccessMode... modes) throws IOException { in checkAccess()
123 Path path, Class<V> type, LinkOption... options) { in getFileAttributeView()
129 Path path, Class<A> type, LinkOption... options) throws IOException { in readAttributes()
135 Path path, String attributes, LinkOption... options) throws IOException { in readAttributes()
140 public void setAttribute(Path path, String attribute, in setAttribute()
[all …]
/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 …]
/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/test/java/nio/file/Path/
DUriImportExport.java44 Path path = Paths.get(s); in testPath() local
54 Path path = Paths.get(s); in testPath() local
66 Path path = Paths.get(uri); in testUri() local
77 Path path = Paths.get(uri); in testBadUri() local
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java172 CertPath path = certificateFactory.generateCertPath( in verifyMd5Chain_rootNotIncluded() local
186 CertPath path = certificateFactory.generateCertPath( in verifyMd5Chain_rootIncluded() local
200 CertPath path = certificateFactory.generateCertPath( in verifyMd5ChainExceptionWhenUnsupported() local
218 CertPath path = certificateFactory.generateCertPath( in verifySha1Chain_rootNotIncluded() local
230 CertPath path = certificateFactory.generateCertPath( in verifySha1Chain_rootIncluded() local
257 private void validate(CertPath path, CertPathValidator certPathValidator, in validate()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixDomainSockets.java83 String path = new String(localAddress0(fd), UnixDomainSocketsUtil.getCharset()); in localAddress() local
102 static byte[] getPathBytes(Path path) { in getPathBytes()
139 Path path = Path.of(dir, "socket_" + rnd); in generateTempName() local
150 static int connect(FileDescriptor fd, Path path) throws IOException { in connect()
170 private static native void bind0(FileDescriptor fd, byte[] path) in bind0()
173 private static native int connect0(FileDescriptor fd, byte[] path) in connect0()
/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()
146 static FileChannel newFileChannel(UnixPath path, in newFileChannel()
157 static AsynchronousFileChannel newAsynchronousFileChannel(UnixPath path, in newAsynchronousFileChannel()
184 UnixPath path, in open()
DLinuxFileStore.java60 UnixPath path = null; in findMountEntry() local
96 private boolean isExtendedAttributesEnabled(UnixPath path) { in isExtendedAttributesEnabled()
/libcore/ojluni/src/main/java/java/net/
DUnixDomainSocketAddress.java58 private final transient Path path; field in UnixDomainSocketAddress
129 private UnixDomainSocketAddress(Path path) { in UnixDomainSocketAddress()
163 public static UnixDomainSocketAddress of(Path path) { in of()
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/ojluni/src/main/java/java/io/
DUnixFileSystem.java153 public String fromURIPath(String path) { in fromURIPath()
190 public String canonicalize(String path) throws IOException { in canonicalize()
241 private String canonicalize0(String path) throws IOException { in canonicalize0()
248 private native String canonicalize0(String path, boolean isAtLeastTargetSdk35) in canonicalize0()
259 static String parentOrNull(String path) { in parentOrNull()
365 public boolean createFileExclusively(String path) throws IOException { in createFileExclusively()
370 private native boolean createFileExclusively0(String path) throws IOException; in createFileExclusively0()
473 private native long getNameMax0(String path); in getNameMax0()
475 public int getNameMax(String path) { in getNameMax()
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()
223 public abstract int getNameMax(String path); in getNameMax()
/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()
226 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { in lchown()
247 @Override public StructStat lstat(String path) throws ErrnoException { in lstat()
254 @Override public void mkdir(String path, int mode) throws ErrnoException { in mkdir()
261 @Override public void mkfifo(String path, int mode) throws ErrnoException { in mkfifo()
268 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { in open()
329 @Override public String readlink(String path) throws ErrnoException { in readlink()
336 @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
507 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_stat1() local
523 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0() local
554 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fstatat0() local
573 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_chmod0() local
[all …]
Dcanonicalize_md.c49 char* removeDupSeparator(char *path) in removeDupSeparator()
169 collapse(char *path, in collapse()
283 char path[PATH_MAX]; in canonicalize() local
DUnixDomainSockets.c74 jint unixSocketAddressToSockaddr(JNIEnv *env, jbyteArray path, struct sockaddr_un *sa, int *len) in unixSocketAddressToSockaddr()
114 Java_sun_nio_ch_UnixDomainSockets_bind0(JNIEnv *env, jclass clazz, jobject fdo, jbyteArray path) in Java_sun_nio_ch_UnixDomainSockets_bind0()
130 Java_sun_nio_ch_UnixDomainSockets_connect0(JNIEnv *env, jclass clazz, jobject fdo, jbyteArray path) in Java_sun_nio_ch_UnixDomainSockets_connect0()
/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/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/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()

12345