Searched refs:isZero (Results 1 - 25 of 26) sorted by relevance

12

/openjdk10/langtools/test/tools/javac/BadOptimization/
H A DSwitch2.java37 private boolean isZero( int d ) { method in class:Switch2
47 if ( !isZero( b ) )
48 throw new RuntimeException("isZero(0) returns false?!");
/openjdk10/hotspot/test/compiler/startup/
H A DNumCompilerThreadsCheck.java50 if (Platform.isZero()) {
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/
H A DKrbKdcRep.java86 if ((req.reqBody.from == null) || req.reqBody.from.isZero()) {
95 if ((req.reqBody.from != null) && !req.reqBody.from.isZero()) {
104 if (!req.reqBody.till.isZero() &&
111 if (req.reqBody.rtime != null && !req.reqBody.rtime.isZero()) {
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/
H A DMultiplicity.java113 public boolean isZero() { method in class:Multiplicity
177 if (isZero(lhs.max) || isZero(rhs.max))
187 private static boolean isZero(BigInteger i) { method in class:Multiplicity
/openjdk10/jdk/src/java.base/share/classes/java/time/chrono/
H A DChronoPeriod.java172 default boolean isZero() { method in interface:ChronoPeriod
H A DChronoPeriodImpl.java162 public boolean isZero() { method in class:ChronoPeriodImpl
213 if (this.isZero() || scalar == 1) {
337 if (isZero()) {
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/
H A DRawTypeSet.java161 if(mul.isZero())
170 if(mul.isZero())
/openjdk10/hotspot/test/runtime/ErrorHandling/
H A DSafeFetchInErrorHandlingTest.java48 if (!Platform.isDebugBuild() || Platform.isZero()) {
/openjdk10/jdk/test/java/time/tck/java/time/chrono/
H A DTCKChronoPeriod.java151 assertEquals(periodPositive.isZero(), false);
155 assertEquals(periodZero.isZero(), true);
159 assertEquals(periodNegative.isZero(), false);
/openjdk10/test/lib/jdk/test/lib/
H A DPlatform.java57 public static boolean isZero() { method in class:Platform
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DDigitList.java114 boolean isZero() { method in class:DigitList
789 if (isZero()) {
H A DDecimalFormat.java1672 if (digitList.isZero()) {
1732 int integerDigits = digitList.isZero() ? minimumIntegerDigits :
1801 if (digitList.isZero()) {
2059 if (digitList.isZero()) {
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/
H A DFixedDtoa.java131 boolean isZero() { method in class:FixedDtoa.UInt128
298 if (fractionals128.isZero()) break;
/openjdk10/jdk/src/java.base/share/classes/java/time/format/
H A DParsed.java570 if (date != null && time != null && excessDays.isZero() == false) {
618 if (excessDays.isZero() == false && periodToSet.isZero() == false && excessDays.equals(periodToSet) == false) {
/openjdk10/jdk/src/java.base/share/classes/java/math/
H A DMutableBigInteger.java194 return toBigInteger(isZero() ? 0 : 1);
483 boolean isZero() { method in class:MutableBigInteger
498 return isZero() ? false : ((value[offset + intLen - 1] & 1) == 1);
708 if (isZero()) {
797 if (addend.isZero()) {
863 if (addend.isZero())
1885 if (this.isZero()) {
2210 if (f.isZero())
H A DBigDecimal.java4646 isRemainderZero = mr.isZero();
4674 isRemainderZero = mr.isZero();
4700 assert !mr.isZero();
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/
H A DKerberosTime.java255 public boolean isZero() { method in class:KerberosTime
/openjdk10/jdk/test/java/time/tck/java/time/
H A DTCKPeriod.java545 // isZero()
549 assertEquals(Period.of(0, 0, 0).isZero(), true);
550 assertEquals(Period.of(1, 2, 3).isZero(), false);
551 assertEquals(Period.of(1, 0, 0).isZero(), false);
552 assertEquals(Period.of(0, 2, 0).isZero(), false);
553 assertEquals(Period.of(0, 0, 3).isZero(), false);
H A DTCKDuration.java897 // isZero(), isPositive(), isPositiveOrZero(), isNegative(), isNegativeOrZero()
901 assertEquals(Duration.ofNanos(0).isZero(), true);
902 assertEquals(Duration.ofSeconds(0).isZero(), true);
903 assertEquals(Duration.ofNanos(1).isZero(), false);
904 assertEquals(Duration.ofSeconds(1).isZero(), false);
905 assertEquals(Duration.ofSeconds(1, 1).isZero(), false);
906 assertEquals(Duration.ofNanos(-1).isZero(), false);
907 assertEquals(Duration.ofSeconds(-1).isZero(), false);
908 assertEquals(Duration.ofSeconds(-1, -1).isZero(), false);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/math/
H A DFloatingDecimal.java1946 boolean isZero = (nDigits == 0);
1947 if ( isZero && nLeadZero == 0 ){
2049 if(isZero) {
/openjdk10/jdk/src/java.base/share/classes/java/time/
H A DPeriod.java485 public boolean isZero() { method in class:Period
H A DDuration.java592 public boolean isZero() { method in class:Duration
H A DLocalDate.java1760 if (step.isZero()) {
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DKDC.java734 } else if (till.isZero()) {
960 } else if (till.isZero()) {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DJavacParser.java722 if (n.floatValue() == 0.0f && !isZero(proper))
741 if (n.doubleValue() == 0.0d && !isZero(proper))
779 boolean isZero(String s) { method in class:JavacParser

Completed in 434 milliseconds

12