Home
last modified time | relevance | path

Searched refs:isNegative (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java67 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 …]
DFloatingDecimal.java159 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/
DAclEntry.java99 public boolean isNegative(); in isNegative() method
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java561 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 …]
DTCKDuration.java890 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/
DTCKChronoPeriod.java151 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/
DChronoPeriod.java186 default boolean isNegative() { in isNegative() method
DChronoPeriodImpl.java170 public boolean isNegative() { in isNegative() method in ChronoPeriodImpl
/libcore/ojluni/src/main/java/java/util/
DScanner.java2060 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/
DDuration.java585 public boolean isNegative() { in isNegative() method in Duration
1033 return isNegative() ? negated() : this; in abs()
DClock.java282 if (tickDuration.isNegative()) { in tick()
DPeriod.java489 public boolean isNegative() { in isNegative() method in Period