Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 3714) sorted by relevance

12345678910>>...149

/external/jdiff/src/jdiff/
DOptions.java39 if (opt.equals("-authorid")) return 2; in optionLength()
40 if (opt.equals("-versionid")) return 2; in optionLength()
41 if (opt.equals("-d")) return 2; in optionLength()
42 if (opt.equals("-classlist")) return 1; in optionLength()
43 if (opt.equals("-title")) return 2; in optionLength()
44 if (opt.equals("-docletid")) return 1; in optionLength()
45 if (opt.equals("-evident")) return 2; in optionLength()
46 if (opt.equals("-skippkg")) return 2; in optionLength()
47 if (opt.equals("-skipclass")) return 2; in optionLength()
48 if (opt.equals("-execdepth")) return 2; in optionLength()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimal.java416 (new Test("con001")).ok = (android.icu.math.BigDecimal.ZERO.toString()).equals("0"); in diagconstructors()
417 (new Test("con002")).ok = (android.icu.math.BigDecimal.ONE.toString()).equals("1"); in diagconstructors()
418 (new Test("con003")).ok = (android.icu.math.BigDecimal.TEN.toString()).equals("10"); in diagconstructors()
424 …")).ok = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0"); in diagconstructors()
425 …")).ok = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1"); in diagconstructors()
426 …).ok = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10"); in diagconstructors()
427 … = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("1000"))).toString()).equals("1000"); in diagconstructors()
428 … = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10.0"))).toString()).equals("10.0"); in diagconstructors()
429 … = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10.1"))).toString()).equals("10.1"); in diagconstructors()
430 … = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("-1.1"))).toString()).equals("-1.1"); in diagconstructors()
[all …]
/external/skia/tests/
DStringTest.cpp53 REPORTER_ASSERT(reporter, a.equals("hello", 5)); in DEF_TEST()
54 REPORTER_ASSERT(reporter, a.equals("hello")); in DEF_TEST()
55 REPORTER_ASSERT(reporter, !a.equals("help")); in DEF_TEST()
91 REPORTER_ASSERT(reporter, a.equals("hello world") && a == e && a == f); in DEF_TEST()
104 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
107 REPORTER_ASSERT(reporter, a.equals("-2147483647")); in DEF_TEST()
110 REPORTER_ASSERT(reporter, a.equals("-2147483648")); in DEF_TEST()
114 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
117 REPORTER_ASSERT(reporter, a.equals("2147483649")); in DEF_TEST()
120 REPORTER_ASSERT(reporter, a.equals("4294967295")); in DEF_TEST()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCompactArrayTest.java35 if (cba.equals(cba2)) { in TestByteArrayCoverage()
40 logln("equals null: " + cba.equals(null)); in TestByteArrayCoverage()
41 logln("equals self: " + cba.equals(cba)); in TestByteArrayCoverage()
42 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
43 logln("equals bogus: " + cba.equals(new Object())); in TestByteArrayCoverage()
57 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
58 logln("equals: " + cba.equals(cba4)); in TestByteArrayCoverage()
61 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
64 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
67 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
[all …]
DLocaleBuilderTest.java125 if (method.equals("L")) { in TestLocaleBuilder()
127 } else if (method.equals("S")) { in TestLocaleBuilder()
129 } else if (method.equals("R")) { in TestLocaleBuilder()
131 } else if (method.equals("V")) { in TestLocaleBuilder()
133 } else if (method.equals("K")) { in TestLocaleBuilder()
137 } else if (method.equals("A")) { in TestLocaleBuilder()
139 } else if (method.equals("E")) { in TestLocaleBuilder()
143 } else if (method.equals("P")) { in TestLocaleBuilder()
145 } else if (method.equals("U")) { in TestLocaleBuilder()
147 } else if (method.equals("B")) { in TestLocaleBuilder()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCompactArrayTest.java31 if (cba.equals(cba2)) { in TestByteArrayCoverage()
36 logln("equals null: " + cba.equals(null)); in TestByteArrayCoverage()
37 logln("equals self: " + cba.equals(cba)); in TestByteArrayCoverage()
38 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
39 logln("equals bogus: " + cba.equals(new Object())); in TestByteArrayCoverage()
53 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
54 logln("equals: " + cba.equals(cba4)); in TestByteArrayCoverage()
57 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
60 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage()
63 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage()
[all …]
DLocaleBuilderTest.java121 if (method.equals("L")) { in TestLocaleBuilder()
123 } else if (method.equals("S")) { in TestLocaleBuilder()
125 } else if (method.equals("R")) { in TestLocaleBuilder()
127 } else if (method.equals("V")) { in TestLocaleBuilder()
129 } else if (method.equals("K")) { in TestLocaleBuilder()
133 } else if (method.equals("A")) { in TestLocaleBuilder()
135 } else if (method.equals("E")) { in TestLocaleBuilder()
139 } else if (method.equals("P")) { in TestLocaleBuilder()
141 } else if (method.equals("U")) { in TestLocaleBuilder()
143 } else if (method.equals("B")) { in TestLocaleBuilder()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimal.java412 (new Test("con001")).ok = (com.ibm.icu.math.BigDecimal.ZERO.toString()).equals("0"); in diagconstructors()
413 (new Test("con002")).ok = (com.ibm.icu.math.BigDecimal.ONE.toString()).equals("1"); in diagconstructors()
414 (new Test("con003")).ok = (com.ibm.icu.math.BigDecimal.TEN.toString()).equals("10"); in diagconstructors()
420 …")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0"); in diagconstructors()
421 …")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1"); in diagconstructors()
422 …).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10"); in diagconstructors()
423 … = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1000"))).toString()).equals("1000"); in diagconstructors()
424 … = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10.0"))).toString()).equals("10.0"); in diagconstructors()
425 … = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10.1"))).toString()).equals("10.1"); in diagconstructors()
426 … = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("-1.1"))).toString()).equals("-1.1"); in diagconstructors()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DStylesheetPIHandler.java144 if (target.equals("xml-stylesheet")) in processingInstruction()
164 (token.equals(" ") || token.equals("\t") || token.equals("="))) in processingInstruction()
168 if (name.equals("type")) in processingInstruction()
172 (token.equals(" " ) || token.equals("\t") || token.equals("="))) in processingInstruction()
177 else if (name.equals("href")) in processingInstruction()
181 (token.equals(" " ) || token.equals("\t") || token.equals("="))) in processingInstruction()
195 while ( token.equals("=") && tokenizer.hasMoreTokens()) in processingInstruction()
228 else if (name.equals("title")) in processingInstruction()
232 (token.equals(" " ) || token.equals("\t") || token.equals("="))) in processingInstruction()
236 else if (name.equals("media")) in processingInstruction()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DUtils.java65 if (XMPConst.X_DEFAULT.equals(value)) in normalizeLangValue()
165 if (NS_DC.equals(schema)) in isInternalProperty()
167 if ("dc:format".equals(prop) || "dc:language".equals(prop)) in isInternalProperty()
172 else if (NS_XMP.equals(schema)) in isInternalProperty()
174 if ("xmp:BaseURL".equals(prop) || "xmp:CreatorTool".equals(prop) in isInternalProperty()
175 || "xmp:Format".equals(prop) || "xmp:Locale".equals(prop) in isInternalProperty()
176 || "xmp:MetadataDate".equals(prop) || "xmp:ModifyDate".equals(prop)) in isInternalProperty()
181 else if (NS_PDF.equals(schema)) in isInternalProperty()
183 if ("pdf:BaseURL".equals(prop) || "pdf:Creator".equals(prop) in isInternalProperty()
184 || "pdf:ModDate".equals(prop) || "pdf:PDFVersion".equals(prop) in isInternalProperty()
[all …]
DParseRDF.java216 if ("xmlns".equals(attribute.getPrefix()) || in rdf_NodeElementAttrs()
217 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_NodeElementAttrs()
245 if (!xmpParent.getName().equals(attribute.getNodeValue())) in rdf_NodeElementAttrs()
376 if ("xmlns".equals(attribute.getPrefix()) || in rdf_PropertyElement()
377 (attribute.getPrefix() == null && "xmlns".equals(attribute.getNodeName()))) in rdf_PropertyElement()
413 if (!(XML_LANG.equals(attribute.getNodeName()) && in rdf_PropertyElement()
414 !("ID".equals(attrLocal) && NS_RDF.equals(attrNS)))) in rdf_PropertyElement()
416 if ("datatype".equals(attrLocal) && NS_RDF.equals(attrNS)) in rdf_PropertyElement()
420 else if (!("parseType".equals(attrLocal) && NS_RDF.equals(attrNS))) in rdf_PropertyElement()
424 else if ("Literal".equals(attrValue)) in rdf_PropertyElement()
[all …]
/external/doclava/src/com/google/doclava/apicheck/
DApiFile.java78 if ("package".equals(token)) { in parseApi()
102 if (!"{".equals(token)) { in parsePackage()
107 if ("}".equals(token)) { in parsePackage()
131 if ("public".equals(token)) { in parseClass()
134 } else if ("protected".equals(token)) { in parseClass()
140 if ("static".equals(token)) { in parseClass()
144 if ("final".equals(token)) { in parseClass()
148 if ("abstract".equals(token)) { in parseClass()
152 if ("deprecated".equals(token)) { in parseClass()
156 if ("class".equals(token)) { in parseClass()
[all …]
DXmlApiFile.java73 if (qName.equals("package")) { in startElement()
77 } else if (qName.equals("class") || qName.equals("interface")) { in startElement()
86 boolean isPublic = "public".equals(visibility); in startElement()
87 boolean isProtected = "protected".equals(visibility); in startElement()
88 boolean isPrivate = "private".equals(visibility); in startElement()
91 boolean isInterface = qName.equals("interface"); in startElement()
93 boolean isOrdinaryClass = qName.equals("class"); in startElement()
111 mCurrentClass.setDeprecated("deprecated".equals(attributes.getValue("deprecated"))); in startElement()
114 if (superclass == null && !isInterface && !"java.lang.Object".equals(qualifiedName)) { in startElement()
124 } else if (qName.equals("method")) { in startElement()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/
DDefaultAssetFilter.java43 …return extension.equals("jpg") || extension.equals("jpeg") || extension.equals("png") || extension… in isImage()
47 …return extension.equals("json") || extension.equals("xml") || extension.equals("txt") || extension… in isText()
48 …|| extension.equals("fnt") || extension.equals("pack") || extension.equals("obj") || extension.equ… in isText()
49 || extension.equals("g3dj"); in isText()
53 return extension.equals("mp3") || extension.equals("ogg") || extension.equals("wav"); in isAudio()
/external/v8/test/mjsunit/regress/
Dregress-500831.js37 function equals(expected, found, name_opt) { function
60 equals();
62 equals();
64 equals(__v_6[4294967295]);
66 equals();
68 equals();
70 equals();
72 equals(__v_6[-1073741824]);
74 equals();
76 equals();
[all …]
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DSkeletonLoader.java85 if (qName.equals("position") || qName.equals("translate")) { in startElement()
87 } else if (qName.equals("rotation") || qName.equals("rotate")) { in startElement()
89 } else if (qName.equals("axis")) { in startElement()
90 assert elementStack.peek().equals("rotation") in startElement()
91 || elementStack.peek().equals("rotate"); in startElement()
93 } else if (qName.equals("scale")) { in startElement()
95 } else if (qName.equals("keyframe")) { in startElement()
96 assert elementStack.peek().equals("keyframes"); in startElement()
98 } else if (qName.equals("keyframes")) { in startElement()
99 assert elementStack.peek().equals("track"); in startElement()
[all …]
DSceneLoader.java104 if (!elementStack.peek().equals(topNode)){ in checkTopNode()
206 if(lightType.equals("point")) { in parseLight()
208 } else if(lightType.equals("directional") || lightType.equals("sun")) { in parseLight()
212 } else if(lightType.equals("spotLight") || lightType.equals("spot")) { in parseLight()
230 if (qName.equals("scene")){ in startElement()
236 if (version == null || (!version.equals("1.0.0") && !version.equals("1.0.1"))) in startElement()
240 }else if (qName.equals("nodes")){ in startElement()
250 }else if (qName.equals("externals")){ in startElement()
253 }else if (qName.equals("item")){ in startElement()
255 }else if (qName.equals("file")){ in startElement()
[all …]
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DProviderTest.java62 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testLoadInputStream()
63 !"className".equals(p.getProperty("serviceName.algName").trim()) || in testLoadInputStream()
64 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testLoadInputStream()
65 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testLoadInputStream()
66 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || in testLoadInputStream()
67 … !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || in testLoadInputStream()
68 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || in testLoadInputStream()
69 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || in testLoadInputStream()
70 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim())) { in testLoadInputStream()
129 if ("Type".equals(s.getType()) && in testGetServices()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java103 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testPutAllMap()
104 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testPutAllMap()
105 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testPutAllMap()
106 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim())) { in testPutAllMap()
130 if (key.equals("MessageDigest.SHA-1") && val.equals("SomeClassName")) { in testEntrySet()
133 if (key.equals("Alg.Alias.MessageDigest.SHA1") && val.equals("SHA-1")) { in testEntrySet()
136 if (key.equals("MessageDigest.abc") && val.equals("SomeClassName")) { in testEntrySet()
139 if (key.equals("Provider.id className") && val.equals(p.getClass().getName())) { in testEntrySet()
142 if (key.equals("Provider.id name") && val.equals("MyProvider")) { in testEntrySet()
145 if (key.equals("MessageDigest.SHA-256") && val.equals("aaa.bbb.ccc.ddd")) { in testEntrySet()
[all …]
/external/doclava/src/com/google/doclava/
DDoclava.java184 if (a[0].equals("-d")) { in start()
186 } else if (a[0].equals("-templatedir")) { in start()
188 } else if (a[0].equals("-hdf")) { in start()
190 } else if (a[0].equals("-knowntags")) { in start()
192 } else if (a[0].equals("-toroot")) { in start()
194 } else if (a[0].equals("-samplecode")) { in start()
196 } else if (a[0].equals("-samplegroup")) { in start()
198 } else if (a[0].equals("-samplesdir")) { in start()
201 } else if (a[0].equals("-htmldir")) { in start()
205 } else if (a[0].equals("-htmldir2")) { in start()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/font/plugins/
DBitmapFontLoader.java65 if (tokens[0].equals("info")){ in load()
68 if (tokens[i].equals("size")){ in load()
72 }else if (tokens[0].equals("common")){ in load()
76 if (token.equals("lineHeight")){ in load()
78 }else if (token.equals("base")){ in load()
80 }else if (token.equals("scaleW")){ in load()
82 }else if (token.equals("scaleH")){ in load()
84 }else if (token.equals("pages")){ in load()
90 }else if (tokens[0].equals("page")){ in load()
96 if (token.equals("id")){ in load()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCTarget.java91 if (scope.equals("lexer")) { in isValidActionScope()
94 if (scope.equals("header")) { in isValidActionScope()
97 if (scope.equals("includes")) { in isValidActionScope()
100 if (scope.equals("preincludes")) { in isValidActionScope()
103 if (scope.equals("overrides")) { in isValidActionScope()
108 if (scope.equals("parser")) { in isValidActionScope()
111 if (scope.equals("header")) { in isValidActionScope()
114 if (scope.equals("includes")) { in isValidActionScope()
117 if (scope.equals("preincludes")) { in isValidActionScope()
120 if (scope.equals("overrides")) { in isValidActionScope()
[all …]
/external/testng/src/test/java/test/
DGraphTest.java39 Assert.assertTrue("1".equals(l.get(i))); in sort()
41 Assert.assertTrue("2".equals(l.get(i)) || "2.1".equals(l.get(i)) || "2.2".equals(l.get(i))); in sort()
43 Assert.assertTrue("2".equals(l.get(i)) || "2.1".equals(l.get(i)) || "2.2".equals(l.get(i))); in sort()
45 Assert.assertTrue("2".equals(l.get(i)) || "2.1".equals(l.get(i)) || "2.2".equals(l.get(i))); in sort()
47 Assert.assertTrue("3".equals(l.get(i))); in sort()
112 Assert.assertTrue(predecessors.get(0).equals("1")); in findPredecessors()
119 Assert.assertTrue(predecessors.get(0).equals("1")); in findPredecessors()
120 Assert.assertTrue(predecessors.get(1).equals("2.1") in findPredecessors()
121 || predecessors.get(1).equals("2.2") in findPredecessors()
122 || predecessors.get(1).equals("2")); in findPredecessors()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestStringPrepProfiles.java110 if (profileName.equals("RFC4013_SASLPREP")) { in getOptionFromProfileName()
112 } else if (profileName.equals("RFC4011_MIB")) { in getOptionFromProfileName()
114 } else if (profileName.equals("RFC4505_TRACE")) { in getOptionFromProfileName()
116 } else if (profileName.equals("RFC4518_LDAP")) { in getOptionFromProfileName()
118 } else if (profileName.equals("RFC4518_LDAP_CI")) { in getOptionFromProfileName()
120 } else if (profileName.equals("RFC3920_RESOURCEPREP")) { in getOptionFromProfileName()
122 } else if (profileName.equals("RFC3920_NODEPREP")) { in getOptionFromProfileName()
124 } else if (profileName.equals("RFC3722_ISCSI")) { in getOptionFromProfileName()
126 } else if (profileName.equals("RFC3530_NFS4_CS_PREP")) { in getOptionFromProfileName()
128 } else if (profileName.equals("RFC3530_NFS4_CS_PREP_CI")) { in getOptionFromProfileName()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestStringPrepProfiles.java106 if (profileName.equals("RFC4013_SASLPREP")) { in getOptionFromProfileName()
108 } else if (profileName.equals("RFC4011_MIB")) { in getOptionFromProfileName()
110 } else if (profileName.equals("RFC4505_TRACE")) { in getOptionFromProfileName()
112 } else if (profileName.equals("RFC4518_LDAP")) { in getOptionFromProfileName()
114 } else if (profileName.equals("RFC4518_LDAP_CI")) { in getOptionFromProfileName()
116 } else if (profileName.equals("RFC3920_RESOURCEPREP")) { in getOptionFromProfileName()
118 } else if (profileName.equals("RFC3920_NODEPREP")) { in getOptionFromProfileName()
120 } else if (profileName.equals("RFC3722_ISCSI")) { in getOptionFromProfileName()
122 } else if (profileName.equals("RFC3530_NFS4_CS_PREP")) { in getOptionFromProfileName()
124 } else if (profileName.equals("RFC3530_NFS4_CS_PREP_CI")) { in getOptionFromProfileName()
[all …]

12345678910>>...149