Home
last modified time | relevance | path

Searched refs:drop (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java508 int drop = prec - mcp; // prec has range [1, MAX_INT], mcp has range [0, MAX_INT]; in BigDecimal() local
510 if (mcp > 0 && drop > 0) { // do rounding in BigDecimal()
511 while (drop > 0) { in BigDecimal()
512 scl = checkScaleNonZero((long) scl - drop); in BigDecimal()
513 … rs = divideAndRound(rs, LONG_TEN_POWERS_TABLE[drop], mc.roundingMode.oldMode); in BigDecimal()
515 drop = prec - mcp; in BigDecimal()
573 int drop = prec - mcp; in BigDecimal() local
574 while (drop > 0) { in BigDecimal()
575 scl = checkScaleNonZero((long) scl - drop); in BigDecimal()
576 rb = divideAndRoundByTenPow(rb, drop, mc.roundingMode.oldMode); in BigDecimal()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DMembershipKeyTest.java90 key.drop(); in check_isValid_OnDrop()
105 key.drop(); in check_drop()
149 key.drop(); in test_channelWithJoinWithSource()
156 key.drop(); in test_channelWithJoinWithoutSource()
200 key.drop(); in test_block_Exception()
246 key.drop(); in test_unblock_Exception()
DDatagramChannelMulticastTest.java525 membershipKey.drop(); in check_dropAnySource_twice()
529 membershipKey.drop(); in check_dropAnySource_twice()
1110 membershipKey1.drop(); in check_joinSourceSpecific()
1145 membershipKey.drop(); in check_dropSourceSpecific_twice()
1149 membershipKey.drop(); in check_dropSourceSpecific_twice()
1183 membershipKey1.drop(); in check_dropSourceSpecific_sourceKeysAreIndependent()
1197 membershipKey.drop(); in test_drop_keyBehaviorAfterDrop()
/libcore/ojluni/src/main/java/java/nio/channels/
DMembershipKey.java96 public abstract void drop(); in drop() method in MembershipKey
/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipKeyImpl.java145 public void drop() { in drop() method in MembershipKeyImpl
147 ((DatagramChannelImpl)ch).drop(this); in drop()
DDatagramChannelImpl.java953 void drop(MembershipKeyImpl key) { in drop() method in DatagramChannelImpl