/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
D | HeapCategorization.java | 179 if (isOwnedByClassMatching(rooted, str -> str.startsWith("android.icu."))) { in initializeFromRooted() 195 if (isOwnedByClassMatching(rooted, str -> str.startsWith("com.android.org.conscrypt."))) { in initializeFromRooted() 199 … if (isOwnedByClassMatching(rooted, str -> str.startsWith("com.android.org.bouncycastle."))) { in initializeFromRooted() 203 if (isOwnedByClassMatching(rooted, str -> str.startsWith("android.security.keystore."))) { in initializeFromRooted() 271 return className.startsWith("android.util.") in isAndroidUtilClass() 272 || className.startsWith("com.android.internal.util."); in isAndroidUtilClass() 276 return (className.startsWith("android.") in isAndroidFrameworkClass() 277 && !className.startsWith("android.icu.") in isAndroidFrameworkClass() 278 && !className.startsWith("android.util.")) in isAndroidFrameworkClass() 280 (className.startsWith("com.android.internal.") in isAndroidFrameworkClass() [all …]
|
/libcore/luni/src/test/java/tests/java/lang/String/ |
D | Tests.java | 35 assertTrue("abcd".startsWith("abc")); in test_StartsWith() 36 assertFalse("abcd".startsWith("aabc")); in test_StartsWith()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | StandardRepositories.java | 103 boolean result = relPath.startsWith("java/util/concurrent/"); in isJsr166() 106 if (!result && relPath.startsWith(ju)) { in isJsr166() 152 } else if (relPath.startsWith("java/sql/") || relPath.startsWith("javax/sql/")) { in referenceUpstream()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | RFC822Name.java | 92 if (domain.startsWith(".")) { in parseName() 200 } else if (inName.startsWith(".")) { in constrains() 214 } else if (thisName.startsWith(".")) { in constrains()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZoneId.java | 399 if (zoneId.length() <= 1 || zoneId.startsWith("+") || zoneId.startsWith("-")) { in of() 401 } else if (zoneId.startsWith("UTC") || zoneId.startsWith("GMT")) { in of() 403 } else if (zoneId.startsWith("UT")) { in of()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogRecord.java | 583 … if (!cname.startsWith("java.lang.reflect.") && !cname.startsWith("sun.reflect.")) { in inferCaller() 599 cname.startsWith("java.util.logging.LoggingProxyImpl") || in isLoggerImplFrame() 600 cname.startsWith("sun.util.logging.")); in isLoggerImplFrame()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | DOMTestCase.java | 44 if (docURI.startsWith("staff") in preload() 156 if (actualPath.startsWith("//")) { in assertURIEquals() 187 .startsWith("/") in assertURIEquals() 188 || actualPath.startsWith("file:/")); in assertURIEquals()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 240 boolean startsWith(Path other); in startsWith() method 258 boolean startsWith(String other); in startsWith() method
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPath.java | 42 public final boolean startsWith(String other) { in startsWith() method in AbstractPath 43 return startsWith(getFileSystem().getPath(other)); in startsWith()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BaseDexClassLoaderTest.java | 131 assertTrue(contexts[1].startsWith("PCL[")); in testReporting() 159 assertTrue(contexts[1].startsWith("PCL[")); in testNoReportingAfterResetting() 187 assertTrue(contexts[1].startsWith("PCL[")); in testReporting_multipleJars() 196 assertTrue(contexts2[1].startsWith("PCL[")); in testReporting_multipleJars() 229 assertTrue(contexts[1].startsWith("PCL[")); in testReporting_withSharedLibraries() 260 assertTrue(contexts[1].startsWith("PCL[")); in testReporting_multipleJars_withSharedLibraries() 265 assertTrue(contexts[1].startsWith("PCL[")); in testReporting_multipleJars_withSharedLibraries() 276 assertTrue(contexts2[1].startsWith("PCL[")) ; in testReporting_multipleJars_withSharedLibraries()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | SAXParserFactoryImpl.java | 47 if (!name.startsWith("http://xml.org/sax/features/")) { in getFeature() 92 if (!name.startsWith("http://xml.org/sax/features/")) { in setFeature()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 155 assertTrue(Paths.get("t1/t2").startsWith("t1")); in test_startsWith$String() 156 assertTrue(fakePath.toAbsolutePath().startsWith("/")); in test_startsWith$String() 157 assertTrue(Paths.get("t1/t2/t3").startsWith("t1/t2")); in test_startsWith$String() 158 assertFalse(Paths.get("t1/t2").startsWith("t2")); in test_startsWith$String() 163 filesSetup.getTestPath().startsWith((String) null); in test_startsWith$String_NPE() 168 assertTrue(Paths.get("t1/t2").startsWith(Paths.get("t1"))); in test_startsWith$Path() 169 assertTrue(fakePath.toAbsolutePath().startsWith(Paths.get("/"))); in test_startsWith$Path() 170 assertTrue(Paths.get("t1/t2/t3").startsWith(Paths.get("t1/t2"))); in test_startsWith$Path() 171 assertFalse(Paths.get("t1/t2").startsWith(Paths.get("t2"))); in test_startsWith$Path() 176 filesSetup.getTestPath().startsWith((Path) null); in test_startsWith$Path_NPE()
|
/libcore/json/src/main/java/org/json/ |
D | JSONTokener.java | 84 if (in != null && in.startsWith("\ufeff")) { in JSONTokener() 305 if (number.startsWith("0x") || number.startsWith("0X")) { in readLiteral() 308 } else if (number.startsWith("0") && number.length() > 1) { in readLiteral()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 41 if (files[i].startsWith("hyts_resources")) 44 if (files[i].startsWith("hyts_") || files[i].startsWith("hyjar_"))
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Integer.java | 1207 if (nm.startsWith("0x", index) || nm.startsWith("0X", index)) { 1211 else if (nm.startsWith("#", index)) { 1215 else if (nm.startsWith("0", index) && nm.length() > 1 + index) { 1220 if (nm.startsWith("-", index) || nm.startsWith("+", index))
|
D | Long.java | 908 if (nm.startsWith("0x", index) || nm.startsWith("0X", index)) { in decode() 912 else if (nm.startsWith("#", index)) { in decode() 916 else if (nm.startsWith("0", index) && nm.length() > 1 + index) { in decode() 921 if (nm.startsWith("-", index) || nm.startsWith("+", index)) in decode()
|
/libcore/support/src/test/java/tests/util/ |
D | ClassLoaderBuilder.java | 86 if (className.startsWith(prefix)) { in build() 93 if (className.startsWith(prefix)) { in build()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/ |
D | SerializedLambdaTest.java | 188 return s.startsWith("a"); in startsWithA() 210 return s.startsWith("b"); in testUnboundMR() 227 return s.startsWith("b"); in testBoundMRNotSerReceiver() 248 return s.startsWith("b"); in startsWithB() 269 return s.startsWith("b"); in startsWithB()
|
/libcore/ojluni/src/main/java/java/net/ |
D | CookieManager.java | 416 return normalizePath(uri.getPath()).startsWith(normalizePath(cookie.getPath())); in pathMatches() 483 if (c1Path.startsWith(c2Path)) in compare() 485 else if (c2Path.startsWith(c1Path)) in compare()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLServerSocketTest.java | 46 assertTrue(socket.toString().startsWith("SSLServerSocket[")); in testToString()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestFractionPrinterParser.java | 194 assertEquals(buf.toString(), (result.startsWith(".") ? result.substring(1) : result)); in test_print_nanos_noDecimalPoint() 236 assertEquals(buf.toString(), (result.startsWith(".") ? result.substring(1) : result)); in test_print_seconds_noDecimalPoint() 253 ParsePosition pos = new ParsePosition((result.startsWith(".") ? 1 : 0)); in test_reverseParse_noDecimalPoint()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | InternalNames.java | 29 if (internalName.startsWith("[")) { in getClass()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | Handler.java | 187 if (spec.startsWith("/")) { in parseContextSpec() 197 if (!ctxFile.endsWith("/") && (!spec.startsWith("/"))){ in parseContextSpec()
|
/libcore/tools/crypto/src/java/libcore/java/security/ |
D | ProviderOverlap.java | 53 if (key.startsWith("Alg.Alias.")) { in getAlgorithms()
|
/libcore/luni/src/main/java/libcore/net/ |
D | InetAddressUtils.java | 101 if (address.startsWith("[") && address.endsWith("]") && address.indexOf(':') != -1) { in parseNumericAddressNoThrowStripOptionalBrackets()
|