Home
last modified time | relevance | path

Searched refs:endsWith (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/external/proguard/src/proguard/io/
DDataEntryCopier.java123 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/
DNetscapeDomainHandler.java87 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()
DBasicPathHandler.java83 if (topmostPath.length() > 1 && topmostPath.endsWith("/")) { in match()
90 if (!topmostPath.endsWith("/")) { in match()
/external/deqp/framework/delibs/decpp/
DdeStringUtil.cpp122 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/r8/src/main/java/com/android/tools/r8/utils/
DFileUtils.java27 return name.endsWith(DEX_EXTENSION); in isDexFile()
32 return name.endsWith(CLASS_EXTENSION); in isClassFile()
37 return name.endsWith(JAR_EXTENSION); in isJarFile()
42 return name.endsWith(ZIP_EXTENSION); in isZipFile()
47 return name.endsWith(APK_EXTENSION); in isApkFile()
52 return name.endsWith(APK_EXTENSION) in isArchive()
53 || name.endsWith(JAR_EXTENSION) in isArchive()
54 || name.endsWith(ZIP_EXTENSION); in isArchive()
/external/skia/src/sksl/
DSkSLMain.cpp40 if (input.endsWith(".vert")) { in main()
42 } else if (input.endsWith(".frag")) { in main()
44 } else if (input.endsWith(".geom")) { in main()
46 } else if (input.endsWith(".fp")) { in main()
64 if (name.endsWith(".spirv")) { in main()
80 } else if (name.endsWith(".glsl")) { in main()
96 } else if (name.endsWith(".h")) { in main()
113 } else if (name.endsWith(".cpp")) { in main()
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
DSampleServer.java63 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/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationImplTest.java73 Assertions.assertThat(invocation.toString()).endsWith("simpleMethod(\"foo\");"); in shouldPrintMethodArgs()
79 Assertions.assertThat(invocation.toString()).endsWith("simpleMethod(\"foo\", 1);"); in shouldPrintMethodIntegerArgAndString()
85 Assertions.assertThat(invocation.toString()).endsWith("simpleMethod(null);"); in shouldPrintNull()
91 Assertions.assertThat(invocation.toString()).endsWith("oneArray([1, 2, 3]);"); in shouldPrintArray()
98 Assertions.assertThat(invocation.toString()).endsWith("oneArray(null);"); in shouldPrintNullIfArrayIsNull()
104 Assertions.assertThat(invocation.toString()).endsWith( in shouldPrintArgumentsInMultilinesWhenGetsTooBig()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java168 if (file.getName().endsWith(".css")) return "text/css"; in contentType()
169 if (file.getName().endsWith(".gif")) return "image/gif"; in contentType()
170 if (file.getName().endsWith(".html")) return "text/html"; in contentType()
171 if (file.getName().endsWith(".jpeg")) return "image/jpeg"; in contentType()
172 if (file.getName().endsWith(".jpg")) return "image/jpeg"; in contentType()
173 if (file.getName().endsWith(".js")) return "application/javascript"; in contentType()
174 if (file.getName().endsWith(".png")) return "image/png"; in contentType()
/external/testng/src/main/java/org/testng/internal/
DPackageUtils.java52 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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java169 || (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/
DDependencyVariableNamer.java48 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/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DAnyOfTest.java9 import static org.hamcrest.core.StringEndsWith.endsWith;
24 Matcher<String> matcher = anyOf(startsWith("goo"), endsWith("ood")); in evaluatesToTheTheLogicalDisjunctionOfTwoOtherMatchers()
34 …Matcher<String> matcher = anyOf(startsWith("g"), startsWith("go"), endsWith("d"), startsWith("go")… in evaluatesToTheTheLogicalDisjunctionOfManyOtherMatchers()
DAllOfTest.java11 import static org.hamcrest.core.StringEndsWith.endsWith;
26 Matcher<String> matcher = allOf(startsWith("goo"), endsWith("ood")); in evaluatesToTheTheLogicalConjunctionOfTwoOtherMatchers()
36 …Matcher<String> matcher = allOf(startsWith("g"), startsWith("go"), endsWith("d"), startsWith("go")… in evaluatesToTheTheLogicalConjunctionOfManyOtherMatchers()
DStringEndsWithTest.java6 import static org.hamcrest.core.StringEndsWith.endsWith;
12 final Matcher<String> stringEndsWith = endsWith(EXCERPT);
/external/apache-http/src/org/apache/http/protocol/
DUriPatternMatcher.java112 || (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/vogar/src/vogar/
DRetrievedFilesFilter.java30 if (file.getName().endsWith(".xml") in accept()
32 || file.getName().endsWith(".json")) { in accept()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DUriPatternType.java64 } else if (pattern.endsWith("*")) { in ServletStyleUriPatternMatcher()
80 return uri.endsWith(pattern); in matches()
96 if (extract.endsWith("/")) { in extractPath()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DStringEndsWith.java13 return converted(s).endsWith(converted(substring)); in evalSubstringOf()
25 public static Matcher<String> endsWith(String suffix) { in endsWith() method in StringEndsWith
/external/v8/tools/turbolizer/
Dnode.js20 return this.opcode == 'Parameter' || this.opcode.endsWith('Constant');
30 return this.opcode.endsWith('Phi') ||
38 this.opcode.endsWith('ToNumber') ||
/external/javassist/src/main/javassist/tools/web/
DWebserver.java248 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/jline/src/src/main/java/jline/
DClassNameCompletor.java88 if (!file.toString().endsWith (".jar")) in getClassNames()
102 if (!name.endsWith(".class")) // only use class files in getClassNames()
140 } else if (files[i].getName().endsWith(".class")) { in getClassFiles()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue141/
DConfigurableTimezoneTest.java31 assertTrue(output, output.endsWith("Z\n")); in testNoTimezone()
41 assertTrue(output, output.trim().endsWith("+1:00")); in testTimezone()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/
DFileTest.java44 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/skia/tests/
DStringTest.cpp62 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()

12345678910>>...14