Home
last modified time | relevance | path

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

12345678910>>...81

/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/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java99 !bi.equals(bi2)); in test_ConstructorILjava_util_Random()
100 assertTrue("Not zero", new BigInteger(0, rand).equals(BigInteger.ZERO)); in test_ConstructorILjava_util_Random()
135 assertTrue("Incorrect value for pos number", bi.equals(BigInteger.ZERO in test_Constructor$B()
139 assertTrue("Incorrect value for neg number", bi.equals(minusTwo)); in test_Constructor$B()
149 assertTrue("Incorrect value for pos number", bi.equals(BigInteger.ZERO in test_ConstructorI$B()
152 assertTrue("Incorrect value for neg number", bi.equals(BigInteger.ZERO in test_ConstructorI$B()
156 assertTrue("Incorrect value for zero", bi.equals(zero)); in test_ConstructorI$B()
242 assertTrue("0=0", zero.equals(BigInteger.valueOf(0))); in test_equalsLjava_lang_Object()
243 assertTrue("-123=-123", BigInteger.valueOf(-123).equals( in test_equalsLjava_lang_Object()
245 assertTrue("0=1", !zero.equals(one)); in test_equalsLjava_lang_Object()
[all …]
DBigDecimalTest.java41 .unscaledValue().equals(value) in test_ConstructorLjava_math_BigInteger()
51 .unscaledValue().equals(value2) in test_ConstructorLjava_math_BigIntegerI()
54 .toString().equals("123345.60000")); in test_ConstructorLjava_math_BigIntegerI()
64 big.toString().equals("1230000")); in test_ConstructorD()
96 .toString().equals("345.23499600293850") in test_ConstructorLjava_lang_String()
100 .toString().equals("-12345") in test_ConstructorLjava_lang_String()
104 .toString().equals("123") in test_ConstructorLjava_lang_String()
174 .equals("1234")); in test_abs()
178 .toString().equals("23.45")); in test_abs()
189 .toString().equals("3872691") in test_addLjava_math_BigDecimal()
[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.java75 if ("package".equals(token)) { in parseApi()
99 if (!"{".equals(token)) { in parsePackage()
104 if ("}".equals(token)) { in parsePackage()
128 if ("public".equals(token)) { in parseClass()
131 } else if ("protected".equals(token)) { in parseClass()
137 if ("static".equals(token)) { in parseClass()
141 if ("final".equals(token)) { in parseClass()
145 if ("abstract".equals(token)) { in parseClass()
149 if ("deprecated".equals(token)) { in parseClass()
153 if ("class".equals(token)) { in parseClass()
[all …]
DXmlApiFile.java71 if (qName.equals("package")) { in startElement()
75 } else if (qName.equals("class") || qName.equals("interface")) { in startElement()
84 boolean isPublic = "public".equals(visibility); in startElement()
85 boolean isProtected = "protected".equals(visibility); in startElement()
86 boolean isPrivate = "private".equals(visibility); in startElement()
89 boolean isInterface = qName.equals("interface"); in startElement()
91 boolean isOrdinaryClass = qName.equals("class"); in startElement()
109 mCurrentClass.setDeprecated("deprecated".equals(attributes.getValue("deprecated"))); in startElement()
112 if (superclass == null && !isInterface && !"java.lang.Object".equals(qualifiedName)) { in startElement()
122 } else if (qName.equals("method")) { in startElement()
[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.java63 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testLoadInputStream()
64 !"className".equals(p.getProperty("serviceName.algName").trim()) || in testLoadInputStream()
65 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testLoadInputStream()
66 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testLoadInputStream()
67 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || in testLoadInputStream()
68 … !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || in testLoadInputStream()
69 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || in testLoadInputStream()
70 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || in testLoadInputStream()
71 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testLoadInputStream()
130 if ("Type".equals(s.getType()) && in testGetServices()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DSerializationStressTest4.java69 boolean equals; in test_writeObject_EventObject()
70 equals = true; in test_writeObject_EventObject()
73 assertTrue(MSG_TEST_FAILED + objToSave, equals); in test_writeObject_EventObject()
101 boolean equals; in test_writeObject_Collections_EmptySet()
102 equals = objToSave.equals(objLoaded); in test_writeObject_Collections_EmptySet()
103 if (equals) in test_writeObject_Collections_EmptySet()
104 equals = ((Set) objLoaded).size() == 0; in test_writeObject_Collections_EmptySet()
105 assertTrue(MSG_TEST_FAILED + objToSave, equals); in test_writeObject_Collections_EmptySet()
134 boolean equals; in test_writeObject_Collections_EmptyMap()
135 equals = objToSave.equals(objLoaded); in test_writeObject_Collections_EmptyMap()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java104 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testPutAllMap()
105 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testPutAllMap()
106 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testPutAllMap()
107 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testPutAllMap()
131 if (key.equals("MessageDigest.SHA-1") && val.equals("SomeClassName")) { in testEntrySet()
134 if (key.equals("Alg.Alias.MessageDigest.SHA1") && val.equals("SHA-1")) { in testEntrySet()
137 if (key.equals("MessageDigest.abc") && val.equals("SomeClassName")) { in testEntrySet()
140 if (key.equals("Provider.id className") && val.equals(p.getClass().getName())) { in testEntrySet()
143 if (key.equals("Provider.id name") && val.equals("MyProvider")) { in testEntrySet()
146 if (key.equals("MessageDigest.SHA-256") && val.equals("aaa.bbb.ccc.ddd")) { in testEntrySet()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DCollatorTest.java32 assertTrue("Clones answered false to equals", c.equals(c2)); in test_clone()
128 assertTrue("Cloned collators not equal", c.equals(c2)); in test_equalsLjava_lang_Object()
130 assertTrue("Collators with different strengths equal", !c.equals(c2)); in test_equalsLjava_lang_Object()
140 assertTrue("a) Failed on primary difference", !c.equals("E", "F")); in test_equalsLjava_lang_StringLjava_lang_String()
142 .equals("e", "\u00e9")); in test_equalsLjava_lang_StringLjava_lang_String()
143 assertTrue("a) Failed on tertiary difference", !c.equals("e", "E")); in test_equalsLjava_lang_StringLjava_lang_String()
144 assertTrue("a) Failed on identical", !c.equals("\u0001", "\u0002")); in test_equalsLjava_lang_StringLjava_lang_String()
145 assertTrue("a) Failed on equivalence", c.equals("e", "e")); in test_equalsLjava_lang_StringLjava_lang_String()
148 assertTrue("b) Failed on primary difference", !c.equals("E", "F")); in test_equalsLjava_lang_StringLjava_lang_String()
150 .equals("e", "\u00e9")); in test_equalsLjava_lang_StringLjava_lang_String()
[all …]
DChoiceFormatTest.java51 formattedString.equals("Tiny Apple")); in test_Constructor$D$Ljava_lang_String()
54 formattedString.equals("Tiny Apple")); in test_Constructor$D$Ljava_lang_String()
57 formattedString.equals("Tiny Apple")); in test_Constructor$D$Ljava_lang_String()
60 formattedString.equals("Tiny Apple")); in test_Constructor$D$Ljava_lang_String()
63 formattedString.equals("Small Apple")); in test_Constructor$D$Ljava_lang_String()
66 formattedString.equals("Small Apple")); in test_Constructor$D$Ljava_lang_String()
69 formattedString.equals("Medium Apple")); in test_Constructor$D$Ljava_lang_String()
72 formattedString.equals("Large Apple")); in test_Constructor$D$Ljava_lang_String()
75 formattedString.equals("Huge Apple")); in test_Constructor$D$Ljava_lang_String()
78 formattedString.equals("Huge Apple")); in test_Constructor$D$Ljava_lang_String()
[all …]
DDateFormatTest.java36 assertTrue("Clone not equal", format.equals(clone)); in test_clone()
38 assertTrue("Clone shares NumberFormat", !format.equals(clone)); in test_clone()
49 if (locales[i].equals(Locale.ENGLISH)) in test_getAvailableLocales()
51 if (locales[i].equals(Locale.GERMAN)) in test_getAvailableLocales()
77 assertTrue("Wrong default", f2.equals(DateFormat.getDateInstance( in test_getDateInstance()
79 assertTrue("Wrong symbols", f2.getDateFormatSymbols().equals( in test_getDateInstance()
95 assertTrue("Wrong default1", f2.equals(DateFormat.getDateInstance( in test_getDateInstanceI()
97 assertTrue("Wrong symbols1", f2.getDateFormatSymbols().equals( in test_getDateInstanceI()
104 assertTrue("Wrong default2", f2.equals(DateFormat.getDateInstance( in test_getDateInstanceI()
106 assertTrue("Wrong symbols2", f2.getDateFormatSymbols().equals( in test_getDateInstanceI()
[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/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/doclava/src/com/google/doclava/
DDoclava.java151 if (a[0].equals("-d")) { in start()
153 } else if (a[0].equals("-templatedir")) { in start()
155 } else if (a[0].equals("-hdf")) { in start()
157 } else if (a[0].equals("-knowntags")) { in start()
159 } else if (a[0].equals("-toroot")) { in start()
161 } else if (a[0].equals("-samplecode")) { in start()
164 } else if (a[0].equals("-htmldir")) { in start()
168 } else if (a[0].equals("-htmldir2")) { in start()
169 if (a[2].equals("default")) { in start()
175 } else if (a[0].equals("-title")) { in start()
[all …]
DInfoBuilder.java347 if ("block".equals(payload) || in parseFile()
348 "blockStatement".equals(payload) || in parseFile()
349 "explicitConstructorInvocation".equals(payload)) { in parseFile()
355 if ("packageDeclaration".equals(payload)) { in parseFile()
359 } else if ("importDeclaration".equals(payload)) { in parseFile()
363 } else if ("normalClassDeclaration".equals(payload)) { in parseFile()
367 } else if ("enumDeclaration".equals(payload)) { in parseFile()
371 } else if ("normalInterfaceDeclaration".equals(payload)) { in parseFile()
375 } else if ("annotationTypeDeclaration".equals(payload)) { in parseFile()
396 if (child.payload != null && "qualifiedName".equals(child.payload.toString())) { in buildPackage()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DLocaleTest.java40 assertTrue("Failed to create Locale", x.getCountry().equals("CV") in test_ConstructorLjava_lang_StringLjava_lang_String()
41 && x.getVariant().equals("")); in test_ConstructorLjava_lang_StringLjava_lang_String()
52 assertTrue("Failed to create Locale", x.getLanguage().equals("xx") in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
53 && (x.getCountry().equals("CV") && x.getVariant().equals("ZZ"))); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
78 assertTrue("Clone failed", l.clone().equals(l)); in test_clone()
87 assertTrue("Same object returned false", testLocale.equals(testLocale)); in test_equalsLjava_lang_Object()
88 assertTrue("Same values returned false", testLocale.equals(l2)); in test_equalsLjava_lang_Object()
89 assertTrue("Different locales returned true", !testLocale.equals(l)); in test_equalsLjava_lang_Object()
115 testLocale.getCountry().equals("CA")); in test_getCountry()
138 .getDisplayCountry().equals("Canada")); in test_getDisplayCountry()
[all …]
/external/proguard/src/proguard/
DConfigurationParser.java238 ConfigurationConstants.OPEN_ARGUMENTS_KEYWORD.equals(nextWord)) in parseClassPathArgument()
251 ConfigurationConstants.SEPARATOR_KEYWORD.equals(nextWord)); in parseClassPathArgument()
254 if (!ConfigurationConstants.CLOSE_ARGUMENTS_KEYWORD.equals(nextWord)) in parseClassPathArgument()
293 if (!nextWord.equals(ConfigurationConstants.JAR_SEPARATOR_KEYWORD)) in parseClassPathArgument()
436 if (!ConfigurationConstants.ARGUMENT_SEPARATOR_KEYWORD.equals(nextWord)) in parseKeepClassSpecificationArguments()
513 while (!ConfigurationConstants.CLASS_KEYWORD.equals(nextWord)) in parseClassSpecificationArguments()
535 …strippedWord.equals(ClassConstants.EXTERNAL_ACC_PUBLIC) ? ClassConstants.INTERNAL_ACC_PUBLIC … in parseClassSpecificationArguments()
536 …strippedWord.equals(ClassConstants.EXTERNAL_ACC_FINAL) ? ClassConstants.INTERNAL_ACC_FINAL … in parseClassSpecificationArguments()
537 …strippedWord.equals(ClassConstants.EXTERNAL_ACC_INTERFACE) ? ClassConstants.INTERNAL_ACC_INTERFAC… in parseClassSpecificationArguments()
538 …strippedWord.equals(ClassConstants.EXTERNAL_ACC_ABSTRACT) ? ClassConstants.INTERNAL_ACC_ABSTRACT… in parseClassSpecificationArguments()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
DEllipticCurve_ImplTest.java49 assertFalse(c1.equals(c2)); in testEqualsObject02()
58 assertFalse(c1.equals(c2) || c2.equals(c1)); in testEqualsObject02()
67 assertFalse(c1.equals(c2) || c2.equals(c1)); in testEqualsObject02()
76 assertFalse(c1.equals(c2) || c2.equals(c1)); in testEqualsObject02()
87 assertFalse(c1.equals(c2) || c2.equals(c1)); in testEqualsObject02()
98 assertFalse(c1.equals(c2) || c2.equals(c1)); in testEqualsObject02()
109 assertFalse(c1.equals(c2) || c2.equals(c1)); in testEqualsObject02()
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/
DOs.java274 if (family.equals(FAMILY_WINDOWS)) { in isOs()
276 } else if (family.equals(FAMILY_9X)) { in isOs()
278 } else if (family.equals(FAMILY_NT)) { in isOs()
280 } else if (family.equals(FAMILY_OS2)) { in isOs()
282 } else if (family.equals(FAMILY_NETWARE)) { in isOs()
284 } else if (family.equals(FAMILY_DOS)) { in isOs()
285 isFamily = PATH_SEP.equals(";") && !isFamily(FAMILY_NETWARE); in isOs()
286 } else if (family.equals(FAMILY_MAC)) { in isOs()
289 } else if (family.equals(FAMILY_TANDEM)) { in isOs()
291 } else if (family.equals(FAMILY_UNIX)) { in isOs()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSpelunker.java69 if ( token.equals(expecting) ) consume(); in match()
82 while ( token!=null && !token.equals("@") && !token.equals(":") && in parse()
83 !token.equals("import") && !token.equals("options") ) in parse()
87 if ( token.equals("options") ) options(); in parse()
89 while ( token!=null && !token.equals("@") && !token.equals(":") && in parse()
90 !token.equals("import") ) in parse()
94 if ( token.equals("import") ) imports(); in parse()
104 if ( token.equals("tree") || token.equals("parser") || token.equals("lexer") ) { in grammarHeader()
117 while ( token!=null && !token.equals("}") ) { in options()
123 if ( name.equals("tokenVocab") ) tokenVocab = value; in options()
[all …]

12345678910>>...81