Searched refs:isPositive (Results 1 - 25 of 29) sorted by relevance

12

/openjdk10/hotspot/test/compiler/jvmci/compilerToVM/
H A DLookupTypeTest.java98 Asserts.assertFalse(tcase.isPositive,
109 if (tcase.isPositive) {
123 public final boolean isPositive; field in class:LookupTypeTest.TestCase
127 boolean isPositive,
132 this.isPositive = isPositive;
137 boolean isPositive) {
141 this.isPositive = isPositive;
149 accessing, resolve, isPositive, expectedExceptio
126 TestCase(String className, Class<?> accessing, boolean resolve, boolean isPositive, Class<? extends Throwable> expectedException) argument
136 TestCase(String className, Class<?> accessing, boolean resolve, boolean isPositive) argument
[all...]
H A DGetClassInitializerTest.java89 if (tcase.isPositive) {
102 public final boolean isPositive; field in class:GetClassInitializerTest.TestCase
104 public TestCase(Class<?> clazz, boolean isPositive) { argument
106 this.isPositive = isPositive;
112 + ", isPositive=" + isPositive;
H A DGetVtableIndexForInterfaceTest.java144 if (tcase.isPositive || tcase.expectedException == null) {
158 if (tcase.isPositive) {
171 public final boolean isPositive; field in class:GetVtableIndexForInterfaceTest.TestCase
175 boolean isPositive,
180 this.isPositive = isPositive;
185 boolean isPositive) {
186 this(receiver, holder, methodName, isPositive, null);
192 + " isPositive=%s%n", receiver.getName(), holder.getName(),
193 methodName, isPositive);
174 TestCase(Class<?> receiver, Class<?> holder, String methodName, boolean isPositive, Class<? extends Throwable> expectedException) argument
184 TestCase(Class<?> receiver, Class<?> holder, String methodName, boolean isPositive) argument
[all...]
H A DFindUniqueConcreteMethodTest.java114 Asserts.assertEQ(concreteMethod, tcase.isPositive ? testMethod : null,
122 public final boolean isPositive; field in class:FindUniqueConcreteMethodTest.TestCase
124 public TestCase(boolean isPositive, Class<?> clazz, Class<?> holder, argument
128 this.isPositive = isPositive;
132 public TestCase(boolean isPositive, Class<?> clazz, String methodName) { argument
133 this(isPositive, clazz, clazz, methodName);
138 return String.format("CASE: receiver=%s, holder=%s, method=%s, isPositive=%s",
139 receiver.getName(), holder.getName(), methodName, isPositive);
H A DResolveMethodTest.java151 if (tcase.isPositive) {
168 public final boolean isPositive; field in class:ResolveMethodTest.TestCase
171 Class<?> caller, boolean isPositive) {
176 this.isPositive = isPositive;
182 + "caller=%s, isPositive=%s%n", receiver.getName(),
183 holder.getName(), methodName, caller.getName(), isPositive);
170 TestCase(Class<?> recv, Class<?> holder, String methodName, Class<?> caller, boolean isPositive) argument
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDatatypeFactoryImpl.java149 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
156 * @param isPositive Set to <code>false</code> to create a negative duration. When the length
171 * @see #newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days,
175 final boolean isPositive,
184 isPositive,
206 * @param isPositive Set to <code>false</code> to create a negative duration. When the length
219 final boolean isPositive,
224 isPositive,
238 * @param isPositive Set to <code>false</code> to create a negative duration. When the length
250 final boolean isPositive,
174 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
218 newDurationYearMonth( final boolean isPositive, final BigInteger year, final BigInteger month) argument
249 newDurationYearMonth( final boolean isPositive, final int year, final int month) argument
439 newDurationDayTime( final boolean isPositive, final BigInteger day, final BigInteger hour, final BigInteger minute, final BigInteger second) argument
480 newDurationDayTime( final boolean isPositive, final int day, final int hour, final int minute, final int second) argument
[all...]
H A DDurationYearMonthImpl.java59 * @param isPositive Set to <code>false</code> to create a negative duration. When the length
69 boolean isPositive,
73 super(isPositive, years, months, null, null, null, null);
84 * @param isPositive Set to <code>false</code> to create a negative duration. When the length
93 final boolean isPositive,
97 this(isPositive,
68 DurationYearMonthImpl( boolean isPositive, BigInteger years, BigInteger months) argument
92 DurationYearMonthImpl( final boolean isPositive, final int years, final int months) argument
H A DDurationDayTimeImpl.java57 boolean isPositive,
63 super(isPositive, null, null, days, hours, minutes, seconds);
68 boolean isPositive,
75 isPositive,
56 DurationDayTimeImpl( boolean isPositive, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
67 DurationDayTimeImpl( boolean isPositive, int days, int hours, int minutes, int seconds) argument
H A DDurationImpl.java193 * @param isPositive Sign.
196 protected int calcSignum(boolean isPositive) { argument
206 if (isPositive) {
220 * @param isPositive Set to <code>false</code> to create a negative duration. When the length
235 boolean isPositive,
250 this.signum = calcSignum(isPositive);
317 final boolean isPositive,
325 isPositive,
234 DurationImpl( boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
316 DurationImpl( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
/openjdk10/jaxp/src/java.xml/share/classes/javax/xml/datatype/
H A DDatatypeFactory.java285 * specifying the {@code Duration} as isPositive, years, months, days, hours, minutes, seconds.
294 * @param isPositive Set to {@code false} to create a negative duration. When the length
311 final boolean isPositive,
321 * specifying the {@code Duration} as isPositive, years, months, days, hours, minutes, seconds.
325 * @param isPositive Set to {@code false} to create a negative duration. When the length
340 * boolean isPositive,
349 final boolean isPositive,
376 isPositive,
492 * @param isPositive Set to {@code false} to create a negative duration. When the length
508 final boolean isPositive,
310 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
348 newDuration( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
507 newDurationDayTime( final boolean isPositive, final BigInteger day, final BigInteger hour, final BigInteger minute, final BigInteger second) argument
550 newDurationDayTime( final boolean isPositive, final int day, final int hour, final int minute, final int second) argument
692 newDurationYearMonth( final boolean isPositive, final BigInteger year, final BigInteger month) argument
726 newDurationYearMonth( final boolean isPositive, final int year, final int month) argument
[all...]
/openjdk10/hotspot/test/testlibrary_tests/whitebox/vm_flags/
H A DVmFlagTest.java40 private final boolean isPositive; field in class:VmFlagTest
43 Function<String, T> get, boolean isPositive) {
47 this.isPositive = isPositive;
48 if (isPositive) {
81 if (isPositive) {
42 VmFlagTest(String flagName, BiConsumer<String, T> set, Function<String, T> get, boolean isPositive) argument
/openjdk10/jdk/test/javax/naming/ldap/LdapName/
H A DCompareToEqualsTests.java112 isPositive(result) != isPositive(expectedResult)) {
134 static boolean isPositive(int n) { method in class:CompareToEqualsTests
/openjdk10/jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/src/DefaultFactoryWrapperTest/xmlwrapperprovider/xwp/
H A DDatatypeFactoryWrapper.java48 public Duration newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, argument
50 return defaultImpl.newDuration(isPositive, years, months, days, hours, minutes, seconds);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DTypeCheckSnippetUtils.java160 public final boolean[] isPositive; field in class:TypeCheckSnippetUtils.Hints
164 this.isPositive = hintIsPositive;
170 boolean[] isPositive = new boolean[hints.hints.length];
175 isPositive[index] = hints.hints[i].positive;
182 isPositive = Arrays.copyOf(isPositive, index);
184 return new Hints(hubs, isPositive);
H A DInstanceOfSnippets.java295 args.addVarargs("hintIsPositive", boolean.class, StampFactory.forKind(JavaKind.Boolean), hints.isPositive);
311 args.addVarargs("hintIsPositive", boolean.class, StampFactory.forKind(JavaKind.Boolean), hints.isPositive);
/openjdk10/jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/src/xmlprovider2/xp2/
H A DDatatypeFactoryImpl.java47 public Duration newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, argument
/openjdk10/jaxp/test/javax/xml/jaxp/functional/javax/xml/datatype/ptests/
H A DDurationTest.java85 * Test for constructor Duration(boolean isPositive,int years,int months,
89 public void checkNumberDurationPos(boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds) { argument
90 datatypeFactory.newDuration(isPositive, years, months, days, hours, minutes, seconds);
105 * Test for constructor Duration(boolean isPositive,int years,int months,
110 public void checkDurationNumberNeg(boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds) { argument
111 datatypeFactory.newDuration(isPositive, years, months, days, hours, minutes, seconds);
127 * Test for constructor Duration(boolean isPositive,BigInteger
132 public void checkBigIntegerDurationPos(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, argument
134 datatypeFactory.newDuration(isPositive, years, months, days, hours, minutes, seconds);
147 * Test for constructor Duration(boolean isPositive,BigIntege
153 checkBigIntegerDurationNeg(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
403 checkDurationToString(boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds, String lexical) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/
H A DRightShiftNode.java71 if (forX.stamp() instanceof IntegerStamp && ((IntegerStamp) forX.stamp()).isPositive()) {
93 if (istamp.isPositive()) {
H A DSignedRemNode.java67 } else if (c > 0 && CodeUtil.isPowerOf2(c) && forX.stamp() instanceof IntegerStamp && ((IntegerStamp) forX.stamp()).isPositive()) {
/openjdk10/jdk/test/javax/security/auth/login/LoginContext/
H A DLCTest.java76 boolean isPositive = Boolean.parseBoolean(args[1]);
88 if (!isPositive) {
92 if (isPositive) {
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/datatype/
H A DDurationTest.java250 true, // isPositive,
261 false, // isPositive,
274 true, // normalized isPositive,
285 false, // normalized isPositive,
297 newDurationTester(((Boolean) TEST_VALUES[onValue]).booleanValue(), // isPositive,
299 // isPositive,
319 newDurationDayTimeTester(((Boolean) TEST_VALUES[onValue]).booleanValue(), // isPositive,
321 // isPositive,
343 private void newDurationTester(boolean isPositive, boolean normalizedIsPositive, BigInteger years, BigInteger normalizedYears, BigInteger months, argument
358 Duration durationBigInteger = datatypeFactory.newDuration(isPositive, year
380 newDurationDayTimeTester(boolean isPositive, boolean normalizedIsPositive, BigInteger years, BigInteger normalizedYears, BigInteger months, BigInteger normalizedMonths, BigInteger days, BigInteger normalizedDays, BigInteger hours, BigInteger normalizedHours, BigInteger minutes, BigInteger normalizedMinutes, BigDecimal seconds, BigDecimal normalizedSeconds, long durationInMilliSeconds, long normalizedDurationInMilliSeconds, String lexicalRepresentation, String normalizedLexicalRepresentation) argument
418 durationAssertEquals(Duration duration, QName xmlSchemaType, boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds, long milliseconds, String lexical) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DDigitList.java217 * @param isPositive true if this number should be regarded as positive
222 boolean fitsIntoLong(boolean isPositive, boolean ignoreNegativeZero) { argument
237 return isPositive || ignoreNegativeZero;
262 return !isPositive;
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/type/
H A DStampTool.java87 if (y.isPositive()) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/java/
H A DNewArrayNode.java125 if (lengthIntegerStamp.isPositive()) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/
H A DIntegerStamp.java266 public boolean isPositive() { method in class:IntegerStamp
433 return s1.isPositive() && s2.isPositive() || s1.isStrictlyNegative() && s2.isStrictlyNegative();

Completed in 376 milliseconds

12