/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8011023.js | 31 print(1/Math.round(-0.5)); 32 print(Math.round(9007199254740991)); 33 print(Math.round(9223372036854775807*2));
|
/openjdk10/langtools/test/tools/javac/processing/warnings/UseImplicit/ |
H A D | TestProcUseImplicitWarning.java | 46 int round = 0; field in class:TestProcUseImplicitWarning 50 round++; 52 if (round == 1) {
|
/openjdk10/jdk/test/java/lang/Math/ |
H A D | RoundTests.java | 27 * @summary Check for correct implementation of {Math, StrictMath}.round 39 System.err.println("Testing {Math, StrictMath}.round incurred " 67 failures += Tests.test("Math.round", input, Math.round(input), expected); 68 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expected); 95 failures += Tests.test("Math.round", input, Math.round(input), expected); 96 failures += Tests.test("StrictMath.round", input, StrictMath.round(inpu [all...] |
/openjdk10/hotspot/test/compiler/floatingpoint/ |
H A D | TestRound.java | 27 * @summary calling Math.round(NaN) can break subsequent calls to Math.round() 37 // of Math.round() without any other command-line flags. 41 Math.round(Double.NaN); 43 if (Math.round(1d) != 1) {
|
/openjdk10/langtools/test/tools/javac/processing/werror/ |
H A D | WError1.java | 47 if (++round == 1) { 48 messager.printMessage(Diagnostic.Kind.WARNING, "round 1"); 53 int round = 0; field in class:WError1
|
H A D | WErrorGen.java | 47 if (++round == 1) { 59 int round = 0; field in class:WErrorGen
|
/openjdk10/langtools/test/tools/javac/processing/6994946/ |
H A D | TestProcessor.java | 31 private int round = 0; field in class:TestProcessor 35 if (++round == 1)
|
/openjdk10/langtools/test/tools/javac/processing/options/testPrintProcessorInfo/ |
H A D | Test.java | 45 int round = 0; field in class:Test 49 round++; 50 messager.printMessage(Diagnostic.Kind.NOTE, "round " + round); 51 if (round <= MAX_ROUNDS) 52 generateSource("Gen" + round); 54 messager.printMessage(Diagnostic.Kind.WARNING, "last round");
|
/openjdk10/langtools/test/tools/javac/processing/model/util/directSupersOfErr/ |
H A D | DirectSupersOfErr.java | 45 RoundEnvironment round) { 46 if (round.processingOver()) return true; 48 for (TypeElement te : typesIn(round.getRootElements())) { 44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
|
/openjdk10/langtools/test/tools/javac/processing/model/util/ |
H A D | NoSupers.java | 44 RoundEnvironment round) { 45 if (round.processingOver()) return true; 43 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
|
H A D | BinaryName.java | 47 RoundEnvironment round) { 48 if (round.processingOver()) return true; 50 Set<? extends TypeElement> ts = typesIn(round.getElementsAnnotatedWith( 46 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
|
H A D | DirectSuperOfInt.java | 45 RoundEnvironment round) { 46 if (round.processingOver()) 50 for (TypeElement te : typesIn(round.getRootElements())) { 44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
|
H A D | GetTypeElemBadArg.java | 45 RoundEnvironment round) { 46 if (round.processingOver()) return true; 44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
|
/openjdk10/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/ |
H A D | OverEager.java | 49 RoundEnvironment round) { 50 if (!round.processingOver()) 51 doit(annoTypes, round); 56 RoundEnvironment round) { 57 for (TypeElement t : typesIn(round.getRootElements())) { 48 process(Set<? extends TypeElement> annoTypes, RoundEnvironment round) argument 55 doit(Set<? extends TypeElement> annoTypes, RoundEnvironment round) argument
|
/openjdk10/langtools/test/tools/javac/diags/examples/ProcTypeRecreate/processors/ |
H A D | AnnoProc.java | 34 round++; 35 if (round <= 2) { 54 int round; field in class:AnnoProc
|
/openjdk10/langtools/test/tools/javac/processing/ |
H A D | TestWarnErrorCount.java | 69 boolean warn(int round) { return false; } 72 /** Generate a warning if round count is a multiple of 2. */ 74 boolean warn(int round) { return (round % 2) == 0; } 77 /** Generate a warning if round count is a multiple of 3. */ 79 boolean warn(int round) { return (round % 3) == 0; } 82 /** Generate a warning every round. */ 84 boolean warn(int round) { return true; } 88 /** whether to generate a warning in round 'roun 89 warn(int round) argument 294 int round = 0; field in class:TestWarnErrorCount [all...] |
/openjdk10/langtools/test/tools/javac/options/ |
H A D | T7022337.java | 81 int round = 0; field in class:T7022337 85 round++; 88 if (round < MAXROUNDS) 89 generate("Gen" + round);
|
/openjdk10/langtools/test/tools/javac/processing/environment/round/ |
H A D | TestContext.java | 27 * @summary A new JavacElements is created for each round of annotation processing 53 int round = 0; field in class:TestContext 63 round++; 72 if (round < MAXROUNDS) 73 generateSource("Gen" + round); 84 "round " + round + " unexpected value for " + expected.getClass().getName() + ": " + actual);
|
/openjdk10/langtools/test/tools/javac/processing/filer/ |
H A D | TestPackageInfo.java | 57 private int round = 0; field in class:TestPackageInfo 61 round++; 68 System.out.println("\nRound " + round); 76 switch (round) { 119 throw new RuntimeException("Unexpected round number " + round);
|
/openjdk10/langtools/test/tools/javac/diags/examples/ProcSuspiciousClassName/processors/ |
H A D | AnnoProc.java | 34 if (++round == 1) { 57 int round = 0; field in class:AnnoProc
|
/openjdk10/langtools/test/tools/javac/diags/examples/ProcIllegalFileName/processors/ |
H A D | AnnoProc.java | 34 if (++round == 1) { 54 int round = 0; field in class:AnnoProc
|
/openjdk10/langtools/test/tools/javac/diags/examples/ProcFileReopening/processors/ |
H A D | AnnoProc.java | 34 if (++round == 1) { 56 int round = 0; field in class:AnnoProc
|
/openjdk10/langtools/test/tools/javac/processing/rounds/ |
H A D | ClassDependingOnGenerated.java | 45 int round = 1; field in class:ClassDependingOnGenerated 54 if (round++ == 1) {
|
/openjdk10/langtools/test/tools/javac/diags/examples/ProcUseProcOrImplicit/processors/ |
H A D | AnnoProc.java | 34 if ((++round) == 1) { 53 int round; field in class:AnnoProc
|
/openjdk10/langtools/test/tools/javac/diags/examples/ProcUseImplicit/processors/ |
H A D | AnnoProc.java | 34 if ((++round) == 1) { 53 int round; field in class:AnnoProc
|