/external/v8/test/mjsunit/es6/ |
D | string-endswith.js | 28 assertEquals(1, String.prototype.endsWith.length); 31 assertTrue(testString.endsWith("")); 32 assertTrue(testString.endsWith("World")); 33 assertFalse(testString.endsWith("world")); 34 assertFalse(testString.endsWith("Hello World!")); 35 assertFalse(testString.endsWith(null)); 36 assertFalse(testString.endsWith(undefined)); 38 assertTrue("null".endsWith(null)); 39 assertTrue("undefined".endsWith(undefined)); 42 assertTrue(georgianUnicodeString.endsWith(georgianUnicodeString)); [all …]
|
/external/proguard/src/proguard/io/ |
D | DataEntryCopier.java | 123 boolean outputIsApk = output.endsWith(".apk") || in main() 124 output.endsWith(".ap_"); in main() 125 boolean outputIsJar = output.endsWith(".jar"); in main() 126 boolean outputIsAar = output.endsWith(".aar"); in main() 127 boolean outputIsWar = output.endsWith(".war"); in main() 128 boolean outputIsEar = output.endsWith(".ear"); in main() 129 boolean outputIsZip = output.endsWith(".zip"); in main() 245 boolean inputIsApk = input.endsWith(".apk") || in main() 246 input.endsWith(".ap_"); in main() 247 boolean inputIsJar = input.endsWith(".jar"); in main() [all …]
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | NetscapeDomainHandler.java | 87 return ucDomain.endsWith(".COM") in isSpecialDomain() 88 || ucDomain.endsWith(".EDU") in isSpecialDomain() 89 || ucDomain.endsWith(".NET") in isSpecialDomain() 90 || ucDomain.endsWith(".GOV") in isSpecialDomain() 91 || ucDomain.endsWith(".MIL") in isSpecialDomain() 92 || ucDomain.endsWith(".ORG") in isSpecialDomain() 93 || ucDomain.endsWith(".INT"); in isSpecialDomain() 109 return host.endsWith(domain); in match()
|
D | BasicPathHandler.java | 83 if (topmostPath.length() > 1 && topmostPath.endsWith("/")) { in match() 90 if (!topmostPath.endsWith("/")) { in match()
|
/external/deqp/framework/delibs/decpp/ |
D | deStringUtil.cpp | 122 bool endsWith (const std::string& s, const std::string& suffix) in endsWith() function 185 DE_TEST_ASSERT(endsWith("foobar", "foobar")); in StringUtil_selfTest() 186 DE_TEST_ASSERT(endsWith("foobar", "bar")); in StringUtil_selfTest() 187 DE_TEST_ASSERT(endsWith("foobar", "r")); in StringUtil_selfTest() 188 DE_TEST_ASSERT(endsWith("foobar", "")); in StringUtil_selfTest() 189 DE_TEST_ASSERT(endsWith("", "")); in StringUtil_selfTest() 190 DE_TEST_ASSERT(!endsWith("foobar", "foo")); in StringUtil_selfTest() 191 DE_TEST_ASSERT(!endsWith("foobar", "bazfoobar")); in StringUtil_selfTest() 192 DE_TEST_ASSERT(!endsWith("foobar", "foobarbaz")); in StringUtil_selfTest() 193 DE_TEST_ASSERT(!endsWith("", "foo")); in StringUtil_selfTest()
|
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/ |
D | SampleServer.java | 63 if (!basePath.endsWith("/")) basePath += "/"; in directoryToResponse() 94 if (path.endsWith(".png")) return "image/png"; in contentType() 95 if (path.endsWith(".jpg")) return "image/jpeg"; in contentType() 96 if (path.endsWith(".jpeg")) return "image/jpeg"; in contentType() 97 if (path.endsWith(".gif")) return "image/gif"; in contentType() 98 if (path.endsWith(".html")) return "text/html; charset=utf-8"; in contentType() 99 if (path.endsWith(".txt")) return "text/plain; charset=utf-8"; in contentType()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedServer.java | 167 if (file.getName().endsWith(".css")) return "text/css"; in contentType() 168 if (file.getName().endsWith(".gif")) return "image/gif"; in contentType() 169 if (file.getName().endsWith(".html")) return "text/html"; in contentType() 170 if (file.getName().endsWith(".jpeg")) return "image/jpeg"; in contentType() 171 if (file.getName().endsWith(".jpg")) return "image/jpeg"; in contentType() 172 if (file.getName().endsWith(".js")) return "application/javascript"; in contentType() 173 if (file.getName().endsWith(".png")) return "image/png"; in contentType()
|
/external/chromium-trace/catapult/third_party/vinn/vinn/ |
D | path_utils.js | 53 if (!a.endsWith('/')) 61 if (a.endsWith('/')) 87 if (relTo.endsWith('/')) 97 if (a.endsWith('/'))
|
/external/testng/src/main/java/org/testng/internal/ |
D | PackageUtils.java | 52 if (packageName.endsWith(".*")) { in findClassesInPackage() 117 if (name.endsWith(".class") && !entry.isDirectory()) { in findClassesInPackage() 162 …if(classpathFragments[i].toLowerCase().endsWith(".jar") || classpathFragments[i].toLowerCase().end… in getTestClasspath() 166 if(classpathFragments[i].endsWith(File.separator)) { in getTestClasspath() 201 if(fileName.endsWith(classpathFrag + lastFragment) in matchTestClasspath() 226 || (file.getName().endsWith(".class")) in findClassesInDirPackage() 227 || (file.getName().endsWith(".groovy")); in findClassesInDirPackage()
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | FileUtils.java | 97 return fileName.endsWith(".zip") in hasArchiveSuffix() 98 || fileName.endsWith(".jar") in hasArchiveSuffix() 99 || fileName.endsWith(".apk"); in hasArchiveSuffix()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
D | OkHostnameVerifier.java | 169 || (hostName.endsWith(".."))) { in verifyHostName() 174 || (pattern.endsWith(".."))) { in verifyHostName() 188 if (!hostName.endsWith(".")) { in verifyHostName() 191 if (!pattern.endsWith(".")) { in verifyHostName() 236 if (!hostName.endsWith(suffix)) { in verifyHostName()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | DependencyVariableNamer.java | 48 return variableName.endsWith("Provider") && !variableName.equals("Provider") in apply() 52 return variableName.endsWith("MembersInjector") && !variableName.equals("MembersInjector") in apply() 60 return variableName.endsWith("Producer") && !variableName.equals("Producer") in apply()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | UriPatternMatcher.java | 112 || (bestMatch.length() == pattern.length() && pattern.endsWith("*"))) { in lookup() 127 … (pattern.endsWith("*") && requestUri.startsWith(pattern.substring(0, pattern.length() - 1))) || in matchUriRequestPattern() 128 … (pattern.startsWith("*") && requestUri.endsWith(pattern.substring(1, pattern.length()))); in matchUriRequestPattern()
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
D | FileResource.java | 118 if (!_urlString.endsWith("/")) in FileResource() 123 if (_urlString.endsWith("/")) in FileResource() 134 if (_file.isDirectory() && !_urlString.endsWith("/")) in FileResource() 174 if (expected!=index && ((expected-1)!=index || path.endsWith("/") || !r.isDirectory())) in addPath() 338 !list[i].endsWith("/")) in list()
|
D | JarFileResource.java | 143 if (_urlString.endsWith("!/")) in exists() 197 _directory=_path.endsWith("/"); in exists() 200 else if (_path.endsWith("/")) in exists() 215 if (_directory && !_urlString.endsWith("/")) in exists() 244 return _urlString.endsWith("/") || exists() && _directory; in isDirectory()
|
D | JarResource.java | 99 if (_urlString.endsWith("!/")) in exists() 119 if (!_urlString.endsWith("!/")) in getInputStream() 151 boolean subEntryIsDir = (subEntryName != null && subEntryName.endsWith("/")?true:false); 166 … if (!subEntryIsDir && subEntryName.length()+1==entryName.length() && entryName.endsWith("/"))
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | UriPatternType.java | 64 } else if (pattern.endsWith("*")) { in ServletStyleUriPatternMatcher() 80 return uri.endsWith(pattern); in matches() 96 if (extract.endsWith("/")) { in extractPath()
|
/external/hamcrest/library/src/org/hamcrest/text/ |
D | StringEndsWith.java | 17 return s.endsWith(substring); in evalSubstringOf() 25 public static Matcher<String> endsWith(String substring) { in endsWith() method in StringEndsWith
|
/external/vogar/src/vogar/ |
D | RetrievedFilesFilter.java | 38 if (file.getName().endsWith(".xml") in accept() 40 || file.getName().endsWith(".json") in accept()
|
/external/javassist/src/main/javassist/tools/web/ |
D | Webserver.java | 248 if (filename.endsWith(".class")) in doReply() 250 else if (filename.endsWith(".html") || filename.endsWith(".htm")) in doReply() 252 else if (filename.endsWith(".gif")) in doReply() 254 else if (filename.endsWith(".jpg")) in doReply()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue141/ |
D | ConfigurableTimezoneTest.java | 31 assertTrue(output, output.endsWith("Z\n")); in testNoTimezone() 41 assertTrue(output, output.trim().endsWith("+1:00")); in testTimezone()
|
/external/skia/tests/ |
D | StringTest.cpp | 62 REPORTER_ASSERT(reporter, a.endsWith("llo")); in DEF_TEST() 63 REPORTER_ASSERT(reporter, a.endsWith('o')); in DEF_TEST() 64 REPORTER_ASSERT(reporter, !a.endsWith("ll" )); in DEF_TEST() 65 REPORTER_ASSERT(reporter, !a.endsWith('l')); in DEF_TEST() 66 REPORTER_ASSERT(reporter, a.endsWith("")); in DEF_TEST()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
D | TestResultsGenerator.java | 241 if (sourceDirectory.getName().endsWith(".log")) in processCompileLogsDirectory() 243 if (sourceDirectory.getName().endsWith(".xml")) in processCompileLogsDirectory() 544 if (xmlFileNames[i].getPath().endsWith(".xml")) { in parseXml() 936 if (fileName.endsWith(".xml")) { in formatRow() 996 if(fileName.endsWith(testsConfig[i])) in formatRowReleng() 1007 if (fileName.endsWith(".xml")) { in formatRowReleng() 1028 while(counter<card && !fileName.endsWith(testsConfig[counter])) { in formatRowReleng() 1038 while(counter<card && !fileName.endsWith(testsConfig[counter])) { in formatRowReleng() 1045 if(!shortName.endsWith("tests")) { in formatRowReleng() 1071 while(counter<card && !fileName.endsWith(testsConfig[counter])) { in formatRowReleng() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/ |
D | FileTest.java | 44 assertTrue(output, output.endsWith("list-bean-1.yaml'}\n")); in test() 47 assertTrue(file2.getAbsolutePath(), file2.getAbsolutePath().endsWith("list-bean-1.yaml")); in test()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
D | CompileErrorCheck.java | 98 if (absolutePath.endsWith(".xml")) { in findLogs() 100 } else if (absolutePath.endsWith(".jar.bin.log")||absolutePath.endsWith("dot.bin.log")){ in findLogs()
|