/libcore/luni/src/main/java/java/math/ |
D | Logical.java | 82 static BigInteger and(BigInteger val, BigInteger that) { in and() argument 83 if (that.sign == 0 || val.sign == 0) { in and() 86 if (that.equals(BigInteger.MINUS_ONE)){ in and() 90 return that; in and() 94 if (that.sign > 0) { in and() 95 return andPositive(val, that); in and() 97 return andDiffSigns(val, that); in and() 100 if (that.sign > 0) { in and() 101 return andDiffSigns(that, val); in and() 102 } else if (val.numberLength > that.numberLength) { in and() [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormatSymbols.java | 766 DateFormatSymbols that = (DateFormatSymbols) obj; in equals() 768 if (!(Arrays.equals(eras, that.eras) in equals() 769 && Arrays.equals(months, that.months) in equals() 770 && Arrays.equals(shortMonths, that.shortMonths) in equals() 771 && Arrays.equals(tinyMonths, that.tinyMonths) in equals() 772 && Arrays.equals(weekdays, that.weekdays) in equals() 773 && Arrays.equals(shortWeekdays, that.shortWeekdays) in equals() 774 && Arrays.equals(tinyWeekdays, that.tinyWeekdays) in equals() 775 && Arrays.equals(standAloneMonths, that.standAloneMonths) in equals() 776 && Arrays.equals(shortStandAloneMonths, that.shortStandAloneMonths) in equals() [all …]
|
D | StringCharacterIterator.java | 245 StringCharacterIterator that = (StringCharacterIterator) obj; in equals() 247 if (hashCode() != that.hashCode()) in equals() 249 if (!text.equals(that.text)) in equals() 251 if (pos != that.pos || begin != that.begin || end != that.end) in equals()
|
D | Collator.java | 458 public boolean equals(Object that) in equals() argument 460 if (this == that) { in equals() 463 if (that == null) { in equals() 466 if (getClass() != that.getClass()) { in equals() 469 Collator other = (Collator) that; in equals()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarDate.java | 388 CalendarDate that = (CalendarDate) obj; in equals() local 389 if (isNormalized() != that.isNormalized()) { in equals() 393 boolean thatHasZone = that.zoneinfo != null; in equals() 397 if (hasZone && !zoneinfo.equals(that.zoneinfo)) { in equals() 400 return (getEra() == that.getEra() in equals() 401 && year == that.year in equals() 402 && month == that.month in equals() 403 && dayOfMonth == that.dayOfMonth in equals() 404 && hours == that.hours in equals() 405 && minutes == that.minutes in equals() [all …]
|
D | Era.java | 129 Era that = (Era) o; in equals() local 130 return name.equals(that.name) in equals() 131 && abbr.equals(that.abbr) in equals() 132 && since == that.since in equals() 133 && localTime == that.localTime; in equals()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | IntBuffer.java | 797 IntBuffer that = (IntBuffer)ob; in equals() 798 if (this.remaining() != that.remaining()) in equals() 801 for (int i = this.limit() - 1, j = that.limit() - 1; i >= p; i--, j--) in equals() 802 if (!equals(this.get(i), that.get(j))) in equals() 837 public int compareTo(IntBuffer that) { in compareTo() argument 838 int n = this.position() + Math.min(this.remaining(), that.remaining()); in compareTo() 839 for (int i = this.position(), j = that.position(); i < n; i++, j++) { in compareTo() 840 int cmp = compare(this.get(i), that.get(j)); in compareTo() 844 return this.remaining() - that.remaining(); in compareTo()
|
D | ShortBuffer.java | 790 ShortBuffer that = (ShortBuffer)ob; in equals() 791 if (this.remaining() != that.remaining()) in equals() 794 for (int i = this.limit() - 1, j = that.limit() - 1; i >= p; i--, j--) in equals() 795 if (!equals(this.get(i), that.get(j))) in equals() 830 public int compareTo(ShortBuffer that) { in compareTo() argument 831 int n = this.position() + Math.min(this.remaining(), that.remaining()); in compareTo() 832 for (int i = this.position(), j = that.position(); i < n; i++, j++) { in compareTo() 833 int cmp = compare(this.get(i), that.get(j)); in compareTo() 837 return this.remaining() - that.remaining(); in compareTo()
|
D | LongBuffer.java | 790 LongBuffer that = (LongBuffer)ob; in equals() 791 if (this.remaining() != that.remaining()) in equals() 794 for (int i = this.limit() - 1, j = that.limit() - 1; i >= p; i--, j--) in equals() 795 if (!equals(this.get(i), that.get(j))) in equals() 830 public int compareTo(LongBuffer that) { in compareTo() argument 831 int n = this.position() + Math.min(this.remaining(), that.remaining()); in compareTo() 832 for (int i = this.position(), j = that.position(); i < n; i++, j++) { in compareTo() 833 int cmp = compare(this.get(i), that.get(j)); in compareTo() 837 return this.remaining() - that.remaining(); in compareTo()
|
D | DoubleBuffer.java | 796 DoubleBuffer that = (DoubleBuffer)ob; in equals() 797 if (this.remaining() != that.remaining()) in equals() 800 for (int i = this.limit() - 1, j = that.limit() - 1; i >= p; i--, j--) in equals() 801 if (!equals(this.get(i), that.get(j))) in equals() 833 public int compareTo(DoubleBuffer that) { in compareTo() argument 834 int n = this.position() + Math.min(this.remaining(), that.remaining()); in compareTo() 835 for (int i = this.position(), j = that.position(); i < n; i++, j++) { in compareTo() 836 int cmp = compare(this.get(i), that.get(j)); in compareTo() 840 return this.remaining() - that.remaining(); in compareTo()
|
D | FloatBuffer.java | 796 FloatBuffer that = (FloatBuffer)ob; in equals() 797 if (this.remaining() != that.remaining()) in equals() 800 for (int i = this.limit() - 1, j = that.limit() - 1; i >= p; i--, j--) in equals() 801 if (!equals(this.get(i), that.get(j))) in equals() 836 public int compareTo(FloatBuffer that) { in compareTo() argument 837 int n = this.position() + Math.min(this.remaining(), that.remaining()); in compareTo() 838 for (int i = this.position(), j = that.position(); i < n; i++, j++) { in compareTo() 839 int cmp = compare(this.get(i), that.get(j)); in compareTo() 843 return this.remaining() - that.remaining(); in compareTo()
|
D | CharBuffer.java | 1003 CharBuffer that = (CharBuffer)ob; in equals() 1004 if (this.remaining() != that.remaining()) in equals() 1007 for (int i = this.limit() - 1, j = that.limit() - 1; i >= p; i--, j--) in equals() 1008 if (!equals(this.get(i), that.get(j))) in equals() 1043 public int compareTo(CharBuffer that) { in compareTo() argument 1044 int n = this.position() + Math.min(this.remaining(), that.remaining()); in compareTo() 1045 for (int i = this.position(), j = that.position(); i < n; i++, j++) { in compareTo() 1046 int cmp = compare(this.get(i), that.get(j)); in compareTo() 1050 return this.remaining() - that.remaining(); in compareTo()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodTypeForm.java | 211 MethodTypeForm that = this.basicType.form(); in MethodTypeForm() local 212 assert(this != that); in MethodTypeForm() 213 this.primCounts = that.primCounts; in MethodTypeForm() 214 this.argCounts = that.argCounts; in MethodTypeForm() 215 this.argToSlotTable = that.argToSlotTable; in MethodTypeForm() 216 this.slotToArgTable = that.slotToArgTable; in MethodTypeForm() 239 MethodTypeForm that = MethodType.genericMethodType(ptypeCount).form(); in MethodTypeForm() local 240 assert(this != that); in MethodTypeForm() 241 slotToArgTab = that.slotToArgTable; in MethodTypeForm() 242 argToSlotTab = that.argToSlotTable; in MethodTypeForm()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 900 SimpleTimeZone that = (SimpleTimeZone) obj; in equals() local 902 return getID().equals(that.getID()) && in equals() 903 hasSameRules(that); in equals() 920 SimpleTimeZone that = (SimpleTimeZone) other; in hasSameRules() local 921 return rawOffset == that.rawOffset && in hasSameRules() 922 useDaylight == that.useDaylight && in hasSameRules() 925 || (dstSavings == that.dstSavings && in hasSameRules() 926 startMode == that.startMode && in hasSameRules() 927 startMonth == that.startMonth && in hasSameRules() 928 startDay == that.startDay && in hasSameRules() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | CodeSigner.java | 131 CodeSigner that = (CodeSigner)obj; in equals() local 133 if (this == that) { in equals() 136 Timestamp thatTimestamp = that.getTimestamp(); in equals() 147 return signerCertPath.equals(that.getSignerCertPath()); in equals()
|
D | Timestamp.java | 128 Timestamp that = (Timestamp)obj; in equals() local 130 if (this == that) { in equals() 133 return (timestamp.equals(that.getTimestamp()) && in equals() 134 signerCertPath.equals(that.getSignerCertPath())); in equals()
|
/libcore/ojluni/ |
D | NOTICE | 309 General Public Licenses are designed to make sure that you have the freedom to 311 that you receive source code or can get it if you want it, that you can change 312 the software or use pieces of it in new free programs; and that you know you 315 To protect your rights, we need to make restrictions that forbid anyone to deny 321 a fee, you must give the recipients all the rights that you have. You must 322 make sure that they, too, receive or can get the source code. And you must 329 Also, for each author's protection and ours, we want to make certain that 330 everyone understands that there is no warranty for this free software. If the 332 know that what they have is not the original, so that any problems introduced 336 wish to avoid the danger that redistributors of a free program will [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | Locales.java | 68 Locales that = (Locales) obj; in equals() local 69 return uncategorizedLocale.equals(that.uncategorizedLocale) in equals() 70 && displayLocale.equals(that.displayLocale) in equals() 71 && formatLocale.equals(that.formatLocale); in equals()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AccessDescription.java | 93 AccessDescription that = (AccessDescription)obj; in equals() local 95 if (this == that) { in equals() 98 return (accessMethod.equals((Object)that.getAccessMethod()) && in equals() 99 accessLocation.equals(that.getAccessLocation())); in equals()
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetSocketAddress.java | 116 InetSocketAddressHolder that = (InetSocketAddressHolder)obj; in equals() 119 sameIP = addr.equals(that.addr); in equals() 121 sameIP = (that.addr == null) && in equals() 122 hostname.equalsIgnoreCase(that.hostname); in equals() 124 sameIP = (that.addr == null) && (that.hostname == null); in equals() 125 return sameIP && (port == that.port); in equals()
|
/libcore/luni/src/main/java/android/system/ |
D | StructTimespec.java | 62 StructTimespec that = (StructTimespec) o; in equals() 64 if (tv_sec != that.tv_sec) return false; in equals() 65 return tv_nsec == that.tv_nsec; in equals()
|
D | StructTimeval.java | 71 StructTimeval that = (StructTimeval) o; in equals() local 72 return tv_sec == that.tv_sec && in equals() 73 tv_usec == that.tv_usec; in equals()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | ParameterizedTypeImpl.java | 88 ParameterizedType that = (ParameterizedType) o; in equals() local 89 return Objects.equals(getRawType(), that.getRawType()) && in equals() 90 Objects.equals(getOwnerType(), that.getOwnerType()) && in equals() 91 Arrays.equals(args.getResolvedTypes(), that.getActualTypeArguments()); in equals()
|
D | WildcardTypeImpl.java | 48 WildcardType that = (WildcardType) o; in equals() local 49 return Arrays.equals(getLowerBounds(), that.getLowerBounds()) && in equals() 50 Arrays.equals(getUpperBounds(), that.getUpperBounds()); in equals()
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 14 the copyright owner that is granting the License. 17 other entities that control, are controlled by, or are under common 18 control with that entity. For the purposes of this definition, 38 copyright notice that is included in or attached to the work 42 form, that is based on (or derived from) the Work and for which the 45 of this License, Derivative Works shall not include works that remain 51 to that Work or Derivative Works thereof, that is intentionally 58 and issue tracking systems that are managed by, or on behalf of, the 60 excluding communication that is conspicuously marked or otherwise 80 by such Contributor that are necessarily infringed by their [all …]
|