Home
last modified time | relevance | path

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

12345678910>>...22

/external/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/proguard/src/proguard/
DGPL.java77 if (line.startsWith("at ")) in unknownPackageNames()
162 return packageName.startsWith("java") || in isKnown()
163 packageName.startsWith("sun.reflect") || in isKnown()
164 packageName.startsWith("proguard") || in isKnown()
165 packageName.startsWith("org.apache.tools.ant") || in isKnown()
166 packageName.startsWith("org.apache.tools.maven") || in isKnown()
167 packageName.startsWith("org.gradle") || in isKnown()
168 packageName.startsWith("org.codehaus.groovy") || in isKnown()
169 packageName.startsWith("org.eclipse") || in isKnown()
170 packageName.startsWith("org.netbeans") || in isKnown()
[all …]
DConfigurationParser.java149 … (ConfigurationConstants.AT_DIRECTIVE .startsWith(nextWord) || in parse()
150 …nfigurationConstants.INCLUDE_DIRECTIVE .startsWith(nextWord)) confi… in parse()
151 …nfigurationConstants.BASE_DIRECTORY_DIRECTIVE .startsWith(nextWord)) parse… in parse()
154 …nfigurationConstants.INJARS_OPTION .startsWith(nextWord)) confi… in parse()
155 …nfigurationConstants.OUTJARS_OPTION .startsWith(nextWord)) confi… in parse()
156 …nfigurationConstants.LIBRARYJARS_OPTION .startsWith(nextWord)) confi… in parse()
157 …nfigurationConstants.RESOURCEJARS_OPTION .startsWith(nextWord)) throw… in parse()
158 …nfigurationConstants.SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) confi… in parse()
159 …nfigurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASSES_OPTION .startsWith(nextWord)) confi… in parse()
160 …nfigurationConstants.DONT_SKIP_NON_PUBLIC_LIBRARY_CLASS_MEMBERS_OPTION.startsWith(nextWord)) confi… in parse()
[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/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.cpp75 if (bss.isEmpty() || bss.startsWith("FAIL")) in updateResults()
87 if ((*it).startsWith("bssid=")) in updateResults()
89 else if ((*it).startsWith("freq=")) in updateResults()
91 else if ((*it).startsWith("level=")) in updateResults()
93 else if ((*it).startsWith("flags=")) in updateResults()
95 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/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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPEMUtil.java58 if (line.startsWith(_header1) || line.startsWith(_header2)) in readPEMObject()
66 if (line.startsWith(_footer1) || line.startsWith(_footer2)) in readPEMObject()
/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/jetty/src/java/org/eclipse/jetty/util/resource/
DResource.java107 if( url_string.startsWith( "file:")) in newResource()
120 else if( url_string.startsWith( "jar:file:")) in newResource()
124 else if( url_string.startsWith( "jar:")) in newResource()
162 if(!resource.startsWith("ftp:") && in newResource()
163 !resource.startsWith("file:") && in newResource()
164 !resource.startsWith("jar:")) in newResource()
169 if (resource.startsWith("./")) in newResource()
226 if (url == null && resource.startsWith("/")) in newSystemResource()
243 if (url==null && resource.startsWith("/")) in newSystemResource()
251 if (url==null && resource.startsWith("/")) in newSystemResource()
/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/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/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTestUtil.java122 if (variant.startsWith("EURO") || variant.startsWith("PREEURO") in isProblematicIBMLocale()
123 || variant.startsWith("Cyrl") || variant.startsWith("Latn")) { in isProblematicIBMLocale()
/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()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java448 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { in readRequest()
451 if (lowercaseHeader.startsWith("transfer-encoding:") in readRequest()
455 if (lowercaseHeader.startsWith("expect:") in readRequest()
489 if (request.startsWith("OPTIONS ") in readRequest()
490 || request.startsWith("GET ") in readRequest()
491 || request.startsWith("HEAD ") in readRequest()
492 || request.startsWith("TRACE ") in readRequest()
493 || request.startsWith("CONNECT ")) { in readRequest()
497 } else if (!request.startsWith("POST ") in readRequest()
498 && !request.startsWith("PUT ") in readRequest()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestExtended.java157 if (testString.startsWith("<word>", charIdx-1)) { in TestExtended()
162 if (testString.startsWith("<char>", charIdx-1)) { in TestExtended()
167 if (testString.startsWith("<line>", charIdx-1)) { in TestExtended()
172 if (testString.startsWith("<sent>", charIdx-1)) { in TestExtended()
177 if (testString.startsWith("<title>", charIdx-1)) { in TestExtended()
182 if (testString.startsWith("<locale ", charIdx-1)) { in TestExtended()
194 if (testString.startsWith("<data>", charIdx-1)) { in TestExtended()
219 if (testString.startsWith("</data>", charIdx-1)) { in TestExtended()
235 if (testString.startsWith("\\N{", charIdx-1)) { in TestExtended()
264 if (testString.startsWith("<>", charIdx-1)) { in TestExtended()

12345678910>>...22