/external/jdiff/src/jdiff/ |
D | APIHandler.java | 77 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() 109 } else if (localName.compareTo("method") == 0) { in startElement() 114 if (attributes.getValue("abstract").compareTo("true") == 0) in startElement() [all …]
|
D | Options.java | 277 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 …]
|
D | MethodAPI.java | 86 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()
|
D | ParamAPI.java | 29 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()
|
D | FieldAPI.java | 70 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()
|
D | ConstructorAPI.java | 57 return c1 == null ? (c2 == null ? 0 : -1) : (c2 == null ? 1 : c1.compareTo(c2)); in compareNullIsLeast() 61 public int compareTo(Object o) { in compareTo() method in ConstructorAPI 69 comp = exceptions_.compareTo(constructorAPI.exceptions_); in compareTo() 72 comp = modifiers_.compareTo(constructorAPI.modifiers_); in compareTo() 95 if (getSignature().compareTo(((MethodAPI)o).getSignature()) == 0) in equalSignatures()
|
D | CommentsHandler.java | 62 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()
|
D | ClassAPI.java | 64 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()
|
D | Modifiers.java | 37 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()
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | NetObject.java | 96 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/javax/sip/header/ |
D | SIPObject.java | 102 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/core/ |
D | GenericObject.java | 243 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/hamcrest/library/src/org/hamcrest/number/ |
D | IsGreaterThan.java | 12 private final Comparable<T> compareTo; field in IsGreaterThan 14 public IsGreaterThan(Comparable<T> compareTo) { in IsGreaterThan() argument 15 this.compareTo = compareTo; in IsGreaterThan() 19 return compareTo.compareTo(item) < 0; in matchesSafely() 24 description.appendValue(compareTo); in describeTo()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | BigIntegerMathTest.java | 91 assertTrue(ZERO.setBit(result).compareTo(x) <= 0); in testLog2Floor() 92 assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0); in testLog2Floor() 101 assertTrue(ZERO.setBit(result).compareTo(x) >= 0); in testLog2Ceiling() 102 assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0); in testLog2Ceiling() 126 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0); in testLog2HalfUp() 128 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0); in testLog2HalfUp() 137 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) >= 0); in testLog2HalfDown() 139 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) < 0); in testLog2HalfDown() 179 assertTrue(TEN.pow(result).compareTo(x) <= 0); in testLog10Floor() 180 assertTrue(TEN.pow(result + 1).compareTo(x) > 0); in testLog10Floor() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MessageObject.java | 73 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/javasqlite/src/main/java/SQLite/ |
D | Shell.java | 311 if (cmd.compareTo(".dump") == 0) { in do_meta() 315 if (cmd.compareTo(".echo") == 0) { in do_meta() 322 if (cmd.compareTo(".exit") == 0) { in do_meta() 329 if (cmd.compareTo(".header") == 0) { in do_meta() 336 if (cmd.compareTo(".help") == 0) { in do_meta() 352 if (cmd.compareTo(".mode") == 0) { in do_meta() 354 if (args[0].compareTo("line") == 0) { in do_meta() 356 } else if (args[0].compareTo("column") == 0) { in do_meta() 358 } else if (args[0].compareTo("list") == 0) { in do_meta() 360 } else if (args[0].compareTo("html") == 0) { in do_meta() [all …]
|
/external/proguard/src/proguard/classfile/editor/ |
D | ComparableConstant.java | 91 public int compareTo(Object other) in compareTo() method in ComparableConstant 158 …result = stringConstant.getString(clazz).compareTo(((StringConstant)otherConstant).getString(clazz… 163 result = utf8Constant.getString().compareTo(((Utf8Constant)otherConstant).getString()); 211 … result = classConstant.getName(clazz).compareTo(((ClassConstant)otherConstant).getName(clazz)); 218 .compareTo 239 this.compareTo(other) == 0; 259 (comparison = string1a.compareTo(string2a)) != 0 ? comparison : 260 string1b.compareTo(string2b); 272 (comparison = string1a.compareTo(string2a)) != 0 ? comparison : 273 (comparison = string1b.compareTo(string2b)) != 0 ? comparison : [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
D | X509CertificateTest.java | 171 date.compareTo(na_date) > 0); in testCheckValidity1() 173 date.compareTo(nb_date) < 0); in testCheckValidity1() 176 date.compareTo(na_date) > 0); in testCheckValidity1() 179 date.compareTo(nb_date) < 0); in testCheckValidity1() 204 date[i].compareTo(na_date) > 0); in testCheckValidity2() 206 date[i].compareTo(nb_date) < 0); in testCheckValidity2() 209 date[i].compareTo(na_date) > 0); in testCheckValidity2() 212 + "was thrown", date[i].compareTo(nb_date) < 0); in testCheckValidity2()
|
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
D | BigIntegerMathTest.java | 79 assertTrue(ZERO.setBit(result).compareTo(x) <= 0); in testLog2Floor() 80 assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0); in testLog2Floor() 89 assertTrue(ZERO.setBit(result).compareTo(x) >= 0); in testLog2Ceiling() 90 assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0); in testLog2Ceiling() 114 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0); in testLog2HalfUp() 116 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0); in testLog2HalfUp() 125 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) >= 0); in testLog2HalfDown() 127 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) < 0); in testLog2HalfDown()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | CatchTable.java | 64 public int compareTo(CatchTable other) { in compareTo() method in CatchTable 77 int compare = thisEntry.compareTo(otherEntry); in compareTo() 142 return (compareTo((Entry) other) == 0); in equals() 149 public int compareTo(Entry other) { in compareTo() method in CatchTable.Entry 162 return handlers.compareTo(other.handlers); in compareTo()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 605 assertTrue(theTimestamp.compareTo(theTest) > 0); in testCompareToTimestamp() 606 assertTrue(theTimestamp.compareTo(theTest2) < 0); in testCompareToTimestamp() 607 assertEquals(0, theTimestamp.compareTo(theTimestamp2)); in testCompareToTimestamp() 615 assertEquals(1, t1.compareTo(t2)); in testCompareToTimestamp() 616 assertEquals(-1, t2.compareTo(t1)); in testCompareToTimestamp() 620 assertEquals(1, t1.compareTo(t2)); in testCompareToTimestamp() 621 assertEquals(-1, t2.compareTo(t1)); in testCompareToTimestamp() 625 assertEquals(0, t1.compareTo(t2)); in testCompareToTimestamp() 626 assertEquals(0, t2.compareTo(t1)); in testCompareToTimestamp() 641 assertTrue(theTimestamp.compareTo(theTest) > 0); [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/ |
D | BaseFieldReference.java | 60 public int compareTo(@Nonnull FieldReference o) { in compareTo() method in BaseFieldReference 61 int res = getDefiningClass().compareTo(o.getDefiningClass()); in compareTo() 63 res = getName().compareTo(o.getName()); in compareTo() 65 return getType().compareTo(o.getType()); in compareTo()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/ |
D | BaseAnnotationElement.java | 57 public int compareTo(AnnotationElement o) { in compareTo() method in BaseAnnotationElement 58 int res = getName().compareTo(o.getName()); in compareTo() 60 return getValue().compareTo(o.getValue()); in compareTo() 66 return element1.getName().compareTo(element2.getName());
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | LabelMethodItem.java | 52 public int compareTo(MethodItem methodItem) { in compareTo() method in LabelMethodItem 53 int result = super.compareTo(methodItem); in compareTo() 57 result = labelPrefix.compareTo(((LabelMethodItem)methodItem).labelPrefix); in compareTo() 72 return this.compareTo((MethodItem)o) == 0; in equals()
|
/external/crcalc/src/com/hp/creals/ |
D | CR.java | 380 max_appr.compareTo(big1) <= 0 in msd() 381 && max_appr.compareTo(bigm1) >= 0) { in msd() 383 if (max_appr.abs().compareTo(big1) <= 0) { in msd() 458 public int compareTo(CR x, int r, int a) { in compareTo() method in CR 466 return compareTo(x, abs_prec); in compareTo() 479 public int compareTo(CR x, int a) { in compareTo() method in CR 483 int comp1 = this_appr.compareTo(x_appr.add(big1)); in compareTo() 485 int comp2 = this_appr.compareTo(x_appr.subtract(big1)); in compareTo() 498 public int compareTo(CR x) { in compareTo() method in CR 501 int result = compareTo(x, a); in compareTo() [all …]
|