Home
last modified time | relevance | path

Searched refs:isNegative (Results 1 – 15 of 15) 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/annotations/hiddenapi/sun/misc/
DFormattedFloatingDecimal.java64 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillCompatible() argument
68 private static char[] create(boolean isNegative, int size) { in create() argument
73 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillDecimal() argument
78 int precision, char[] digits, int nDigits, int exp, boolean isNegative) { in fillScientific() argument
DFloatingDecimal.java273 boolean isNegative; field in FloatingDecimal.ASCIIToBinaryBuffer
293 BinaryToASCIIBuffer(boolean isNegative, char[] digits) { in BinaryToASCIIBuffer() argument
313 public boolean isNegative() { in isNegative() method in FloatingDecimal.BinaryToASCIIBuffer
329 private void setSign(boolean isNegative) { in setSign() argument
390 private boolean isNegative; field in FloatingDecimal.BinaryToASCIIBuffer
406 public boolean isNegative(); in isNegative() method
419 public ExceptionalBinaryToASCIIBuffer(java.lang.String image, boolean isNegative) { in ExceptionalBinaryToASCIIBuffer() argument
439 public boolean isNegative() { in isNegative() method in FloatingDecimal.ExceptionalBinaryToASCIIBuffer
461 private boolean isNegative; field in FloatingDecimal.ExceptionalBinaryToASCIIBuffer
/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.java2066 boolean isNegative = false; in processIntegerToken()
2069 isNegative = true; in processIntegerToken()
2074 isNegative = true; in processIntegerToken()
2078 if (isNegative) in processIntegerToken()
2267 boolean isNegative = false; in processFloatToken()
2270 isNegative = true; in processFloatToken()
2275 isNegative = true; in processFloatToken()
2287 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
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java161 public boolean isNegative() { in isNegative() method in Duration