/openjdk9/hotspot/test/compiler/intrinsics/sha/cli/testcases/ |
H A D | GenericTestCaseForUnsupportedSparcCPU.java | 30 import jdk.test.lib.cli.predicate.AndPredicate; 31 import jdk.test.lib.cli.predicate.NotPredicate;
|
H A D | GenericTestCaseForOtherCPU.java | 30 import jdk.test.lib.cli.predicate.NotPredicate; 31 import jdk.test.lib.cli.predicate.OrPredicate;
|
H A D | GenericTestCaseForUnsupportedAArch64CPU.java | 30 import jdk.test.lib.cli.predicate.AndPredicate; 31 import jdk.test.lib.cli.predicate.NotPredicate;
|
H A D | GenericTestCaseForSupportedCPU.java | 30 import jdk.test.lib.cli.predicate.AndPredicate; 31 import jdk.test.lib.cli.predicate.OrPredicate;
|
/openjdk9/hotspot/test/compiler/uncommontrap/ |
H A D | TestUnstableIfTrap.java | 125 TestCaseName(boolean predicate, String comment) { argument 126 this.predicate = predicate; 130 public final boolean predicate; field in class:TestUnstableIfTrap.TestCaseName 155 testMethod.invoke(null, testCase.predicate); 170 testMethod.invoke(null, !testCase.predicate);
|
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/ |
H A D | Step.java | 166 * Returns 'true' if this step is used within a predicate 361 * Translate a sequence of predicates. Each predicate is translated 364 * a filter and a closure (call to translate on the predicate) and "this". 378 final Predicate predicate = (Predicate) _predicates.get(predicateIndex--); 387 if (predicate.isNodeValueTest()) { 388 Step step = predicate.getStep(); 391 // If the predicate's Step is simply '.' we translate this Step 411 predicate.translate(classGen, methodGen); 418 else if (predicate.isNthDescendant()) { 421 il.append(new PUSH(cpg, predicate [all...] |
H A D | FilterExpr.java | 145 * Translate a sequence of predicates. Each predicate is translated 148 * filter and a closure (call to translate on the predicate) and "this". 161 // Get the next predicate to be translated 162 Predicate predicate = (Predicate) _predicates.get(predicateIndex--); 167 if (predicate.isNthPositionFilter()) { 190 predicate.translate(classGen, methodGen); 230 predicate.translate(classGen, methodGen);
|
/openjdk9/jdk/test/java/net/httpclient/websocket/jdk.incubator.httpclient/jdk/incubator/http/internal/websocket/ |
H A D | TestSupport.java | 192 // Predicate<? super T> predicate) { 218 // if (predicate.test(n)) { 392 if (!next.predicate.apply(args)) { 395 "Invocation doesn't match the predicate: " 406 final F<Boolean> predicate; field in class:TestSupport.InvocationExpectation 408 InvocationExpectation(String name, F<Boolean> predicate) { argument 410 this.predicate = requireNonNull(predicate); 457 static Throwable assertThrows(Predicate<? super Throwable> predicate, argument 459 requireNonNull(predicate, "predicat 494 ifExpect(boolean condition, Predicate<? super Throwable> predicate) argument 499 orExpect(boolean condition, Predicate<? super Throwable> predicate) argument 504 addPredicate(Expectation e, boolean condition, Predicate<? super Throwable> predicate) argument [all...] |
H A D | MockChannel.java | 288 Builder expectPing(F1<? super ByteBuffer, Boolean> predicate) { argument 290 args -> predicate.apply((ByteBuffer) args[0])); 295 Builder expectPong(F1<? super ByteBuffer, Boolean> predicate) { argument 297 args -> predicate.apply((ByteBuffer) args[0])); 302 Builder expectClose(F2<? super Integer, ? super String, Boolean> predicate) { argument 304 args -> predicate.apply((Integer) args[0], (String) args[1]));
|
/openjdk9/jdk/src/java.base/share/classes/java/util/stream/ |
H A D | DoublePipeline.java | 299 public final DoubleStream filter(DoublePredicate predicate) { argument 300 Objects.requireNonNull(predicate); 313 if (predicate.test(t)) 361 public final DoubleStream takeWhile(DoublePredicate predicate) { argument 362 return WhileOps.makeTakeWhileDouble(this, predicate); 366 public final DoubleStream dropWhile(DoublePredicate predicate) { argument 367 return WhileOps.makeDropWhileDouble(this, predicate); 497 public final boolean anyMatch(DoublePredicate predicate) { argument 498 return evaluate(MatchOps.makeDouble(predicate, MatchOps.MatchKind.ANY)); 502 public final boolean allMatch(DoublePredicate predicate) { argument 507 noneMatch(DoublePredicate predicate) argument [all...] |
H A D | IntPipeline.java | 332 public final IntStream filter(IntPredicate predicate) { argument 333 Objects.requireNonNull(predicate); 346 if (predicate.test(t)) 392 public final IntStream takeWhile(IntPredicate predicate) { argument 393 return WhileOps.makeTakeWhileInt(this, predicate); 397 public final IntStream dropWhile(IntPredicate predicate) { argument 398 return WhileOps.makeDropWhileInt(this, predicate); 490 public final boolean anyMatch(IntPredicate predicate) { argument 491 return evaluate(MatchOps.makeInt(predicate, MatchOps.MatchKind.ANY)); 495 public final boolean allMatch(IntPredicate predicate) { argument 500 noneMatch(IntPredicate predicate) argument [all...] |
H A D | LongPipeline.java | 314 public final LongStream filter(LongPredicate predicate) { argument 315 Objects.requireNonNull(predicate); 328 if (predicate.test(t)) 374 public final LongStream takeWhile(LongPredicate predicate) { argument 375 return WhileOps.makeTakeWhileLong(this, predicate); 379 public final LongStream dropWhile(LongPredicate predicate) { argument 380 return WhileOps.makeDropWhileLong(this, predicate); 473 public final boolean anyMatch(LongPredicate predicate) { argument 474 return evaluate(MatchOps.makeLong(predicate, MatchOps.MatchKind.ANY)); 478 public final boolean allMatch(LongPredicate predicate) { argument 483 noneMatch(LongPredicate predicate) argument [all...] |
H A D | ReferencePipeline.java | 162 public final Stream<P_OUT> filter(Predicate<? super P_OUT> predicate) { argument 163 Objects.requireNonNull(predicate); 176 if (predicate.test(u)) 417 public final Stream<P_OUT> takeWhile(Predicate<? super P_OUT> predicate) { argument 418 return WhileOps.makeTakeWhileRef(this, predicate); 422 public final Stream<P_OUT> dropWhile(Predicate<? super P_OUT> predicate) { argument 423 return WhileOps.makeDropWhileRef(this, predicate); 460 public final boolean anyMatch(Predicate<? super P_OUT> predicate) { argument 461 return evaluate(MatchOps.makeRef(predicate, MatchOps.MatchKind.ANY)); 465 public final boolean allMatch(Predicate<? super P_OUT> predicate) { argument 470 noneMatch(Predicate<? super P_OUT> predicate) argument [all...] |
/openjdk9/hotspot/src/share/vm/opto/ |
H A D | loopUnswitch.cpp | 37 // predicate predicate 44 // endif predicate [clone] 140 Node* predicate = find_predicate(entry); local 141 if (predicate != NULL && UseLoopPredicate) { 144 if (entry != NULL) predicate = entry; 146 if (predicate != NULL) predicate = predicate->in(0); 148 (predicate [all...] |
/openjdk9/jdk/src/java.base/share/classes/java/util/ |
H A D | Optional.java | 200 * If a value is present, and the value matches the given predicate, 204 * @param predicate the predicate to apply to a value, if present 207 * given predicate, otherwise an empty {@code Optional} 208 * @throws NullPointerException if the predicate is {@code null} 210 public Optional<T> filter(Predicate<? super T> predicate) { argument 211 Objects.requireNonNull(predicate); 215 return predicate.test(value) ? this : empty();
|
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/scd/ |
H A D | Step.java | 47 * 'Predicate' in SCD designates the index of the item. -1 if there's no predicate. 54 int predicate = -1; field in class:Step 80 if(predicate>=0) { 82 for( int i=predicate; i>0; i-- ) {
|
/openjdk9/jdk/test/javax/swing/JColorChooser/ |
H A D | Test8051548.java | 210 Predicate<Component> predicate) { 212 if (predicate.test(component)) { 220 predicate); 209 findComponent(Component component, Predicate<Component> predicate) argument
|
/openjdk9/hotspot/test/compiler/cpuflags/ |
H A D | TestAESIntrinsicsOnUnsupportedConfig.java | 42 import jdk.test.lib.cli.predicate.NotPredicate;
|
/openjdk9/jdk/test/sanity/client/SwingSet/src/ |
H A D | SliderDemoTest.java | 185 Predicate<JSliderOperator> predicate) { 187 waitSliderValue(jso, predicate); 191 Predicate<JSliderOperator> predicate) { 194 return predicate.test(jso); 184 checkKeyPress(JSliderOperator jso, int keyCode, Predicate<JSliderOperator> predicate) argument 190 waitSliderValue(JSliderOperator jso, Predicate<JSliderOperator> predicate) argument
|
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ |
H A D | StringSharingPlugin.java | 336 private Predicate<String> predicate; field in class:StringSharingPlugin 342 StringSharingPlugin(Predicate<String> predicate) { argument 343 this.predicate = predicate; 356 if (predicate.test(resource.path()) && resource.path().endsWith(".class")) { 395 predicate = ResourceFilter.includeFilter(config.get(NAME)); 403 && resource.path().endsWith(".class") && predicate.test(resource.path())) {
|
/openjdk9/test/lib/jdk/test/lib/cli/ |
H A D | CommandLineOptionTest.java | 520 private final BooleanSupplier predicate; field in class:CommandLineOptionTest 524 * predicate {@code predicate} return {@code true}. 525 * @param predicate a predicate responsible for test's preconditions check. 527 public CommandLineOptionTest(BooleanSupplier predicate) { argument 528 this.predicate = predicate; 535 if (predicate.getAsBoolean()) {
|
/openjdk9/hotspot/test/compiler/rtm/cli/ |
H A D | RTMGenericCommandLineOptionTest.java | 69 * @param predicate predicate responsible for test's preconditions check 76 public RTMGenericCommandLineOptionTest(BooleanSupplier predicate, argument 79 super(predicate);
|
/openjdk9/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | Custom.java | 110 static void spinWaitUntil(BooleanSupplier predicate, long timeoutMillis) { argument 112 while (!predicate.getAsBoolean()) {
|
/openjdk9/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/ |
H A D | ZeroCoreThreads.java | 60 static void spinWaitUntil(BooleanSupplier predicate, long timeoutMillis) { argument 62 while (!predicate.getAsBoolean()) {
|
/openjdk9/test/fmw/gtest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|