/libcore/luni/src/test/java/tests/java/lang/String/ |
D | Tests.java | 39 assertTrue("abcd".endsWith("bcd")); in test_EndsWith() 40 assertFalse("abcd".endsWith("bcde")); in test_EndsWith()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 285 boolean endsWith(Path other); in endsWith() method 306 boolean endsWith(String other); in endsWith() method
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPath.java | 47 public final boolean endsWith(String other) { in endsWith() method in AbstractPath 48 return endsWith(getFileSystem().getPath(other)); in endsWith()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 181 assertTrue(Paths.get("t1/t2").endsWith(Paths.get("t2"))); in test_endsWith$Path() 182 assertTrue(Paths.get("t1/t2/t3").endsWith(Paths.get("t2/t3"))); in test_endsWith$Path() 183 assertFalse(Paths.get("t1/t2").endsWith(Paths.get("t1"))); in test_endsWith$Path() 184 assertTrue(Paths.get("/").endsWith(Paths.get("/"))); in test_endsWith$Path() 185 assertFalse(Paths.get("/data/").endsWith(Paths.get("/"))); in test_endsWith$Path() 190 filesSetup.getTestPath().endsWith((Path)null); in test_endsWith$Path_NPE() 195 assertTrue(Paths.get("t1/t2").endsWith("t2")); in test_endsWith$String() 196 assertTrue(Paths.get("t1/t2/t3").endsWith("t2/t3")); in test_endsWith$String() 197 assertFalse(Paths.get("t1/t2").endsWith("t1")); in test_endsWith$String() 198 assertTrue(Paths.get("/").endsWith("/")); in test_endsWith$String() [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 69 if (!tmpDirName.endsWith(File.separator)) { in test_ConstructorLjava_io_FileLjava_lang_String() 95 if (!tmpDir.endsWith(File.separator)) { in test_ConstructorLjava_lang_StringLjava_lang_String() 152 assertTrue("Test 1: URL does not end with slash.", newDirURL.endsWith(File.separator)); in test_toURL3()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | RFC822Name.java | 196 } else if (thisName.endsWith(inName)) { in constrains() 210 } else if (inName.endsWith(thisName)) { in constrains()
|
D | DNSName.java | 207 else if (thisName.endsWith(inName)) { in constrains() 213 } else if (inName.endsWith(thisName)) { in constrains()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 171 if (s.endsWith(".SF") || s.endsWith(".DSA") || in isBlockOrSF() 172 s.endsWith(".RSA") || s.endsWith(".EC")) { in isBlockOrSF() 364 if (key.toUpperCase(Locale.ENGLISH).endsWith("-DIGEST-MANIFEST")) { in verifyManifestHash() 408 if (key.toUpperCase(Locale.ENGLISH).endsWith(ATTR_DIGEST)) { in verifyManifestMainAttrs() 483 if (key.toUpperCase(Locale.ENGLISH).endsWith("-DIGEST")) { in verifySection()
|
D | ManifestEntryVerifier.java | 126 if (key.toUpperCase(Locale.ENGLISH).endsWith("-DIGEST")) { in setEntry()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 347 if (name.endsWith(".DSA") || in maybeInstantiateVerifier() 348 name.endsWith(".RSA") || in maybeInstantiateVerifier() 349 name.endsWith(".EC") || in maybeInstantiateVerifier() 350 name.endsWith(".SF")) { in maybeInstantiateVerifier()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringTest.java | 68 assertFalse("Doesn't return false value.", hw1.endsWith("ld ")); in test_endsWithLjava_lang_String() 69 assertFalse("Doesn't return false value.", hw1.endsWith(" ")); in test_endsWithLjava_lang_String() 70 assertTrue("Returned incorrect value for empty string.", hw1.endsWith("")); in test_endsWithLjava_lang_String() 72 hw1.endsWith(null); in test_endsWithLjava_lang_String()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | ParseUtil.java | 246 while (file.endsWith("/..")) { in canonizeString() 255 if (file.endsWith("/.")) in canonizeString() 269 if (!path.endsWith("/") && file.isDirectory()) { in fileToEncodedURL() 288 if (auth != null && auth.endsWith(":-1")) in toURI() 400 && !host.endsWith("]")); in appendAuthority()
|
D | URLConnection.java | 156 if (url.getFile().endsWith("/")) in getContentType()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | JarIndex.java | 312 while((line = br.readLine()) != null && !line.endsWith(".jar")); in read() 318 if (line.endsWith(".jar")) { in read()
|
/libcore/luni/src/main/java/libcore/net/ |
D | InetAddressUtils.java | 117 if (address.startsWith("[") && address.endsWith("]") && address.indexOf(':') != -1) { in parseNumericAddressNoThrowStripOptionalBrackets()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLStreamHandler.java | 347 while (path.endsWith("/..")) { in parseURL() 360 if (path.endsWith("/.")) in parseURL() 364 if (path.endsWith("?")) in parseURL()
|
D | CookieManager.java | 309 if (!path.endsWith("/")) { in put() 424 if (!path.endsWith("/")) { in normalizePath()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SNIHostName.java | 318 if (hostname.endsWith(".")) { in checkHostName()
|
/libcore/support/src/test/java/tests/util/ |
D | ClassLoaderBuilder.java | 131 if (manifestString.endsWith(suffix)) { in getApplicationClassPath()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 399 if (!dirName.endsWith(File.separator)) { in test_createNewFile() 478 .endsWith(".tmp")); in test_createTempFileLjava_lang_StringLjava_lang_String() 550 .endsWith(".tmp")); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() 1528 return fileName.endsWith(".tst"); in test_listFilesLjava_io_FilenameFilter() 1562 if (fileName.endsWith(".tmp")) { in test_listFilesLjava_io_FilenameFilter() 1576 flist[i].getPath().endsWith(".tst")); in test_listFilesLjava_io_FilenameFilter() 1583 .getPath().endsWith(".tmp")); in test_listFilesLjava_io_FilenameFilter() 2013 if (!fileName.endsWith(File.separator)) { in test_toString() 2039 if (!newURIPath.endsWith("/")) { in test_toURI() 2066 .toString().endsWith("/")); in test_toURI() [all …]
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | StandardRepositories.java | 108 if (name.endsWith(suffix)) { in isJsr166()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | DateTest.java | 454 && result.endsWith("1970")); in test_toString() 471 && d2.toString().endsWith("2008")); in test_toString()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1063 if (name.endsWith(".xml")) 1065 else if (name.endsWith(".dtd")) 1067 else if (name.endsWith(".pdf")) 1069 else if (name.endsWith(".zip")) 1071 else if (name.endsWith(".gif"))
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | Handler.java | 197 if (!ctxFile.endsWith("/") && (!spec.startsWith("/"))){ in parseContextSpec()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTest.java | 188 if (!httpBase.endsWith("/")) { in createTempURI()
|