/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 | 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 | 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 | 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/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/javax/sip/address/ |
D | NetObject.java | 100 if (fieldName.compareTo("stringRepresentation") == 0) { in equals() 103 if (fieldName.compareTo("indentation") == 0) { in equals() 110 if (fname.compareTo("int") == 0) { in equals() 113 } else if (fname.compareTo("short") == 0) { in equals() 116 } else if (fname.compareTo("char") == 0) { in equals() 119 } else if (fname.compareTo("long") == 0) { in equals() 122 } else if (fname.compareTo("boolean") == 0) { in equals() 125 } else if (fname.compareTo("double") == 0) { in equals() 128 } else if (fname.compareTo("float") == 0) { in equals() 190 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/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/mockito/src/test/java/org/mockito/internal/matchers/ |
D | ComparableMatchersTest.java | 47 private void test(CompareTo<String> compareTo, boolean lower, boolean higher, in test() argument 50 assertEquals(lower, compareTo.matches("a")); in test() 51 assertEquals(equals, compareTo.matches("b")); in test() 52 assertEquals(higher, compareTo.matches("c")); in test() 54 assertEquals(name + "(b)", compareTo.toString()); in test()
|
/external/volley/src/test/java/com/android/volley/ |
D | RequestTest.java | 29 @Test public void compareTo() { in compareTo() method in RequestTest 41 assertTrue(low.compareTo(high) > 0); in compareTo() 42 assertTrue(high.compareTo(low) < 0); in compareTo() 43 assertTrue(low.compareTo(low2) < 0); in compareTo() 44 assertTrue(low.compareTo(immediate) > 0); in compareTo() 45 assertTrue(immediate.compareTo(high) < 0); in compareTo()
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | ShouldMocksCompareToBeConsistentWithEqualsTest.java | 54 when(mock.compareTo(any(Date.class))).thenReturn(10); in should_allow_stubbing_and_verifying_compare_to() 57 mock.compareTo(new Date()); in should_allow_stubbing_and_verifying_compare_to() 60 assertEquals(10, mock.compareTo(new Date())); in should_allow_stubbing_and_verifying_compare_to() 61 verify(mock, atLeastOnce()).compareTo(any(Date.class)); in should_allow_stubbing_and_verifying_compare_to() 71 assertEquals(1, mock.compareTo(new Date())); in should_reset_not_remove_default_stubbing()
|
/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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 594 assertTrue(theTimestamp.compareTo(theTest) > 0); in testCompareToTimestamp() 595 assertTrue(theTimestamp.compareTo(theTest2) < 0); in testCompareToTimestamp() 596 assertEquals(0, theTimestamp.compareTo(theTimestamp2)); in testCompareToTimestamp() 604 assertEquals(-1, t1.compareTo(t2)); in testCompareToTimestamp() 605 assertEquals(1, t2.compareTo(t1)); in testCompareToTimestamp() 609 assertEquals(1, t1.compareTo(t2)); in testCompareToTimestamp() 610 assertEquals(-1, t2.compareTo(t1)); in testCompareToTimestamp() 614 assertEquals(0, t1.compareTo(t2)); in testCompareToTimestamp() 615 assertEquals(0, t2.compareTo(t1)); in testCompareToTimestamp() 630 assertTrue(theTimestamp.compareTo(theTest) > 0); [all …]
|
/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 …]
|
D | UnaryCRFunction.java | 310 if (tmp_f_low.compareTo(tmp_f_high) > 0) { in inverseMonotone_UnaryCRFunction() 334 if (difference.compareTo(big1) > 0) { in sloppy_compare() 337 if (difference.compareTo(bigm1) < 0) { in sloppy_compare() 391 if (f_h.compareTo(arg_appr.subtract(big1)) < 0 in approximate() 392 || f_l.compareTo(arg_appr.add(big1)) > 0) { in approximate() 412 if (h.compareTo(high_appr) > 0) { in approximate() 421 if (l.compareTo(low_appr) < 0) { in approximate() 441 if (difference.compareTo(big6) < 0) { in approximate() 471 if (adj.compareTo(difference.shiftRight(10)) < 0) { in approximate() 474 } else if (adj.compareTo(difference.multiply(BIG1023) in approximate() [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());
|