/libcore/ojluni/src/main/java/sun/misc/ |
D | FormattedFloatingDecimal.java | 67 boolean isNegative = fdConverter.isNegative(); in FormattedFloatingDecimal() 72 fillCompatible(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal() 76 fillDecimal(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal() 81 fillScientific(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal() 91 fillScientific(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal() 95 fillDecimal(precision, digits, nDigits, exp, isNegative); in FormattedFloatingDecimal() 163 …ivate void fillCompatible(int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillCompatible() argument 164 int startIndex = isNegative ? 1 : 0; in fillCompatible() 169 mantissa = create(isNegative, nDigits + extraZeros + 2); in fillCompatible() 176 mantissa = create(isNegative, exp + 1 + t); in fillCompatible() [all …]
|
D | FloatingDecimal.java | 159 public boolean isNegative(); in isNegative() method 191 private boolean isNegative; field in FloatingDecimal.ExceptionalBinaryToASCIIBuffer 193 public ExceptionalBinaryToASCIIBuffer(String image, boolean isNegative) { in ExceptionalBinaryToASCIIBuffer() argument 195 this.isNegative = isNegative; in ExceptionalBinaryToASCIIBuffer() 225 public boolean isNegative() { in isNegative() method in FloatingDecimal.ExceptionalBinaryToASCIIBuffer 226 return isNegative; in isNegative() 260 private boolean isNegative; field in FloatingDecimal.BinaryToASCIIBuffer 291 BinaryToASCIIBuffer(boolean isNegative, char[] digits){ in BinaryToASCIIBuffer() argument 292 this.isNegative = isNegative; in BinaryToASCIIBuffer() 329 public boolean isNegative() { in isNegative() method in FloatingDecimal.BinaryToASCIIBuffer [all …]
|
/libcore/ojluni/src/main/java/java/security/acl/ |
D | AclEntry.java | 99 public boolean isNegative(); in isNegative() method
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 561 assertEquals(Period.of(0, 0, 0).isNegative(), false); in test_isPositive() 562 assertEquals(Period.of(1, 2, 3).isNegative(), false); in test_isPositive() 563 assertEquals(Period.of(1, 0, 0).isNegative(), false); in test_isPositive() 564 assertEquals(Period.of(0, 2, 0).isNegative(), false); in test_isPositive() 565 assertEquals(Period.of(0, 0, 3).isNegative(), false); in test_isPositive() 567 assertEquals(Period.of(-1, -2, -3).isNegative(), true); in test_isPositive() 568 assertEquals(Period.of(-1, -2, 3).isNegative(), true); in test_isPositive() 569 assertEquals(Period.of(1, -2, -3).isNegative(), true); in test_isPositive() 570 assertEquals(Period.of(-1, 2, -3).isNegative(), true); in test_isPositive() 571 assertEquals(Period.of(-1, 2, 3).isNegative(), true); in test_isPositive() [all …]
|
D | TCKDuration.java | 890 assertEquals(Duration.ofNanos(0).isNegative(), false); in test_isNegative() 891 assertEquals(Duration.ofSeconds(0).isNegative(), false); in test_isNegative() 892 assertEquals(Duration.ofNanos(1).isNegative(), false); in test_isNegative() 893 assertEquals(Duration.ofSeconds(1).isNegative(), false); in test_isNegative() 894 assertEquals(Duration.ofSeconds(1, 1).isNegative(), false); in test_isNegative() 895 assertEquals(Duration.ofNanos(-1).isNegative(), true); in test_isNegative() 896 assertEquals(Duration.ofSeconds(-1).isNegative(), true); in test_isNegative() 897 assertEquals(Duration.ofSeconds(-1, -1).isNegative(), true); in test_isNegative()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 151 assertEquals(periodPositive.isNegative(), false); in test_isZero_isNegative() 155 assertEquals(periodZero.isNegative(), false); in test_isZero_isNegative() 159 assertEquals(periodNegative.isNegative(), true); in test_isZero_isNegative()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriod.java | 186 default boolean isNegative() { in isNegative() method
|
D | ChronoPeriodImpl.java | 170 public boolean isNegative() { in isNegative() method in ChronoPeriodImpl
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 2060 boolean isNegative = false; in processIntegerToken() 2063 isNegative = true; in processIntegerToken() 2068 isNegative = true; in processIntegerToken() 2072 if (isNegative) in processIntegerToken() 2261 boolean isNegative = false; in processFloatToken() 2264 isNegative = true; in processFloatToken() 2269 isNegative = true; in processFloatToken() 2280 if (isNegative) in processFloatToken()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 585 public boolean isNegative() { in isNegative() method in Duration 1033 return isNegative() ? negated() : this; in abs()
|
D | Clock.java | 282 if (tickDuration.isNegative()) { in tick()
|
D | Period.java | 489 public boolean isNegative() { in isNegative() method in Period
|