Home
last modified time | relevance | path

Searched refs:difference (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java614 … int difference = wallOffset.getTotalSeconds() - ZoneOffset.UTC.getTotalSeconds(); in createDateTime() local
615 return dateTime.plusSeconds(difference); in createDateTime()
618 … int difference = wallOffset.getTotalSeconds() - standardOffset.getTotalSeconds(); in createDateTime() local
619 return dateTime.plusSeconds(difference); in createDateTime()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java1377 long difference = ((int)val & LONG_MASK) - (little[0] & LONG_MASK); in subtract() local
1378 result[1] = (int)difference; in subtract()
1380 boolean borrow = (difference >> 32 != 0); in subtract()
1388 long difference = ((int)val & LONG_MASK) - (little[1] & LONG_MASK); in subtract() local
1389 result[1] = (int)difference; in subtract()
1390 difference = (highWord & LONG_MASK) - (little[0] & LONG_MASK) + (difference >> 32); in subtract()
1391 result[0] = (int)difference; in subtract()
1408 long difference = 0; in subtract() local
1411 difference = (big[--bigIndex] & LONG_MASK) - val; in subtract()
1412 result[bigIndex] = (int)difference; in subtract()
[all …]
DMutableBigInteger.java644 long difference = q[offset] - product; in mulsub() local
645 q[offset--] = (int)difference; in mulsub()
647 + (((difference & LONG_MASK) > in mulsub()
663 long difference = q[offset--] - product; in mulsubBorrow() local
665 + (((difference & LONG_MASK) > in mulsubBorrow()
965 private int difference(MutableBigInteger b) { in difference() method in MutableBigInteger
1813 long difference = q[offset] - product;
1814 q[offset--] = (int)difference;
1816 + (((difference & LONG_MASK) >
1819 difference = q[offset] - product;
[all …]
/libcore/ojluni/src/main/java/java/time/
DOffsetDateTime.java694 int difference = offset.getTotalSeconds() - this.offset.getTotalSeconds(); in withOffsetSameInstant() local
695 LocalDateTime adjusted = dateTime.plusSeconds(difference); in withOffsetSameInstant()