Home
last modified time | relevance | path

Searched refs:compareTo (Results 1 – 25 of 85) sorted by relevance

1234

/external/jdiff/src/jdiff/
DAPIHandler.java77 if (localName.compareTo("api") == 0) { in startElement()
81 } else if (localName.compareTo("package") == 0) { in startElement()
85 } else if (localName.compareTo("class") == 0) { in startElement()
90 if (attributes.getValue("abstract").compareTo("true") == 0) in startElement()
93 } else if (localName.compareTo("interface") == 0) { in startElement()
98 if (attributes.getValue("abstract").compareTo("true") == 0) in startElement()
101 } else if (localName.compareTo("implements") == 0) { in startElement()
104 } else if (localName.compareTo("constructor") == 0) { in startElement()
108 } else if (localName.compareTo("method") == 0) { in startElement()
113 if (attributes.getValue("abstract").compareTo("true") == 0) in startElement()
[all …]
DOptions.java277 if (level.compareTo("public") != 0 && in validOptions()
278 level.compareTo("protected") != 0 && in validOptions()
279 level.compareTo("package") != 0 && in validOptions()
280 level.compareTo("private") != 0) { in validOptions()
293 if (level.compareTo("public") != 0 && in validOptions()
294 level.compareTo("protected") != 0 && in validOptions()
295 level.compareTo("package") != 0 && in validOptions()
296 level.compareTo("private") != 0) { in validOptions()
326 if (level.compareTo("all") != 0 && in validOptions()
327 level.compareTo("remove") != 0 && in validOptions()
[all …]
DMethodAPI.java86 public int compareTo(Object o) { in compareTo() method in MethodAPI
88 int comp = name_.compareTo(oMethod.name_); in compareTo()
91 comp = returnType_.compareTo(oMethod.returnType_); in compareTo()
107 comp = exceptions_.compareTo(oMethod.exceptions_); in compareTo()
110 comp = modifiers_.compareTo(oMethod.modifiers_); in compareTo()
113 comp = getSignature().compareTo(oMethod.getSignature()); in compareTo()
125 if (name_.compareTo(((MethodAPI)o).name_) == 0) in equals()
134 if (getSignature().compareTo(((MethodAPI)o).getSignature()) == 0) in equalSignatures()
DParamAPI.java29 public int compareTo(Object o) { in compareTo() method in ParamAPI
31 int comp = name_.compareTo(oParamAPI.name_); in compareTo()
34 comp = type_.compareTo(oParamAPI.type_); in compareTo()
44 if (name_.compareTo(((ParamAPI)o).name_) == 0) in equals()
51 if (type_.compareTo("void") == 0) in toString()
DFieldAPI.java70 public int compareTo(Object o) { in compareTo() method in FieldAPI
72 int comp = name_.compareTo(oFieldAPI.name_); in compareTo()
75 comp = type_.compareTo(oFieldAPI.type_); in compareTo()
87 comp = value_.compareTo(oFieldAPI.value_); in compareTo()
91 comp = modifiers_.compareTo(oFieldAPI.modifiers_); in compareTo()
103 if (name_.compareTo(((FieldAPI)o).name_) == 0) in equals()
DConstructorAPI.java42 public int compareTo(Object o) { in compareTo() method in ConstructorAPI
44 int comp = type_.compareTo(constructorAPI.type_); in compareTo()
47 comp = exceptions_.compareTo(constructorAPI.exceptions_); in compareTo()
50 comp = modifiers_.compareTo(constructorAPI.modifiers_); in compareTo()
62 if (type_.compareTo(((ConstructorAPI)o).type_) == 0) in equals()
DCommentsHandler.java62 if (localName.compareTo("comments") == 0) { in startElement()
74 if (filename2.compareTo(commentsName) != 0) { in startElement()
77 } else if (localName.compareTo("comment") == 0) { in startElement()
79 } else if (localName.compareTo("identifier") == 0) { in startElement()
85 } else if (localName.compareTo("text") == 0) { in startElement()
103 if (localName.compareTo("text") == 0) { in endElement()
134 currentText.compareTo(Comments.placeHolderText) != 0) { in addTextToComments()
DHTMLIndexes.java96 if (programElementType.compareTo("Package") == 0) { in emitBottomLeftFile()
98 } else if (programElementType.compareTo("Class") == 0) { in emitBottomLeftFile()
100 } else if (programElementType.compareTo("Constructor") == 0) { in emitBottomLeftFile()
102 } else if (programElementType.compareTo("Method") == 0) { in emitBottomLeftFile()
104 } else if (programElementType.compareTo("Field") == 0) { in emitBottomLeftFile()
106 } else if (programElementType.compareTo("All") == 0) { in emitBottomLeftFile()
169 if (indexName.compareTo("All Differences") == 0) { in emitIndexHeader()
329 if (nextIndex.name_.compareTo(currIndex.name_) == 0) { in emitIndexEntries()
387 if (programElementType.compareTo("class") == 0) { in emitMissingSinces()
393 } else if (programElementType.compareTo("constructor") == 0) { in emitMissingSinces()
[all …]
DModifiers.java37 public int compareTo(Object o) { in compareTo() method in Modifiers
46 int comp = visibility.compareTo(oModifiers.visibility); in compareTo()
92 int comp = visibility.compareTo(newModifiers.visibility); in diff()
101 if (res.compareTo("") == 0) in diff()
DClassAPI.java64 public int compareTo(Object o) { in compareTo() method in ClassAPI
66 int comp = name_.compareTo(oClassAPI.name_); in compareTo()
73 comp = modifiers_.compareTo(oClassAPI.modifiers_); in compareTo()
86 if (name_.compareTo(((ClassAPI)o).name_) == 0) in equals()
DXMLToAPI.java147 if (localM.name_.compareTo(m.name_) == 0 && in addInheritedElements()
148 localM.getSignature().compareTo(m.getSignature()) == 0) in addInheritedElements()
153 m.modifiers_.visibility.compareTo("private") != 0) { in addInheritedElements()
167 f.modifiers_.visibility.compareTo("private") != 0) { in addInheritedElements()
210 if (filename2.compareTo(api_.name_) != 0) { in nameAPI()
350 if (currElement.compareTo("method") == 0) { in addException()
351 if (api_.currMethod_.exceptions_.compareTo("no exceptions") == 0) in addException()
356 if (api_.currCtor_.exceptions_.compareTo("no exceptions") == 0) in addException()
DPackageAPI.java34 public int compareTo(Object o) { in compareTo() method in PackageAPI
38 return name_.compareTo(oPackageAPI.name_); in compareTo()
45 if (name_.compareTo(((PackageAPI)o).name_) == 0) in equals()
DDiffOutput.java43 public int compareTo(Object o) { in compareTo() method in DiffOutput
45 int comp = pkgName_.compareTo(oDiffOutput.pkgName_); in compareTo()
51 return id_.compareTo(oDiffOutput.id_); in compareTo()
DDiff.java72 if (tok.compareTo("<") == 0) { in parseDoc()
90 if (tok.compareTo(">") == 0) { in parseDoc()
138 oldDocWords[first0 - 1].compareTo(" ") == 0 && in mergeDiffs()
139 newDocWords[first1 - 1].compareTo(" ") == 0 && in mergeDiffs()
280 currPkgName.compareTo(diffOutput.pkgName_) != 0) { in emitDocDiffs()
296 if (currPkgName.compareTo(docDiffsArr[j].pkgName_) != 0) { in emitDocDiffs()
419 diffOutput.className_.compareTo(docDiffsArr[i+1].className_) != 0) in emitDocDiffs()
519 if (firstPackage || diffOutput.pkgName_.compareTo(docDiffsArr[i-1].pkgName_) != 0) { in emitDocDiffIndex()
540 diffOutput.className_.compareTo(docDiffsArr[i-1].className_) != 0)) { in emitDocDiffIndex()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java102 if (fieldName.compareTo("stringRepresentation") == 0) { in equals()
105 if (fieldName.compareTo("indentation") == 0) { in equals()
112 if (fname.compareTo("int") == 0) { in equals()
115 } else if (fname.compareTo("short") == 0) { in equals()
118 } else if (fname.compareTo("char") == 0) { in equals()
121 } else if (fname.compareTo("long") == 0) { in equals()
124 } else if (fname.compareTo("boolean") == 0) { in equals()
127 } else if (fname.compareTo("double") == 0) { in equals()
130 } else if (fname.compareTo("float") == 0) { in equals()
193 if (fieldName.compareTo("stringRepresentation") == 0) { in match()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java96 if (fieldName.compareTo("stringRepresentation") == 0) { in equals()
99 if (fieldName.compareTo("indentation") == 0) { in equals()
106 if (fname.compareTo("int") == 0) { in equals()
109 } else if (fname.compareTo("short") == 0) { in equals()
112 } else if (fname.compareTo("char") == 0) { in equals()
115 } else if (fname.compareTo("long") == 0) { in equals()
118 } else if (fname.compareTo("boolean") == 0) { in equals()
121 } else if (fname.compareTo("double") == 0) { in equals()
124 } else if (fname.compareTo("float") == 0) { in equals()
186 if (fieldName.compareTo("stringRepresentation") == 0) { in match()
[all …]
/external/nist-sip/java/gov/nist/core/
DGenericObject.java243 if (fname.compareTo("int") == 0) { in merge()
246 } else if (fname.compareTo("short") == 0) { in merge()
249 } else if (fname.compareTo("char") == 0) { in merge()
252 } else if (fname.compareTo("long") == 0) { in merge()
255 } else if (fname.compareTo("boolean") == 0) { in merge()
258 } else if (fname.compareTo("double") == 0) { in merge()
261 } else if (fname.compareTo("float") == 0) { in merge()
313 if (a.compareTo("}") == 0 || a.compareTo("]") == 0) { in sprint()
319 if (a.compareTo("{") == 0 || a.compareTo("[") == 0) { in sprint()
427 if (fieldName.compareTo("stringRepresentation") == 0) { in equals()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageObject.java73 if (fieldName.compareTo("stringRepresentation") == 0) { in debugDump()
77 if (fieldName.compareTo("indentation") == 0) { in debugDump()
87 if (fname.compareTo("int") == 0) { in debugDump()
90 } else if (fname.compareTo("short") == 0) { in debugDump()
93 } else if (fname.compareTo("char") == 0) { in debugDump()
96 } else if (fname.compareTo("long") == 0) { in debugDump()
99 } else if (fname.compareTo("boolean") == 0) { in debugDump()
102 } else if (fname.compareTo("double") == 0) { in debugDump()
105 } else if (fname.compareTo("float") == 0) { in debugDump()
/external/proguard/src/proguard/classfile/editor/
DComparableConstant.java88 public int compareTo(Object other) in compareTo() method in ComparableConstant
126 …result = new Integer(integerConstant.getValue()).compareTo(new Integer(((IntegerConstant)otherCons… in visitIntegerConstant()
132 …result = new Long(longConstant.getValue()).compareTo(new Long(((LongConstant)otherConstant).getVal… in visitLongConstant()
138 …result = new Float(floatConstant.getValue()).compareTo(new Float(((FloatConstant)otherConstant).ge… in visitFloatConstant()
144 …result = new Double(doubleConstant.getValue()).compareTo(new Double(((DoubleConstant)otherConstant… in visitDoubleConstant()
149 …result = stringConstant.getString(clazz).compareTo(((StringConstant)otherConstant).getString(clazz… in visitStringConstant()
154 result = utf8Constant.getString().compareTo(((Utf8Constant)otherConstant).getString()); in visitUtf8Constant()
163 .compareTo in visitAnyRefConstant()
171 … result = classConstant.getName(clazz).compareTo(((ClassConstant)otherConstant).getName(clazz)); in visitClassConstant()
179 .compareTo in visitNameAndTypeConstant()
[all …]
/external/webkit/WebCore/platform/graphics/
DPen.cpp65 bool Pen::operator==(const Pen &compareTo) const in operator ==()
67 return (m_width == compareTo.m_width) && in operator ==()
68 (m_style == compareTo.m_style) && in operator ==()
69 (m_color == compareTo.m_color); in operator ==()
72 bool Pen::operator!=(const Pen &compareTo) const in operator !=()
74 return !(*this == compareTo); in operator !=()
/external/chromium/third_party/icu/source/test/intltest/
Dmnkytst.cpp95 int32_t result = collationKey1.compareTo(collationKey2); // Tertiary in TestCollationKey()
96 int32_t revResult = collationKey2.compareTo(collationKey1); // Tertiary in TestCollationKey()
102 result = collationKey1.compareTo(collationKey2); // Secondary in TestCollationKey()
103 revResult = collationKey2.compareTo(collationKey1); // Secondary in TestCollationKey()
109 result = collationKey1.compareTo(collationKey2); // Primary in TestCollationKey()
110 revResult = collationKey2.compareTo(collationKey1); // Primary in TestCollationKey()
119 result = collationKey1.compareTo(collationKey2); in TestCollationKey()
131 result = collationKey2.compareTo(collationKey1); in TestCollationKey()
/external/icu4c/test/intltest/
Dmnkytst.cpp95 int32_t result = collationKey1.compareTo(collationKey2); // Tertiary in TestCollationKey()
96 int32_t revResult = collationKey2.compareTo(collationKey1); // Tertiary in TestCollationKey()
102 result = collationKey1.compareTo(collationKey2); // Secondary in TestCollationKey()
103 revResult = collationKey2.compareTo(collationKey1); // Secondary in TestCollationKey()
109 result = collationKey1.compareTo(collationKey2); // Primary in TestCollationKey()
110 revResult = collationKey2.compareTo(collationKey1); // Primary in TestCollationKey()
119 result = collationKey1.compareTo(collationKey2); in TestCollationKey()
131 result = collationKey2.compareTo(collationKey1); in TestCollationKey()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java69 while (k.compareTo(params.getQ()) >= 0); in generateSignature()
100 if (zero.compareTo(r) >= 0 || params.getQ().compareTo(r) <= 0) in verifySignature()
105 if (zero.compareTo(s) >= 0 || params.getQ().compareTo(s) <= 0) in verifySignature()
/external/webkit/WebCore/plugins/
DPluginPackage.cpp83 int PluginPackage::compare(const PluginPackage& compareTo) const in compare()
87 …bool BallowsMultipleInstances = !compareTo.quirks().contains(PluginQuirkDontAllowMultipleInstances… in compare()
93 …bool BisInPreferredDirectory = PluginDatabase::isPreferredPluginDirectory(compareTo.parentDirector… in compare()
97 int diff = strcmp(name().utf8().data(), compareTo.name().utf8().data()); in compare()
101 diff = compareFileVersion(compareTo.version()); in compare()
105 return strcmp(parentDirectory().utf8().data(), compareTo.parentDirectory().utf8().data()); in compare()
/external/bouncycastle/src/main/java/org/bouncycastle/util/
DBigIntegers.java50 int cmp = min.compareTo(max); in createRandomInRange()
69 if (x.compareTo(min) >= 0 && x.compareTo(max) <= 0) in createRandomInRange()

1234