Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/external/chromium_org/v8/test/mjsunit/harmony/
Dstring-startswith.js30 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/objenesis/main/src/org/objenesis/strategy/
DStdInstantiatorStrategy.java52 if(JVM_NAME.startsWith(SUN)) { in newInstantiatorOf()
53 if(VM_VERSION.startsWith("1.3")) { in newInstantiatorOf()
57 else if(JVM_NAME.startsWith(JROCKIT)) { in newInstantiatorOf()
58 if(VM_VERSION.startsWith("1.3")) { in newInstantiatorOf()
61 else if(VM_VERSION.startsWith("1.4")) { in newInstantiatorOf()
65 if(!VENDOR_VERSION.startsWith("R")) { in newInstantiatorOf()
68 if(VM_INFO == null || !VM_INFO.startsWith("R25.1") || !VM_INFO.startsWith("R25.2")) { in newInstantiatorOf()
74 else if(JVM_NAME.startsWith(DALVIK)) { in newInstantiatorOf()
77 else if(JVM_NAME.startsWith(GNU)) { in newInstantiatorOf()
80 else if(JVM_NAME.startsWith(PERC)) { in newInstantiatorOf()
DSerializingInstantiatorStrategy.java57 if(JVM_NAME.startsWith(SUN)) { in newInstantiatorOf()
58 if(VM_VERSION.startsWith("1.3")) { in newInstantiatorOf()
62 else if(JVM_NAME.startsWith(DALVIK)) { in newInstantiatorOf()
65 else if(JVM_NAME.startsWith(GNU)) { in newInstantiatorOf()
68 else if(JVM_NAME.startsWith(PERC)) { in newInstantiatorOf()
/external/proguard/src/proguard/
DGPL.java76 if (line.startsWith("at ")) in unknownPackageNames()
161 return packageName.startsWith("java") || in isKnown()
162 packageName.startsWith("sun.reflect") || in isKnown()
163 packageName.startsWith("proguard") || in isKnown()
164 packageName.startsWith("org.apache.tools.ant") || in isKnown()
165 packageName.startsWith("org.apache.tools.maven") || in isKnown()
166 packageName.startsWith("org.eclipse") || in isKnown()
167 packageName.startsWith("org.netbeans") || in isKnown()
168 packageName.startsWith("com.sun.kvem") || in isKnown()
169 packageName.startsWith("net.certiv.proguarddt") || in isKnown()
[all …]
DConfigurationParser.java104 … (ConfigurationConstants.AT_DIRECTIVE .startsWith(nextWord) || in parse()
105 …nfigurationConstants.INCLUDE_DIRECTIVE .startsWith(nextWord)) confi… in parse()
106 …nfigurationConstants.BASE_DIRECTORY_DIRECTIVE .startsWith(nextWord)) parse… in parse()
109 …nfigurationConstants.INJARS_OPTION .startsWith(nextWord)) confi… in parse()
110 …nfigurationConstants.OUTJARS_OPTION .startsWith(nextWord)) confi… in parse()
111 …nfigurationConstants.LIBRARYJARS_OPTION .startsWith(nextWord)) confi… in parse()
112 …nfigurationConstants.RESOURCEJARS_OPTION .startsWith(nextWord)) throw… in parse()
113 …nfigurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) confi… in parse()
114 …nfigurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASS_MEMBERS_OPTION.startsWith(nextWord)) confi… in parse()
115 …nfigurationConstants.TARGET_OPTION .startsWith(nextWord)) confi… in parse()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLConstructionSite.cpp440 || publicId.startsWith("+//Silmaril//dtd html Pro v0r11 19970101//", false) in setCompatibilityModeFromDoctype()
441 || publicId.startsWith("-//AdvaSoft Ltd//DTD HTML 3.0 asWedit + extensions//", false) in setCompatibilityModeFromDoctype()
442 || publicId.startsWith("-//AS//DTD HTML 3.0 asWedit + extensions//", false) in setCompatibilityModeFromDoctype()
443 || publicId.startsWith("-//IETF//DTD HTML 2.0 Level 1//", false) in setCompatibilityModeFromDoctype()
444 || publicId.startsWith("-//IETF//DTD HTML 2.0 Level 2//", false) in setCompatibilityModeFromDoctype()
445 || publicId.startsWith("-//IETF//DTD HTML 2.0 Strict Level 1//", false) in setCompatibilityModeFromDoctype()
446 || publicId.startsWith("-//IETF//DTD HTML 2.0 Strict Level 2//", false) in setCompatibilityModeFromDoctype()
447 || publicId.startsWith("-//IETF//DTD HTML 2.0 Strict//", false) in setCompatibilityModeFromDoctype()
448 || publicId.startsWith("-//IETF//DTD HTML 2.0//", false) in setCompatibilityModeFromDoctype()
449 || publicId.startsWith("-//IETF//DTD HTML 2.1E//", false) in setCompatibilityModeFromDoctype()
[all …]
/external/javasqlite/src/main/java/SQLite/
DJDBCDriver.java29 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:/") || in acceptsURL()
87 url.startsWith("jdbc:sqlite:/"); in acceptsURL()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLStringDefault.java285 public boolean startsWith(String prefix, int toffset) in startsWith() method in XMLStringDefault
287 return m_str.startsWith(prefix, toffset); in startsWith()
309 public boolean startsWith(XMLString prefix, int toffset) in startsWith() method in XMLStringDefault
311 return m_str.startsWith(prefix.toString(), toffset); in startsWith()
329 public boolean startsWith(String prefix) in startsWith() method in XMLStringDefault
331 return m_str.startsWith(prefix); in startsWith()
349 public boolean startsWith(XMLString prefix) in startsWith() method in XMLStringDefault
351 return m_str.startsWith(prefix.toString()); in startsWith()
DXMLString.java240 public abstract boolean startsWith(String prefix, int toffset); in startsWith() method
261 public abstract boolean startsWith(XMLString prefix, int toffset); in startsWith() method
278 public abstract boolean startsWith(String prefix); in startsWith() method
295 public abstract boolean startsWith(XMLString prefix); in startsWith() method
DSystemIDResolver.java79 if (absolutePath.startsWith(File.separator)) in getAbsoluteURIFromRelative()
222 if (systemId.startsWith("file:")) in getAbsoluteURI()
228 if (str != null && str.startsWith("/")) in getAbsoluteURI()
230 if (str.startsWith("///") || !str.startsWith("//")) in getAbsoluteURI()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
DCvsDiffParser.java91 if (aLine.startsWith("RCS file")) { in parseMapDiffFile()
98 while ((aLine = in.readLine()) != null && !aLine.startsWith("===")){ in parseMapDiffFile()
99 …if (aLine.startsWith("< plugin")||aLine.startsWith("< fragment")||aLine.startsWith("< feature")||a… in parseMapDiffFile()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dscanresults.cpp74 if (bss.isEmpty() || bss.startsWith("FAIL")) in updateResults()
86 if ((*it).startsWith("bssid=")) in updateResults()
88 else if ((*it).startsWith("freq=")) in updateResults()
90 else if ((*it).startsWith("level=")) in updateResults()
92 else if ((*it).startsWith("flags=")) in updateResults()
94 else if ((*it).startsWith("ssid=")) in updateResults()
Dpeers.cpp415 if ((*it).startsWith("wpsDeviceName=")) in add_station()
417 else if ((*it).startsWith("p2p_device_name=")) in add_station()
528 if (str.startsWith("dev_name='")) in add_p2p_group_client()
530 else if (str.startsWith("config_methods=")) in add_p2p_group_client()
533 else if (str.startsWith("dev=")) in add_p2p_group_client()
535 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client()
586 if (bss.isEmpty() || bss.startsWith("FAIL")) in add_bss()
599 if ((*it).startsWith("bssid=")) in add_bss()
601 else if ((*it).startsWith("id=")) in add_bss()
603 else if ((*it).startsWith("flags=")) in add_bss()
[all …]
/external/lzma/Java/SevenZip/
DLzmaAlone.java34 if (s.startsWith("d")) in ParseSwitch()
39 else if (s.startsWith("fb")) in ParseSwitch()
44 else if (s.startsWith("a")) in ParseSwitch()
46 else if (s.startsWith("lc")) in ParseSwitch()
48 else if (s.startsWith("lp")) in ParseSwitch()
50 else if (s.startsWith("pb")) in ParseSwitch()
52 else if (s.startsWith("eos")) in ParseSwitch()
54 else if (s.startsWith("mf")) in ParseSwitch()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java49 pgpCFB = (idx > 0 && name.startsWith("PGP", idx)); in BufferedBlockCipher()
57 … (name.startsWith("CFB", idx) || name.startsWith("OFB", idx) || name.startsWith("OpenPGP", idx) ||… in BufferedBlockCipher()
/external/javassist/src/main/javassist/
DLoader.java399 if (name.startsWith("java.") in loadClassByDelegation()
400 || name.startsWith("javax.") in loadClassByDelegation()
401 || name.startsWith("sun.") in loadClassByDelegation()
402 || name.startsWith("com.sun.") in loadClassByDelegation()
403 || name.startsWith("org.w3c.") in loadClassByDelegation()
404 || name.startsWith("org.xml.") in loadClassByDelegation()
417 if (name.startsWith((String)notDefinedPackages.elementAt(i))) in notDelegated()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
DBaseUrlValidateFunction.java64 if (maybeScheme.startsWith("http://") || maybeScheme.startsWith("https://") in isValidUri()
65 || maybeScheme.startsWith("ftp://") || maybeScheme.startsWith("mailto:")) { in isValidUri()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPEMUtil.java63 if (line.startsWith(_header1) || line.startsWith(_header2)) in readPEMObject()
71 if (line.startsWith(_footer1) || line.startsWith(_footer2)) in readPEMObject()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
DClientServerHello.java74 if (server_line.startsWith("SSH-")) in ClientServerHello()
78 if (server_line.startsWith("SSH-") == false) in ClientServerHello()
82 if (server_line.startsWith("SSH-1.99-")) in ClientServerHello()
84 else if (server_line.startsWith("SSH-2.0-")) in ClientServerHello()
/external/emma/ant/ant14/com/vladium/emma/instr/
DFilterCfg.java51 if (spec.startsWith (IInclExclFilter.INCLUSION_PREFIX_STRING) || in setValue()
52 spec.startsWith (IInclExclFilter.EXCLUSION_PREFIX_STRING)) in setValue()
79 if (spec.startsWith (IInclExclFilter.INCLUSION_PREFIX_STRING)) in setIncludes()
85 if (spec.startsWith (IInclExclFilter.EXCLUSION_PREFIX_STRING)) in setIncludes()
101 if (spec.startsWith (IInclExclFilter.EXCLUSION_PREFIX_STRING)) in setExcludes()
107 if (spec.startsWith (IInclExclFilter.INCLUSION_PREFIX_STRING)) in setExcludes()
/external/mockito/src/org/mockito/internal/exceptions/stacktrace/
DDefaultStackTraceCleaner.java11 boolean fromOrgMockito = e.getClassName().startsWith("org.mockito."); in isOut()
12 boolean isRunner = e.getClassName().startsWith("org.mockito.runners."); in isOut()
13 boolean isInternalRunner = e.getClassName().startsWith("org.mockito.internal.runners."); in isOut()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPEMUtil.java65 if (line.startsWith(_header1) || line.startsWith(_header2)) in readPEMObject()
73 if (line.startsWith(_footer1) || line.startsWith(_footer2)) in readPEMObject()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DSystemIDResolver.java86 if (absolutePath.startsWith(File.separator)) in getAbsoluteURIFromRelative()
229 if (systemId.startsWith("file:")) in getAbsoluteURI()
235 if (str != null && str.startsWith("/")) in getAbsoluteURI()
237 if (str.startsWith("///") || !str.startsWith("//")) in getAbsoluteURI()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DSecurityOrigin.cpp347 if (!urlString.startsWith("feed", false)) in isFeedWithNestedProtocolInHTTPFamily()
350 return urlString.startsWith("feed://", false) in isFeedWithNestedProtocolInHTTPFamily()
351 || urlString.startsWith("feed:http:", false) || urlString.startsWith("feed:https:", false) in isFeedWithNestedProtocolInHTTPFamily()
352 || urlString.startsWith("feeds:http:", false) || urlString.startsWith("feeds:https:", false) in isFeedWithNestedProtocolInHTTPFamily()
353 …|| urlString.startsWith("feedsearch:http:", false) || urlString.startsWith("feedsearch:https:", fa… in isFeedWithNestedProtocolInHTTPFamily()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DRobolectricClassLoader.java54 …boolean shouldComeFromThisClassLoader = !(name.startsWith("org.junit") || name.startsWith("org.ham… in loadClass()
55 …|| name.startsWith("org.specs2") || name.startsWith("scala.")); //org.specs2 and scala. allows for… in loadClass()

12345678910>>...20