Home
last modified time | relevance | path

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

12345678910>>...23

/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()
/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/skqp/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()
48 } else if (input.endsWith(".stage")) { in main()
66 if (name.endsWith(".spirv")) { in main()
82 } else if (name.endsWith(".glsl")) { in main()
98 } else if (name.endsWith(".metal")) { in main()
114 } else if (name.endsWith(".h")) { in main()
131 } else if (name.endsWith(".cpp")) { in main()
/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()
48 } else if (input.endsWith(".stage")) { in main()
66 if (name.endsWith(".spirv")) { in main()
82 } else if (name.endsWith(".glsl")) { in main()
98 } else if (name.endsWith(".metal")) { in main()
114 } else if (name.endsWith(".h")) { in main()
131 } else if (name.endsWith(".cpp")) { in main()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DLongPathTest.java97 return !name.endsWith(".txt"); in data()
129 if (name.endsWith(".tar")){ in testArchive()
131 } else if (name.endsWith(".jar") || name.endsWith(".zip")){ in testArchive()
133 } else if (name.endsWith(".cpio")){ in testArchive()
138 if (ent.endsWith("/")){ in testArchive()
142 } else if (name.endsWith(".ar")){ in testArchive()
147 if (!ent.endsWith("/")) {// not a directory in testArchive()
DLongSymLinkTest.java95 return !name.endsWith(".txt"); in data()
128 if (name.endsWith(".tar")){ in testArchive()
130 } else if (name.endsWith(".jar") || name.endsWith(".zip")){ in testArchive()
132 } else if (name.endsWith(".cpio")){ in testArchive()
137 if (ent.endsWith("/")){ in testArchive()
141 } else if (name.endsWith(".ar")){ in testArchive()
146 if (!ent.endsWith("/")) {// not a directory in testArchive()
/external/perfetto/ui/src/frontend/
Dlegacy_trace_viewer.ts21 fileName.endsWith('.json') || fileName.endsWith('.json.gz') ||
22 fileName.endsWith('.zip') || fileName.endsWith('.ctrace'));
39 if (file.name.endsWith('.gz') || file.name.endsWith('.zip')) {
/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/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.java172 || (hostName.endsWith(".."))) { in verifyHostName()
177 || (pattern.endsWith(".."))) { in verifyHostName()
191 if (!hostName.endsWith(".")) { in verifyHostName()
194 if (!pattern.endsWith(".")) { in verifyHostName()
239 if (!hostName.endsWith(suffix)) { in verifyHostName()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DOkHostnameVerifier.java174 || (hostName.endsWith(".."))) { in verifyHostName()
179 || (pattern.endsWith(".."))) { in verifyHostName()
193 if (!hostName.endsWith(".")) { in verifyHostName()
196 if (!pattern.endsWith(".")) { in verifyHostName()
241 if (!hostName.endsWith(suffix)) { in verifyHostName()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DOkHostnameVerifier.java172 || (hostName.endsWith(".."))) { in verifyHostName()
177 || (pattern.endsWith(".."))) { in verifyHostName()
191 if (!hostName.endsWith(".")) { in verifyHostName()
194 if (!pattern.endsWith(".")) { in verifyHostName()
239 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()
/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/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvocationProfile.java19 this.isDeclaredOnObject = methodSignatureString.endsWith("/equals(Ljava/lang/Object;)Z") in InvocationProfile()
20 || methodSignatureString.endsWith("/hashCode()I") in InvocationProfile()
21 || methodSignatureString.endsWith("/toString()Ljava/lang/String;"); in InvocationProfile()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DTransportFrameUtil.java58 if (endsWith(key, binaryHeaderSuffixBytes)) { in toHttp2Headers()
99 if (endsWith(key, binaryHeaderSuffixBytes)) { in toRawSerializedHeaders()
113 private static boolean endsWith(byte[] subject, byte[] suffix) { in endsWith() method in TransportFrameUtil
/external/vogar/src/vogar/
DRetrievedFilesFilter.java30 if (file.getName().endsWith(".xml") in accept()
32 || file.getName().endsWith(".json")) { in accept()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_resolution_typesolvers_JarTypeSolver.txt9 Line 70) entry.getName().endsWith(".class") ==> java.lang.String.endsWith(java.lang.String)
14 Line 88) entryPath.endsWith(".class") ==> java.lang.String.endsWith(java.lang.String)
/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/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMemoryMappedFile.java32 if (path.endsWith(TZ_DATA_1) || path.endsWith(TZ_DATA_2) || path.endsWith(TZ_DATA_3)) { in mmapRO()

12345678910>>...23