/external/chromium_org/v8/test/mjsunit/harmony/ |
string-startswith.js | 30 assertEquals(1, String.prototype.startsWith.length); 33 assertTrue(testString.startsWith("")); 34 assertTrue(testString.startsWith("Hello")); 35 assertFalse(testString.startsWith("hello")); 36 assertFalse(testString.startsWith("Hello World!")); 37 assertFalse(testString.startsWith(null)); 38 assertFalse(testString.startsWith(undefined)); 40 assertTrue("null".startsWith(null)); 41 assertTrue("undefined".startsWith(undefined)); 44 assertTrue(georgianUnicodeString.startsWith(georgianUnicodeString)) [all...] |
/external/proguard/src/proguard/ |
GPL.java | 77 if (line.startsWith("at ")) 162 return packageName.startsWith("java") || 163 packageName.startsWith("sun.reflect") || 164 packageName.startsWith("proguard") || 165 packageName.startsWith("org.apache.tools.ant") || 166 packageName.startsWith("org.apache.tools.maven") || 167 packageName.startsWith("org.gradle") || 168 packageName.startsWith("org.codehaus.groovy") || 169 packageName.startsWith("org.eclipse") || 170 packageName.startsWith("org.netbeans") | [all...] |
ConfigurationParser.java | 149 if (ConfigurationConstants.AT_DIRECTIVE .startsWith(nextWord) || 150 ConfigurationConstants.INCLUDE_DIRECTIVE .startsWith(nextWord)) configuration.lastModified = parseIncludeArgument(configuration.lastModified); 151 else if (ConfigurationConstants.BASE_DIRECTORY_DIRECTIVE .startsWith(nextWord)) parseBaseDirectoryArgument(); 154 else if (ConfigurationConstants.INJARS_OPTION .startsWith(nextWord)) configuration.programJars = parseClassPathArgument(configuration.programJars, false); 155 else if (ConfigurationConstants.OUTJARS_OPTION .startsWith(nextWord)) configuration.programJars = parseClassPathArgument(configuration.programJars, true); 156 else if (ConfigurationConstants.LIBRARYJARS_OPTION .startsWith(nextWord)) configuration.libraryJars = parseClassPathArgument(configuration.libraryJars, false); 157 else if (ConfigurationConstants.RESOURCEJARS_OPTION .startsWith(nextWord)) throw new ParseException("The '-resourcejars' option is no longer supported. Please use the '-injars' option for all input"); 158 else if (ConfigurationConstants.SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) configuration.skipNonPublicLibraryClasses = parseNoArgument(true); 159 else if (ConfigurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) configuration.skipNonPublicLibraryClasses = parseNoArgument(false); 160 else if (ConfigurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASS_MEMBERS_OPTION.startsWith(nextWord)) configuration.skipNonPublicLibraryClassMembers = parseNoArgument(false) [all...] |
/external/objenesis/main/src/org/objenesis/strategy/ |
StdInstantiatorStrategy.java | 52 if(JVM_NAME.startsWith(SUN)) { 53 if(VM_VERSION.startsWith("1.3")) { 57 else if(JVM_NAME.startsWith(JROCKIT)) { 58 if(VM_VERSION.startsWith("1.3")) { 61 else if(VM_VERSION.startsWith("1.4")) { 65 if(!VENDOR_VERSION.startsWith("R")) { 68 if(VM_INFO == null || !VM_INFO.startsWith("R25.1") || !VM_INFO.startsWith("R25.2")) { 74 else if(JVM_NAME.startsWith(DALVIK)) { 77 else if(JVM_NAME.startsWith(GNU)) [all...] |
SerializingInstantiatorStrategy.java | 57 if(JVM_NAME.startsWith(SUN)) {
58 if(VM_VERSION.startsWith("1.3")) {
62 else if(JVM_NAME.startsWith(DALVIK)) {
65 else if(JVM_NAME.startsWith(GNU)) {
68 else if(JVM_NAME.startsWith(PERC)) {
|
/external/mockito/src/org/mockito/internal/exceptions/stacktrace/ |
DefaultStackTraceCleaner.java | 11 boolean fromOrgMockito = e.getClassName().startsWith("org.mockito."); 12 boolean isRunner = e.getClassName().startsWith("org.mockito.runners."); 13 boolean isInternalRunner = e.getClassName().startsWith("org.mockito.internal.runners.");
|
/frameworks/base/media/java/android/media/ |
MediaHTTPService.java | 36 if (path.startsWith("http://") 37 || path.startsWith("https://") 38 || path.startsWith("widevine://")) {
|
/external/hamcrest/library/src/org/hamcrest/text/ |
StringStartsWith.java | 17 return s.startsWith(substring); 25 public static Matcher<String> startsWith(String substring) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
DecoderUtil.java | 26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); 30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/");
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/util/ |
OS.java | 27 macOs = "Mac OS X".startsWith(osName); 28 linux = "Linux".startsWith(osName); 29 windows = "Windows".startsWith(osName);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
CvsDiffParser.java | 91 if (aLine.startsWith("RCS file")) { 98 while ((aLine = in.readLine()) != null && !aLine.startsWith("===")){ 99 if (aLine.startsWith("< plugin")||aLine.startsWith("< fragment")||aLine.startsWith("< feature")||aLine.startsWith("< base.plugin")){
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_NetworkInterface.java | 33 if (platform.startsWith("Windows")) { 47 if (platform.startsWith("Linux")) {
|
/external/apache-http/src/org/apache/http/cookie/ |
CookiePathComparator.java | 76 } else if (path1.startsWith(path2)) { 78 } else if (path2.startsWith(path1)) {
|
/libcore/luni/src/test/java/tests/java/lang/String/ |
Tests.java | 35 assertTrue("abcd".startsWith("abc")); 36 assertFalse("abcd".startsWith("aabc"));
|
/packages/apps/Browser/src/com/android/browser/ |
UrlUtils.java | 153 if (inUrl.startsWith("http://") || inUrl.startsWith("https://")) 155 if (inUrl.startsWith("http:") || 156 inUrl.startsWith("https:")) { 157 if (inUrl.startsWith("http:/") || inUrl.startsWith("https:/")) { 169 if (inUrl.startsWith("content:") 170 || inUrl.startsWith("browser:")) {
|
/packages/apps/Mms/tests/src/com/android/mms/util/ |
HttpUtilsTests.java | 44 curAcceptLang.startsWith(defaultLocale.getLanguage())); 56 curAcceptLang.startsWith("he"));
|
/art/test/202-thread-oome/src/ |
Main.java | 24 if (!expected.getMessage().startsWith("pthread_create (3GB stack) failed: ")) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PEMUtil.java | 63 if (line.startsWith(_header1) || line.startsWith(_header2)) 71 if (line.startsWith(_footer1) || line.startsWith(_footer2))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PEMUtil.java | 65 if (line.startsWith(_header1) || line.startsWith(_header2)) 73 if (line.startsWith(_footer1) || line.startsWith(_footer2))
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
BaseUrlValidateFunction.java | 64 if (maybeScheme.startsWith("http://") || maybeScheme.startsWith("https://") 65 || maybeScheme.startsWith("ftp://") || maybeScheme.startsWith("mailto:")) {
|
/external/javasqlite/src/main/java/SQLite/ |
JDBCDriver.java | 29 if (jvers == null || jvers.startsWith("1.0")) { 31 } else if (jvers.startsWith("1.1")) { 33 } else if (jvers.startsWith("1.2") || jvers.startsWith("1.3")) { 35 } else if (jvers.startsWith("1.4")) { 37 } else if (jvers.startsWith("1.5")) { 64 (shcache.startsWith("y") || shcache.startsWith("Y"))) { 86 return url.startsWith("sqlite:/") || 87 url.startsWith("jdbc:sqlite:/") [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLConstructionSite.cpp | 459 || publicId.startsWith("+//Silmaril//dtd html Pro v0r11 19970101//", false) 460 || publicId.startsWith("-//AdvaSoft Ltd//DTD HTML 3.0 asWedit + extensions//", false) 461 || publicId.startsWith("-//AS//DTD HTML 3.0 asWedit + extensions//", false) 462 || publicId.startsWith("-//IETF//DTD HTML 2.0 Level 1//", false) 463 || publicId.startsWith("-//IETF//DTD HTML 2.0 Level 2//", false) 464 || publicId.startsWith("-//IETF//DTD HTML 2.0 Strict Level 1//", false) 465 || publicId.startsWith("-//IETF//DTD HTML 2.0 Strict Level 2//", false) 466 || publicId.startsWith("-//IETF//DTD HTML 2.0 Strict//", false) 467 || publicId.startsWith("-//IETF//DTD HTML 2.0//", false) 468 || publicId.startsWith("-//IETF//DTD HTML 2.1E//", false [all...] |
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 56 if (inUrl.startsWith("about:")) return inUrl; 58 if (inUrl.startsWith("data:")) return inUrl; 60 if (inUrl.startsWith("file:")) return inUrl; 62 if (inUrl.startsWith("javascript:")) return inUrl; 176 return (null != url) && url.startsWith(ASSET_BASE); 184 return (null != url) && url.startsWith(RESOURCE_BASE); 194 return (null != url) && url.startsWith(PROXY_BASE); 201 return (null != url) && (url.startsWith(FILE_BASE) && 202 !url.startsWith(ASSET_BASE) && 203 !url.startsWith(PROXY_BASE)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 74 if (bss.isEmpty() || bss.startsWith("FAIL")) 86 if ((*it).startsWith("bssid=")) 88 else if ((*it).startsWith("freq=")) 90 else if ((*it).startsWith("level=")) 92 else if ((*it).startsWith("flags=")) 94 else if ((*it).startsWith("ssid="))
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
Filter.java | 83 if (s.startsWith(prefix)) { 97 if (s.startsWith(prefix)) {
|