/external/jdiff/src/jdiff/ |
D | Options.java | 39 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/ |
D | BigIntegerTest.java | 99 !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 …]
|
D | BigDecimalTest.java | 41 .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/ |
D | StylesheetPIHandler.java | 144 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/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | SkeletonLoader.java | 85 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 …]
|
D | SceneLoader.java | 104 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/doclava/src/com/google/doclava/apicheck/ |
D | ApiFile.java | 75 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 …]
|
D | XmlApiFile.java | 71 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/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | ProviderTest.java | 63 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/ |
D | SerializationStressTest4.java | 69 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/ |
D | ProviderTest.java | 104 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/ |
D | CollatorTest.java | 32 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 …]
|
D | ChoiceFormatTest.java | 51 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 …]
|
D | DateFormatTest.java | 36 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/ |
D | CTarget.java | 91 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/ |
D | BitmapFontLoader.java | 65 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | LocaleTest.java | 40 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/doclava/src/com/google/doclava/ |
D | InfoBuilder.java | 347 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 …]
|
D | Doclava.java | 138 if (a[0].equals("-d")) { in start() 140 } else if (a[0].equals("-templatedir")) { in start() 142 } else if (a[0].equals("-hdf")) { in start() 144 } else if (a[0].equals("-knowntags")) { in start() 146 } else if (a[0].equals("-toroot")) { in start() 148 } else if (a[0].equals("-samplecode")) { in start() 150 } else if (a[0].equals("-htmldir")) { in start() 152 } else if (a[0].equals("-title")) { in start() 154 } else if (a[0].equals("-werror")) { in start() 156 } else if (a[0].equals("-error") || a[0].equals("-warning") || a[0].equals("-hide")) { in start() [all …]
|
/external/proguard/src/proguard/ |
D | ConfigurationParser.java | 238 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/ |
D | EllipticCurve_ImplTest.java | 49 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/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | GrammarSpelunker.java | 69 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 …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | AttributeInfo.java | 77 if (nameStr.equals(AnnotationDefaultAttribute.tag)) in read() 79 else if (nameStr.equals(CodeAttribute.tag)) in read() 81 else if (nameStr.equals(ConstantAttribute.tag)) in read() 83 else if (nameStr.equals(DeprecatedAttribute.tag)) in read() 85 else if (nameStr.equals(EnclosingMethodAttribute.tag)) in read() 87 else if (nameStr.equals(ExceptionsAttribute.tag)) in read() 89 else if (nameStr.equals(InnerClassesAttribute.tag)) in read() 95 if (nameStr.equals(LineNumberAttribute.tag)) in read() 97 else if (nameStr.equals(LocalVariableAttribute.tag)) in read() 99 else if (nameStr.equals(LocalVariableTypeAttribute.tag)) in read() [all …]
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_ListTest.java | 46 .equals(new Integer(counter))); in runTest() 52 .get(50).equals(new Integer(1000))); in runTest() 55 list.get(51).equals(new Integer(50))); in runTest() 58 list.get(49).equals(new Integer(49))); in runTest() 62 .equals(new Integer(2000))); in runTest() 64 list.get(51).equals(new Integer(50))); in runTest() 66 .get(49).equals(new Integer(49))); in runTest() 70 list.get(50).equals(new Integer(50))); in runTest() 73 list.get(51).equals(new Integer(51))); in runTest() 76 list.get(49).equals(new Integer(49))); in runTest() [all …]
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
D | XMLWriter.java | 505 if (!("yes".equals(outputProperties.getProperty(OMIT_XML_DECLARATION, "no")))) { in startDocument() 589 if (htmlMode && (qName.equals("script") || qName.equals("style"))) { in startElement() 619 (uri.equals("http://www.w3.org/1999/xhtml") || in endElement() 620 uri.equals("")) && in endElement() 621 (qName.equals("area") || qName.equals("base") || in endElement() 622 qName.equals("basefont") || qName.equals("br") || in endElement() 623 qName.equals("col") || qName.equals("frame") || in endElement() 624 qName.equals("hr") || qName.equals("img") || in endElement() 625 qName.equals("input") || qName.equals("isindex") || in endElement() 626 qName.equals("link") || qName.equals("meta") || in endElement() [all …]
|