Home
last modified time | relevance | path

Searched refs:resolve (Results 1 – 25 of 42) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DURITest.java303 URI uri = base.resolve("another"); in testRelativePathOnQuery()
312 URI uri = base.resolve("#another"); in testRelativeFragmentOnQuery()
326 assertEquals("http://host/another#fragment", base.resolve("another#fragment").toString()); in testRelativePathAndFragment()
331 assertEquals("http://host/a/d", base.resolve("../d").toString()); in testRelativeParentDirectory()
336 assertEquals("http://host/a/b/d/e", base.resolve("d/e").toString()); in testRelativeChildDirectory()
341 assertEquals("http://host/d", base.resolve("/d").toString()); in testRelativeRootDirectory()
346 assertEquals("http://host2/d/e", base.resolve("http://host2/d/e").toString()); in testRelativeFullUrl()
347 assertEquals("https://host2/d/e", base.resolve("https://host2/d/e").toString()); in testRelativeFullUrl()
352 assertEquals("https://host2/d/e", base.resolve("https://host2/d/e").toString()); in testRelativeDifferentScheme()
357 assertEquals("http://another/d/e", base.resolve("//another/d/e").toString()); in testRelativeDifferentAuthority()
[all …]
DOldAndroidURITest.java39 resolve("http://www.google.com/your", in testResolve()
44 private static void resolve(String base, String uri, String expected) { in resolve() method in OldAndroidURITest
46 URI resolved = b.resolve(uri); in resolve()
DOldURITest.java121 b.resolve((URI) null); in test_resolveLjava_net_URI()
130 b.resolve((String) null); in test_resolveLjava_lang_String()
137 b.resolve("http://a/b/c/g?y/./x\n"); in test_resolveLjava_lang_String()
/libcore/tools/upstream/src/main/java/libcore/
DCopyUpstreamFiles.java54 .resolve(upstream.name()) in run()
55 .resolve(relPath); in run()
58 copyFile(upstreamFile, outputDir.resolve("expected").resolve(relPath)); in run()
DRepository.java95 return p == null ? null : rootPath.resolve(p).toAbsolutePath(); in absolutePath()
101 Path repositoryRelativePath = Paths.get(sourceDir).resolve(relPath); in pathFromRepository()
102 File file = rootPath.resolve(repositoryRelativePath).toFile(); in pathFromRepository()
219 super(buildTop.resolve("libcore"), "ojluni", in OjluniRepository()
244 Path blueprintPath = rootPath.resolve(blueprintPathString); in loadRelPathsFromBlueprint()
267 super(upstreamRoot.resolve(name), name, sourceDirs); in OpenJdkRepository()
/libcore/ojluni/src/test/java/nio/file/
DTestUtil.java99 dir = dir.resolve(name).resolve("."); in createDirectoryWithLongPath()
109 Path link = dir.resolve("testlink"); in supportsLinks()
110 Path target = dir.resolve("testtarget"); in supportsLinks()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractPath.java52 public final Path resolve(String other) { in resolve() method in AbstractPath
53 return resolve(getFileSystem().getPath(other)); in resolve()
61 return (parent == null) ? other : parent.resolve(other); in resolveSibling()
DUnixSecureDirectoryStream.java109 UnixPath child = ds.directory().resolve(file); in newDirectoryStream()
164 String pathToCheck = ds.directory().resolve(file).getPathForPermissionCheck(); in newByteChannel()
193 ds.directory().resolve(file).checkDelete(); in implDelete()
258 this.ds.directory().resolve(from).checkWrite(); in move()
259 that.ds.directory().resolve(to).checkWrite(); in move()
358 ds.directory().resolve(file).checkWrite(); in checkWriteAccess()
380 ds.directory().resolve(file).checkRead(); in readAttributes()
474 ds.directory().resolve(file).checkRead(); in readAttributes()
DUnixPath.java169 return resolve(getFileSystem().defaultDirectory(), path); in getByteArrayForSysCalls()
374 private static byte[] resolve(byte[] base, byte[] child) { in resolve() method in UnixPath
396 public UnixPath resolve(Path obj) { in resolve() method in UnixPath
400 byte[] result = resolve(path, other); in resolve()
404 UnixPath resolve(byte[] other) { in resolve() method in UnixPath
405 return resolve(new UnixPath(getFileSystem(), other)); in resolve()
822 resolve(getFileSystem().defaultDirectory(), path)); in toAbsolutePath()
869 result = result.resolve(element); in toRealPath()
DUnixDirectoryStream.java197 Path entry = dir.resolve(nameAsBytes); in readNextEntry()
/libcore/luni/src/main/java/libcore/reflect/
DTypeVariableImpl.java102 void resolve() { in resolve() method in TypeVariableImpl
120 resolve(); in getBounds()
125 resolve(); in getGenericDeclaration()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java358 Path resolve(Path other); in resolve() method
378 Path resolve(String other); in resolve() method
/libcore/luni/src/main/java/javax/xml/transform/
DURIResolver.java42 public Source resolve(String href, String base) in resolve() method
/libcore/ojluni/src/main/java/java/io/
DFileSystem.java66 public abstract String resolve(String parent, String child); in resolve() method in FileSystem
95 public abstract String resolve(File f); in resolve() method in FileSystem
DFile.java268 this.path = fs.resolve(parent.path, child); in File()
327 this.path = fs.resolve(fs.normalize(parent), in File()
367 this.path = fs.resolve(fs.getDefaultParent(), in File()
370 this.path = fs.resolve(parent.path, in File()
549 return fs.resolve(this); in getAbsolutePath()
611 return fs.canonicalize(fs.resolve(this)); in getCanonicalPath()
DUnixFileSystem.java100 public String resolve(String parent, String child) { in resolve() method in UnixFileSystem
134 public String resolve(File f) { in resolve() method in UnixFileSystem
136 return resolve(System.getProperty("user.dir"), f.getPath()); in resolve()
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java111 Path file = dir.resolve("foo"); in attributeReadWriteTests()
121 Path link = dir.resolve("link"); in attributeReadWriteTests()
DPosixFileAttributeViewTest.java137 Path file = dir.resolve("foo"); in permissionTests()
180 Path link = dir.resolve("link"); in permissionTests()
208 Path file = dir.resolve("foo"); in createTests()
244 Path file = dir.resolve("gus"); in ownerTests()
DBasicFileAttributeViewCreationTimeTest.java65 Path file = Files.createFile(top.resolve("foo")); in test()
/libcore/support/src/test/java/tests/util/
DClassLoaderBuilder.java83 @Override protected Class<?> loadClass(String className, boolean resolve) in build()
99 return super.loadClass(className, resolve); in build()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileSystem.java51 public abstract java.lang.String resolve(java.lang.String parent, java.lang.String child); in resolve() method in FileSystem
63 public abstract java.lang.String resolve(java.io.File f); in resolve() method in FileSystem
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalField.java374 default TemporalAccessor resolve( in resolve() method
DJulianFields.java291 public ChronoLocalDate resolve( in resolve() method in JulianFields.Field
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxPathTest.java221 assertEquals(p1p, p1.resolve(p)); in test_resolve$Path()
222 assertEquals(p.toAbsolutePath(), p1.resolve(p.toAbsolutePath())); in test_resolve$Path()
223 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve(p)); in test_resolve$Path()
228 dummyPath.resolve((Path)null); in test_resolve$Path_NPE()
236 assertEquals(p1p, p1.resolve("p")); in test_resolve$String()
237 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve("p")); in test_resolve$String()
242 dummyPath.resolve((String)null); in test_resolve$String_NPE()
/libcore/dalvik/src/main/java/dalvik/system/
DDelegateLastClassLoader.java119 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass() argument

12