Searched refs:round (Results 1 - 25 of 120) sorted by relevance

12345

/openjdk7/langtools/test/tools/javac/processing/warnings/UseImplicit/
H A DTestProcUseImplicitWarning.java44 int round = 0; field in class:TestProcUseImplicitWarning
48 round++;
50 if (round == 1) {
/openjdk7/langtools/test/tools/apt/Compile/
H A DClassDeclApf.java43 static int round = -1; field in class:ClassDeclApf
86 round++;
89 if (round == 0) {
93 throw new RuntimeException("Got " + size + " decl's in round " + round);
97 if (round == 1) {
104 throw new RuntimeException("Got " + size + " decl's in round " + round);
107 if (round != 2) {
108 throw new RuntimeException("Got " + size + " decl's in round "
[all...]
H A DStaticApf.java41 static int round = -1; field in class:StaticApf
73 round++;
76 if (round == 0) {
79 throw new RuntimeException("Got " + size + " decl's in round " + round);
83 if (round == 1) {
88 throw new RuntimeException("Got " + size + " decl's in round " + round);
91 if (round != 2) {
92 throw new RuntimeException("Got " + size + " decl's in round "
[all...]
H A DClassDeclApf2.java43 static int round = -1; field in class:ClassDeclApf2
86 round++;
89 if (round == 0) {
93 throw new RuntimeException("Got " + size + " decl's in round " + round);
97 if (round == 1) {
104 throw new RuntimeException("Got " + size + " decl's in round " + round);
108 if (round != 2) {
109 throw new RuntimeException("Got " + size + " decl's in round "
[all...]
H A DRound4Apf.java56 private static int round = 0; field in class:Round4Apf
74 Round4Apf.round++;
82 System.out.println("Round4Apf: " + round);
91 System.out.println("Round4Apf: " + round + " complete");
/openjdk7/langtools/test/tools/javac/processing/6994946/
H A DTestProcessor.java31 private int round = 0; field in class:TestProcessor
35 if (++round == 1)
/openjdk7/langtools/test/tools/javac/processing/werror/
H A DWError1.java45 if (++round == 1) {
46 messager.printMessage(Diagnostic.Kind.WARNING, "round 1");
51 int round = 0; field in class:WError1
H A DWErrorGen.java45 if (++round == 1) {
57 int round = 0; field in class:WErrorGen
/openjdk7/langtools/test/tools/javac/processing/options/testPrintProcessorInfo/
H A DTest.java43 int round = 0; field in class:Test
47 round++;
48 messager.printMessage(Diagnostic.Kind.NOTE, "round " + round);
49 if (round <= MAX_ROUNDS)
50 generateSource("Gen" + round);
52 messager.printMessage(Diagnostic.Kind.WARNING, "last round");
/openjdk7/langtools/test/tools/javac/processing/model/util/directSupersOfErr/
H A DDirectSupersOfErr.java43 RoundEnvironment round) {
44 if (round.processingOver()) return true;
46 for (TypeElement te : typesIn(round.getRootElements())) {
42 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
/openjdk7/langtools/test/tools/javac/processing/model/util/
H A DNoSupers.java42 RoundEnvironment round) {
43 if (round.processingOver()) return true;
41 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
H A DBinaryName.java45 RoundEnvironment round) {
46 if (round.processingOver()) return true;
48 Set<? extends TypeElement> ts = typesIn(round.getElementsAnnotatedWith(
44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
/openjdk7/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/
H A DOverEager.java47 RoundEnvironment round) {
48 if (!round.processingOver())
49 doit(annoTypes, round);
54 RoundEnvironment round) {
55 for (TypeElement t : typesIn(round.getRootElements())) {
46 process(Set<? extends TypeElement> annoTypes, RoundEnvironment round) argument
53 doit(Set<? extends TypeElement> annoTypes, RoundEnvironment round) argument
/openjdk7/langtools/test/tools/javac/diags/examples/ProcTypeRecreate/processors/
H A DAnnoProc.java34 round++;
35 if (round <= 2) {
54 int round; field in class:AnnoProc
/openjdk7/langtools/test/tools/javac/processing/
H A DTestWarnErrorCount.java69 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...]
/openjdk7/jdk/test/java/lang/Math/
H A DRoundTests.java27 * @summary Check for correct implementation of {Math, StrictMath}.round
37 System.err.println("Testing {Math, StrictMath}.round incurred "
65 failures += Tests.test("Math.round", input, Math.round(input), expected);
66 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expected);
93 failures += Tests.test("Math.round", input, Math.round(input), expected);
94 failures += Tests.test("StrictMath.round", input, StrictMath.round(inpu
[all...]
/openjdk7/langtools/test/tools/javac/options/
H A DT7022337.java81 int round = 0; field in class:T7022337
85 round++;
88 if (round < MAXROUNDS)
89 generate("Gen" + round);
/openjdk7/langtools/test/tools/javac/processing/errors/
H A DTestFatalityOfParseErrors.java48 * Write out an incomplete source file and observe that the next round
52 int round = 0; field in class:TestFatalityOfParseErrors
58 round++;
60 switch (round) {
74 throw new RuntimeException("Second round not erroneous as expected.");
83 throw new RuntimeException("Unexpected round number " + round);
/openjdk7/langtools/test/tools/javac/processing/environment/round/
H A DTestContext.java27 * @summary A new JavacElements is created for each round of annotation processing
49 int round = 0; field in class:TestContext
59 round++;
68 if (round < MAXROUNDS)
69 generateSource("Gen" + round);
80 "round " + round + " unexpected value for " + expected.getClass().getName() + ": " + actual);
/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestPackageInfo.java55 private int round = 0; field in class:TestPackageInfo
59 round++;
66 System.out.println("\nRound " + round);
74 switch (round) {
117 throw new RuntimeException("Unexpected round number " + round);
/openjdk7/langtools/test/tools/javac/diags/examples/ProcFileReopening/processors/
H A DAnnoProc.java34 if (++round == 1) {
56 int round = 0; field in class:AnnoProc
/openjdk7/langtools/test/tools/javac/diags/examples/ProcIllegalFileName/processors/
H A DAnnoProc.java34 if (++round == 1) {
54 int round = 0; field in class:AnnoProc
/openjdk7/langtools/test/tools/javac/diags/examples/ProcSuspiciousClassName/processors/
H A DAnnoProc.java34 if (++round == 1) {
57 int round = 0; field in class:AnnoProc
/openjdk7/langtools/test/tools/javac/diags/examples/ProcUseImplicit/processors/
H A DAnnoProc.java34 if ((++round) == 1) {
53 int round; field in class:AnnoProc
/openjdk7/langtools/test/tools/javac/diags/examples/ProcUseProcOrImplicit/processors/
H A DAnnoProc.java34 if ((++round) == 1) {
53 int round; field in class:AnnoProc

Completed in 40 milliseconds

12345